vc4: Fix failures with nir_extract_* since the addition of the opcodes.
authorEric Anholt <eric@anholt.net>
Tue, 15 Mar 2016 19:48:55 +0000 (12:48 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 15 Mar 2016 19:49:37 +0000 (12:49 -0700)
src/gallium/drivers/vc4/vc4_program.c

index 5c91c02b539c156b9a2538f1be23eafd99e026d2..81e8e9150d6f2ab4b187cc47dc0b5ec9f88e1c3e 100644 (file)
@@ -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,