diff options
author | Daniel Schürmann <[email protected]> | 2018-05-09 20:41:23 +0200 |
---|---|---|
committer | Connor Abbott <[email protected]> | 2019-06-13 12:44:23 +0000 |
commit | 7a858f274c68a93cd3e1259d292e95beec70ba53 (patch) | |
tree | c4f0b959f1b4c7f8df372d5596b46ea387c222f9 /src/amd/vulkan/radv_shader.c | |
parent | ea51275e07b06b16a952d8108c3a543e38249350 (diff) |
spirv/nir: add support for AMD_shader_ballot and Groups capability
This commit also renames existing AMD capabilities:
- gcn_shader -> amd_gcn_shader
- trinary_minmax -> amd_trinary_minmax
Reviewed-by: Connor Abbott <[email protected]>
Diffstat (limited to 'src/amd/vulkan/radv_shader.c')
-rw-r--r-- | src/amd/vulkan/radv_shader.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/amd/vulkan/radv_shader.c b/src/amd/vulkan/radv_shader.c index 37fdbfe33f5..3e1098de79f 100644 --- a/src/amd/vulkan/radv_shader.c +++ b/src/amd/vulkan/radv_shader.c @@ -245,6 +245,9 @@ radv_shader_compile_to_nir(struct radv_device *device, const struct spirv_to_nir_options spirv_options = { .lower_ubo_ssbo_access_to_offsets = true, .caps = { + .amd_gcn_shader = true, + .amd_shader_ballot = false, + .amd_trinary_minmax = true, .derivative_group = true, .descriptor_array_dynamic_indexing = true, .descriptor_array_non_uniform_indexing = true, @@ -253,7 +256,6 @@ radv_shader_compile_to_nir(struct radv_device *device, .draw_parameters = true, .float16 = true, .float64 = true, - .gcn_shader = true, .geometry_streams = true, .image_read_without_format = true, .image_write_without_format = true, @@ -277,7 +279,6 @@ radv_shader_compile_to_nir(struct radv_device *device, .subgroup_vote = true, .tessellation = true, .transform_feedback = true, - .trinary_minmax = true, .variable_pointers = true, }, .ubo_addr_format = nir_address_format_32bit_index_offset, |