radv/llvm: expose VK_EXT_shader_demote_to_helper_invocation with LLVM 9+

It should already work with the LLVM backend.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5361>
This commit is contained in:
Samuel Pitoiset
2020-06-05 15:58:36 +02:00
parent d76e8131ac
commit d7923c74d4
4 changed files with 4 additions and 3 deletions

View File

@@ -363,7 +363,7 @@ radv_shader_compile_to_nir(struct radv_device *device,
.amd_shader_ballot = device->physical_device->use_shader_ballot,
.amd_shader_explicit_vertex_parameter = true,
.amd_trinary_minmax = true,
.demote_to_helper_invocation = device->physical_device->use_aco,
.demote_to_helper_invocation = true,
.derivative_group = true,
.descriptor_array_dynamic_indexing = true,
.descriptor_array_non_uniform_indexing = true,