mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-21 21:32:56 +00:00
tests: Extract ALIGN macro into a common header
Makes for a little bit less code duplication, especially since it will be used from more callers in the future. Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Reviewed-by: Brad Volkin <bradley.d.volkin@intel.com> Signed-off-by: Thomas Wood <thomas.wood@intel.com>
This commit is contained in:
committed by
Thomas Wood
parent
e32664c8ee
commit
dc14bf455d
@@ -21,7 +21,6 @@
|
||||
#include "gen7_render.h"
|
||||
#include "intel_reg.h"
|
||||
|
||||
#define ALIGN(x, y) (((x) + (y)-1) & ~((y)-1))
|
||||
|
||||
static const uint32_t ps_kernel[][4] = {
|
||||
{ 0x0080005a, 0x2e2077bd, 0x000000c0, 0x008d0040 },
|
||||
|
||||
Reference in New Issue
Block a user