From: Eric Anholt Date: Tue, 15 Mar 2016 19:48:55 +0000 (-0700) Subject: vc4: Fix failures with nir_extract_* since the addition of the opcodes. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1c4b077409122a57a307e6653901aec8fbed713e;p=mesa.git vc4: Fix failures with nir_extract_* since the addition of the opcodes. --- diff --git a/src/gallium/drivers/vc4/vc4_program.c b/src/gallium/drivers/vc4/vc4_program.c index 5c91c02b539..81e8e9150d6 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,