projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d36b284
)
vc4: Fix the src count on exp2/log2.
author
Eric Anholt
<eric@anholt.net>
Fri, 6 May 2016 02:19:39 +0000
(19:19 -0700)
committer
Eric Anholt
<eric@anholt.net>
Fri, 6 May 2016 17:25:55 +0000
(10:25 -0700)
Found by the upcoming QIR validate pass.
src/gallium/drivers/vc4/vc4_qir.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/vc4/vc4_qir.c
b/src/gallium/drivers/vc4/vc4_qir.c
index faf5280103ee7e50cfa20d60fca8eb4fc2cef5cf..4b185be0b6502dcf1fa14cfac61f971ca69fee5e 100644
(file)
--- a/
src/gallium/drivers/vc4/vc4_qir.c
+++ b/
src/gallium/drivers/vc4/vc4_qir.c
@@
-66,8
+66,8
@@
static const struct qir_op_info qir_op_info[] = {
[QOP_RCP] = { "rcp", 1, 1 },
[QOP_RSQ] = { "rsq", 1, 1 },
- [QOP_EXP2] = { "exp2", 1,
2
},
- [QOP_LOG2] = { "log2", 1,
2
},
+ [QOP_EXP2] = { "exp2", 1,
1
},
+ [QOP_LOG2] = { "log2", 1,
1
},
[QOP_TLB_COLOR_READ] = { "tlb_color_read", 1, 0 },
[QOP_MS_MASK] = { "ms_mask", 0, 1, true },
[QOP_VARY_ADD_C] = { "vary_add_c", 1, 1 },