summaryrefslogtreecommitdiffstats
path: root/src/amd/vulkan/radv_shader.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/amd/vulkan/radv_shader.c
parent48a75e7af096f07d3d1984124bb29694c14ff61f (diff)
amd/common: lower bitfield_extract to ubfe/ibfe.
Reviewed-by: Connor Abbott <[email protected]>
Diffstat (limited to 'src/amd/vulkan/radv_shader.c')
-rw-r--r--src/amd/vulkan/radv_shader.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/amd/vulkan/radv_shader.c b/src/amd/vulkan/radv_shader.c
index 3452a0b2ad2..c8dc9daf1bc 100644
--- a/src/amd/vulkan/radv_shader.c
+++ b/src/amd/vulkan/radv_shader.c
@@ -59,6 +59,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_pack_snorm_2x16 = true,
.lower_pack_snorm_4x8 = true,