commit | 12fe19ba3b146b3c7ee73426bb7f1dbd7667fa30 | [log] [tgz] |
---|---|---|
author | Samuel Pitoiset <samuel.pitoiset@gmail.com> | Thu May 16 12:26:16 2019 +0200 |
committer | Marge Bot <eric+marge@anholt.net> | Thu Jan 23 10:48:02 2020 +0000 |
tree | 01910ffd86c5265b2ba23020416b61e6b48d3c40 | |
parent | e030aef32c05e1c042776f359da7b74234e170ee [diff] [blame] |
radv: advertise VK_AMD_shader_fragment_mask Only for GFX8+ because it's untested on older generations. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3304> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3304>
diff --git a/src/amd/vulkan/radv_shader.c b/src/amd/vulkan/radv_shader.c index bbf5cd7..e407c91 100644 --- a/src/amd/vulkan/radv_shader.c +++ b/src/amd/vulkan/radv_shader.c
@@ -361,6 +361,7 @@ const struct spirv_to_nir_options spirv_options = { .lower_ubo_ssbo_access_to_offsets = true, .caps = { + .amd_fragment_mask = true, .amd_gcn_shader = true, .amd_image_read_write_lod = true, .amd_shader_ballot = device->physical_device->use_shader_ballot,