v3d: Fix the argument type for vir_BRANCH().

Apparently this has been spewing warnings for Jason's clang, but not my
gcc.
This commit is contained in:
Eric Anholt 2018-12-15 22:59:23 -08:00
parent 376054fff3
commit 00e2cbc049
1 changed files with 1 additions and 1 deletions

View File

@ -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)));