From cacf2961091b92b281b3fb9a98309fded10c1f33 Mon Sep 17 00:00:00 2001 From: Ben Skeggs Date: Sun, 7 Jun 2020 09:52:33 +1000 Subject: [PATCH] nvir/nir/gm107: switch off lower_extract_word We can use PRMT here. Signed-off-by: Ben Skeggs Reviewed-by: Karol Herbst Part-of: --- src/gallium/drivers/nouveau/codegen/nv50_ir_from_nir.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir_from_nir.cpp b/src/gallium/drivers/nouveau/codegen/nv50_ir_from_nir.cpp index 7fcb1a0ff5d..a54facf8c6e 100644 --- a/src/gallium/drivers/nouveau/codegen/nv50_ir_from_nir.cpp +++ b/src/gallium/drivers/nouveau/codegen/nv50_ir_from_nir.cpp @@ -3407,7 +3407,7 @@ nvir_nir_shader_compiler_options(int chipset) .lower_unpack_snorm_4x8 = true, .lower_pack_split = false, .lower_extract_byte = (chipset < NVISA_GM107_CHIPSET), - .lower_extract_word = true, + .lower_extract_word = (chipset < NVISA_GM107_CHIPSET), .lower_all_io_to_temps = false, .lower_all_io_to_elements = false, .vertex_id_zero_based = false, -- 2.30.2