aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi/si_get.c
diff options
context:
space:
mode:
authorDaniel Schürmann <[email protected]>2019-01-25 16:24:55 +0100
committerDaniel Schürmann <[email protected]>2019-06-24 18:42:20 +0200
commit0daeb1d127987c8e70afe22cb30f676fb4631813 (patch)
tree1f8fccca3b639f872615340587cef7ce815318de /src/gallium/drivers/radeonsi/si_get.c
parent48a75e7af096f07d3d1984124bb29694c14ff61f (diff)
amd/common: lower bitfield_extract to ubfe/ibfe.
Reviewed-by: Connor Abbott <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_get.c')
-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 b7c7f1aa78c..5c2806341b3 100644
--- a/src/gallium/drivers/radeonsi/si_get.c
+++ b/src/gallium/drivers/radeonsi/si_get.c
@@ -488,6 +488,7 @@ static const struct nir_shader_compiler_options nir_options = {
.lower_fsat = true,
.lower_fdiv = true,
.lower_bitfield_insert_to_bitfield_select = true,
+ .lower_bitfield_extract = true,
.lower_sub = true,
.lower_ffma = true,
.lower_fmod = true,