From 1c4b077409122a57a307e6653901aec8fbed713e Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Tue, 15 Mar 2016 12:48:55 -0700 Subject: [PATCH] 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, -- 2.7.4