diff options
author | Damien Lespiau <damien.lespiau@intel.com> | 2013-01-19 23:27:46 +0000 |
---|---|---|
committer | Damien Lespiau <damien.lespiau@intel.com> | 2013-03-04 15:54:37 +0000 |
commit | 042e9353e98610dd403a37c1f012148c11f5d23a (patch) | |
tree | 9411325998f0ecc35b07fd02450acd649eb48431 /assembler/brw_compat.h | |
parent | 7902f2c08ce1cbe591f3ce43621d42d42a44bdf9 (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.h | 1 |
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" */ |