diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/vc4/vc4_qpu_defines.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gallium/drivers/vc4/vc4_qpu_defines.h b/src/gallium/drivers/vc4/vc4_qpu_defines.h index f7ad01c6163..0715df25b2d 100644 --- a/src/gallium/drivers/vc4/vc4_qpu_defines.h +++ b/src/gallium/drivers/vc4/vc4_qpu_defines.h @@ -25,8 +25,7 @@ #define VC4_QPU_DEFINES_H #include <assert.h> - -#define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0])) +#include <util/macros.h> enum qpu_op_add { QPU_A_NOP, |