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_rcl.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_rcl.c')
-rw-r--r-- | src/gallium/drivers/vc5/vc5_rcl.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gallium/drivers/vc5/vc5_rcl.c b/src/gallium/drivers/vc5/vc5_rcl.c index f113d27961b..659b8392705 100644 --- a/src/gallium/drivers/vc5/vc5_rcl.c +++ b/src/gallium/drivers/vc5/vc5_rcl.c @@ -24,7 +24,9 @@ #include "util/u_format.h" #include "vc5_context.h" #include "vc5_tiling.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 load_raw(struct vc5_cl *cl, struct pipe_surface *psurf, int buffer) |