Module: Mesa
Branch: master
Commit: daaa9d579de4e776d8a6e9efafbbb587269a33db
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=daaa9d579de4e776d8a6e9efafbbb587269a33db

Author: Eric Anholt <[email protected]>
Date:   Thu May  5 19:19:39 2016 -0700

vc4: Fix the src count on exp2/log2.

Found by the upcoming QIR validate pass.

---

 src/gallium/drivers/vc4/vc4_qir.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/gallium/drivers/vc4/vc4_qir.c 
b/src/gallium/drivers/vc4/vc4_qir.c
index faf5280..4b185be 100644
--- 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 },

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to