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

Author: Eric Anholt <e...@anholt.net>
Date:   Tue Mar 15 12:48:55 2016 -0700

vc4: Fix failures with nir_extract_* since the addition of the opcodes.

---

 src/gallium/drivers/vc4/vc4_program.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/gallium/drivers/vc4/vc4_program.c 
b/src/gallium/drivers/vc4/vc4_program.c
index 5c91c02..81e8e91 100644
--- a/src/gallium/drivers/vc4/vc4_program.c
+++ b/src/gallium/drivers/vc4/vc4_program.c
@@ -1729,6 +1729,8 @@ nir_to_qir(struct vc4_compile *c)
 }
 
 static const nir_shader_compiler_options nir_options = {
+        .lower_extract_byte = true,
+        .lower_extract_word = true,
         .lower_ffma = true,
         .lower_flrp = true,
         .lower_fpow = true,

_______________________________________________
mesa-commit mailing list
mesa-commit@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to