summaryrefslogtreecommitdiff
path: root/assembler/brw_compat.h
diff options
context:
space:
mode:
authorDamien Lespiau <damien.lespiau@intel.com>2013-01-19 23:27:46 +0000
committerDamien Lespiau <damien.lespiau@intel.com>2013-03-04 15:54:37 +0000
commit042e9353e98610dd403a37c1f012148c11f5d23a (patch)
tree9411325998f0ecc35b07fd02450acd649eb48431 /assembler/brw_compat.h
parent7902f2c08ce1cbe591f3ce43621d42d42a44bdf9 (diff)
assembler: Import brw_eu_emit.c
Finally importing the meaty brw_eu_emit.c code that emit instructions. Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Diffstat (limited to 'assembler/brw_compat.h')
-rw-r--r--assembler/brw_compat.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/assembler/brw_compat.h b/assembler/brw_compat.h
index 5102a02c..4bf7f31d 100644
--- a/assembler/brw_compat.h
+++ b/assembler/brw_compat.h
@@ -58,6 +58,7 @@ extern "C" {
#endif
#define ARRAY_SIZE(x) (sizeof(x) / sizeof(x[0]))
+#define Elements(x) ARRAY_SIZE(x)
#ifdef __cplusplus
} /* end of extern "C" */