summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorDaniel Schürmann <[email protected]>2019-01-25 16:08:38 +0100
committerDaniel Schürmann <[email protected]>2019-06-24 18:42:20 +0200
commit48a75e7af096f07d3d1984124bb29694c14ff61f (patch)
treeb9b4e955edbda9390c7e3e25d87e046a26d8afd9 /src/gallium
parenta8b0b6e52b095f03c96a72394d15327c42512815 (diff)
amd/common: lower bitfield_insert to bfm & bitfield_select
Reviewed-by: Connor Abbott <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/radeonsi/si_get.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeonsi/si_get.c b/src/gallium/drivers/radeonsi/si_get.c
index 0c561e7ca91..b7c7f1aa78c 100644
--- a/src/gallium/drivers/radeonsi/si_get.c
+++ b/src/gallium/drivers/radeonsi/si_get.c
@@ -487,6 +487,7 @@ static const struct nir_shader_compiler_options nir_options = {
.lower_flrp64 = true,
.lower_fsat = true,
.lower_fdiv = true,
+ .lower_bitfield_insert_to_bitfield_select = true,
.lower_sub = true,
.lower_ffma = true,
.lower_fmod = true,