summaryrefslogtreecommitdiffstats
path: root/src/broadcom
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2018-12-15 22:59:23 -0800
committerEric Anholt <[email protected]>2018-12-17 09:52:23 -0800
commit00e2cbc049985c0f17511d28495e119f2718abc6 (patch)
tree78162b540040a9467a56763c71dc91cba8f5f67f /src/broadcom
parent376054fff34a5b2d2c123bdc5d27af6196ef0f51 (diff)
v3d: Fix the argument type for vir_BRANCH().
Apparently this has been spewing warnings for Jason's clang, but not my gcc.
Diffstat (limited to 'src/broadcom')
-rw-r--r--src/broadcom/compiler/v3d_compiler.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/broadcom/compiler/v3d_compiler.h b/src/broadcom/compiler/v3d_compiler.h
index 3a2b9db1153..797c687186e 100644
--- a/src/broadcom/compiler/v3d_compiler.h
+++ b/src/broadcom/compiler/v3d_compiler.h
@@ -1078,7 +1078,7 @@ vir_LOAD_IMM_I2(struct v3d_compile *c, uint32_t val)
*/
static inline struct qinst *
-vir_BRANCH(struct v3d_compile *c, enum v3d_qpu_cond cond)
+vir_BRANCH(struct v3d_compile *c, enum v3d_qpu_branch_cond cond)
{
/* The actual uniform_data value will be set at scheduling time */
return vir_emit_nondef(c, vir_branch_inst(cond, vir_uniform_ui(c, 0)));