radv: enable descriptor indexing capabilities
authorJuan A. Suarez Romero <jasuarez@igalia.com>
Mon, 29 Apr 2019 15:05:13 +0000 (17:05 +0200)
committerJuan A. Suarez Romero <jasuarez@igalia.com>
Tue, 30 Apr 2019 07:23:23 +0000 (09:23 +0200)
This enables the remaining capabilities in SPV_EXT_descriptor_indexing.

Fixes: 0e10790558b "radv: Enable VK_EXT_descriptor_indexing."
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/radv_shader.c

index cd5a9f2afb44e547601693c5fee2f623f96ec298..648fb6586f738fd36c22ac259346f0db06d81c76 100644 (file)
@@ -226,6 +226,8 @@ radv_shader_compile_to_nir(struct radv_device *device,
                        .caps = {
                                .derivative_group = true,
                                .descriptor_array_dynamic_indexing = true,
+                               .descriptor_array_non_uniform_indexing = true,
+                               .descriptor_indexing = true,
                                .device_group = true,
                                .draw_parameters = true,
                                .float16 = true,