aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorBen Skeggs <[email protected]>2020-06-07 09:52:31 +1000
committerMarge Bot <[email protected]>2020-06-10 22:52:42 +0000
commit57259fa802bfaa6e9d166b9d3958adfda65ea417 (patch)
treed9e329a2f699ec6423e0a57a164b1d9c2bb64c10 /src/gallium
parentd58290270a2829e397b5a84f75845361961812af (diff)
nvir/nir/gm107: switch off lower_extract_byte
We can use PRMT here. Signed-off-by: Ben Skeggs <[email protected]> Reviewed-by: Karol Herbst <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5377>
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/nouveau/codegen/nv50_ir_from_nir.cpp2
1 files changed, 1 insertions, 1 deletions
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,