mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-31 12:00:12 +01:00
vc4: Reuse the util header instead of defining our own ARRAY_SIZE.
Fixes redefinition warnings if you end up including this header before util stuff.
This commit is contained in:
parent
418da97905
commit
50292d76c5
1 changed files with 1 additions and 2 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue