projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
376054f
)
v3d: Fix the argument type for vir_BRANCH().
author
Eric Anholt
<eric@anholt.net>
Sun, 16 Dec 2018 06:59:23 +0000
(22:59 -0800)
committer
Eric Anholt
<eric@anholt.net>
Mon, 17 Dec 2018 17:52:23 +0000
(09:52 -0800)
Apparently this has been spewing warnings for Jason's clang, but not my
gcc.
src/broadcom/compiler/v3d_compiler.h
patch
|
blob
|
history
diff --git
a/src/broadcom/compiler/v3d_compiler.h
b/src/broadcom/compiler/v3d_compiler.h
index 3a2b9db115307f5483fb61771405881d47795e16..797c687186e096f9cc9f17ff40e060f46b07d6e1 100644
(file)
--- 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)));