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

Fixes: 6e230d7607f "anv: Implement VK_EXT_descriptor_indexing"
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/intel/vulkan/anv_pipeline.c

index 20eab548fb27e2c1381edf4f3d71661737df7412..b9c9bfd7598c81db47d7c8d8209ca028ceaa1d1b 100644 (file)
@@ -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,