projects
/
platform
/
upstream
/
intel-gpu-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
assembler: Import brw_eu_compact.c
[platform/upstream/intel-gpu-tools.git]
/
assembler
/
brw_compat.h
diff --git
a/assembler/brw_compat.h
b/assembler/brw_compat.h
index
9300190
..
5102a02
100644
(file)
--- a/
assembler/brw_compat.h
+++ b/
assembler/brw_compat.h
@@
-57,6
+57,8
@@
extern "C" {
#define PRINTFLIKE(f, a)
#endif
#define PRINTFLIKE(f, a)
#endif
+#define ARRAY_SIZE(x) (sizeof(x) / sizeof(x[0]))
+
#ifdef __cplusplus
} /* end of extern "C" */
#endif
#ifdef __cplusplus
} /* end of extern "C" */
#endif