summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2016-03-15 12:48:55 -0700
committerEric Anholt <eric@anholt.net>2016-03-15 12:49:37 -0700
commit1c4b077409122a57a307e6653901aec8fbed713e (patch)
tree7b38761d9ed38b8565ef8fecdd05e0c728f3aeff
parentbb2c5e657b5f4c55bcec49a8d96f352ed4c1e013 (diff)
vc4: Fix failures with nir_extract_* since the addition of the opcodes.
-rw-r--r--src/gallium/drivers/vc4/vc4_program.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/vc4/vc4_program.c b/src/gallium/drivers/vc4/vc4_program.c
index 5c91c02b53..81e8e9150d 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,