summaryrefslogtreecommitdiff
path: root/lib/rendercopy_gen8.c
diff options
context:
space:
mode:
authorTvrtko Ursulin <tvrtko.ursulin@intel.com>2014-04-23 16:07:55 +0100
committerThomas Wood <thomas.wood@intel.com>2014-04-24 13:49:19 +0100
commitdc14bf455d66a0a31253ac4fa3e024eb1e036968 (patch)
treefb1eacc61003444b2b96a49e0b578f0da790a8ed /lib/rendercopy_gen8.c
parente32664c8ee47d8eb01955240672a198aab7e2969 (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_gen8.c')
-rw-r--r--lib/rendercopy_gen8.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/rendercopy_gen8.c b/lib/rendercopy_gen8.c
index e8463766..6f5a6980 100644
--- a/lib/rendercopy_gen8.c
+++ b/lib/rendercopy_gen8.c
@@ -25,7 +25,6 @@
#include <intel_aub.h>
-#define ALIGN(x, y) (((x) + (y)-1) & ~((y)-1))
#define VERTEX_SIZE (3*4)
#if DEBUG_RENDERCPY