OSDN Git Service

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 5c91c02..81e8e91 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,