diff options
author | Eric Anholt <[email protected]> | 2018-01-03 12:42:13 -0800 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2018-01-12 21:51:47 -0800 |
commit | 2c48ce74f7b8ac9a2a47f6f8db7fe9b1639e3755 (patch) | |
tree | 2a5d05c5859f1980483260b267376330e83c99b0 /src/gallium/drivers/vc5/vc5_state.c | |
parent | fb4face86ad9f58ea0410c3633fda211836b7df5 (diff) |
broadcom/vc5: Convert vc5_cl.h to use the V3DX() macros.
To conditionally compile cl_emit() macros per V3D version, we need it to
expand to whatever V3D we're building for. This required emitting #define
V3D_VERSION 33 in all our currently 3.3-only code.
Diffstat (limited to 'src/gallium/drivers/vc5/vc5_state.c')
-rw-r--r-- | src/gallium/drivers/vc5/vc5_state.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gallium/drivers/vc5/vc5_state.c b/src/gallium/drivers/vc5/vc5_state.c index 0d6699ae57b..19e82c6c7d9 100644 --- a/src/gallium/drivers/vc5/vc5_state.c +++ b/src/gallium/drivers/vc5/vc5_state.c @@ -31,7 +31,9 @@ #include "util/u_helpers.h" #include "vc5_context.h" -#include "broadcom/cle/v3d_packet_v33_pack.h" +#define V3D_VERSION 33 +#include "broadcom/common/v3d_macros.h" +#include "broadcom/cle/v3dx_pack.h" static void * vc5_generic_cso_state_create(const void *src, uint32_t size) |