summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJuan A. Suarez Romero <[email protected]>2019-04-29 17:10:24 +0200
committerJuan A. Suarez Romero <[email protected]>2019-04-30 09:23:46 +0200
commit8d621e8ff72c0439d08450425fbf0cda23232f39 (patch)
treec144504b46f7ca7ec3e499cc3370dec843440404 /src
parent06c9d7f9f94d9ab44a2b6148d9b5ec3f76c8d3db (diff)
anv: enable descriptor indexing capabilities
This enables the remaining capabilities in SPV_EXT_descriptor_indexing. Fixes: 6e230d7607f "anv: Implement VK_EXT_descriptor_indexing" Reviewed-by: Jason Ekstrand <[email protected]> Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/intel/vulkan/anv_pipeline.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/intel/vulkan/anv_pipeline.c b/src/intel/vulkan/anv_pipeline.c
index 20eab548fb2..b9c9bfd7598 100644
--- a/src/intel/vulkan/anv_pipeline.c
+++ b/src/intel/vulkan/anv_pipeline.c
@@ -141,6 +141,8 @@ anv_shader_compile_to_nir(struct anv_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 = pdevice->info.gen >= 8,