diff options
author | Tvrtko Ursulin <tvrtko.ursulin@intel.com> | 2014-04-23 16:07:55 +0100 |
---|---|---|
committer | Thomas Wood <thomas.wood@intel.com> | 2014-04-24 13:49:19 +0100 |
commit | dc14bf455d66a0a31253ac4fa3e024eb1e036968 (patch) | |
tree | fb1eacc61003444b2b96a49e0b578f0da790a8ed /lib/rendercopy_gen7.c | |
parent | e32664c8ee47d8eb01955240672a198aab7e2969 (diff) |
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>
Diffstat (limited to 'lib/rendercopy_gen7.c')
-rw-r--r-- | lib/rendercopy_gen7.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/rendercopy_gen7.c b/lib/rendercopy_gen7.c index cdbc70c1..5131d8f8 100644 --- a/lib/rendercopy_gen7.c +++ b/lib/rendercopy_gen7.c @@ -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 }, |