aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuan A. Suarez Romero <[email protected]>2019-04-29 17:05:13 +0200
committerJuan A. Suarez Romero <[email protected]>2019-04-30 09:23:23 +0200
commit06c9d7f9f94d9ab44a2b6148d9b5ec3f76c8d3db (patch)
tree5490fa930030c7328aba49065f47e8656266dbaf
parentbbbe00a1016bd7b9e777a94fbe92477dc6109678 (diff)
radv: enable descriptor indexing capabilities
This enables the remaining capabilities in SPV_EXT_descriptor_indexing. Fixes: 0e10790558b "radv: Enable VK_EXT_descriptor_indexing." Reviewed-by: Jason Ekstrand <[email protected]> Reviewed-by: Bas Nieuwenhuizen <[email protected]>
-rw-r--r--src/amd/vulkan/radv_shader.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/amd/vulkan/radv_shader.c b/src/amd/vulkan/radv_shader.c
index cd5a9f2afb4..648fb6586f7 100644
--- a/src/amd/vulkan/radv_shader.c
+++ b/src/amd/vulkan/radv_shader.c
@@ -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,