From: Ben Skeggs Date: Sat, 6 Jun 2020 23:52:33 +0000 (+1000) Subject: nvir/nir/gm107: switch off lower_extract_word X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cacf2961091b92b281b3fb9a98309fded10c1f33;p=mesa.git nvir/nir/gm107: switch off lower_extract_word We can use PRMT here. Signed-off-by: Ben Skeggs Reviewed-by: Karol Herbst Part-of: --- 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,