From 57259fa802bfaa6e9d166b9d3958adfda65ea417 Mon Sep 17 00:00:00 2001 From: Ben Skeggs Date: Sun, 7 Jun 2020 09:52:31 +1000 Subject: [PATCH] nvir/nir/gm107: switch off lower_extract_byte 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 062f4a7a0f6..7fcb1a0ff5d 100644 --- a/src/gallium/drivers/nouveau/codegen/nv50_ir_from_nir.cpp +++ b/src/gallium/drivers/nouveau/codegen/nv50_ir_from_nir.cpp @@ -3406,7 +3406,7 @@ nvir_nir_shader_compiler_options(int chipset) .lower_unpack_unorm_4x8 = true, .lower_unpack_snorm_4x8 = true, .lower_pack_split = false, - .lower_extract_byte = true, + .lower_extract_byte = (chipset < NVISA_GM107_CHIPSET), .lower_extract_word = true, .lower_all_io_to_temps = false, .lower_all_io_to_elements = false, -- 2.30.2