summaryrefslogtreecommitdiffstats
path: root/src/amd/vulkan
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/amd/vulkan
parenta8b0b6e52b095f03c96a72394d15327c42512815 (diff)
amd/common: lower bitfield_insert to bfm & bitfield_select
Reviewed-by: Connor Abbott <[email protected]>
Diffstat (limited to 'src/amd/vulkan')
-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 c3bbf3fdda7..3452a0b2ad2 100644
--- a/src/amd/vulkan/radv_shader.c
+++ b/src/amd/vulkan/radv_shader.c
@@ -58,6 +58,7 @@ static const struct nir_shader_compiler_options nir_options = {
.lower_device_index_to_zero = true,
.lower_fsat = true,
.lower_fdiv = true,
+ .lower_bitfield_insert_to_bitfield_select = true,
.lower_sub = true,
.lower_pack_snorm_2x16 = true,
.lower_pack_snorm_4x8 = true,