tu: Enable resource dynamic indexing
authorConnor Abbott <cwabbott0@gmail.com>
Mon, 27 Jul 2020 10:11:44 +0000 (12:11 +0200)
committerMarge Bot <eric+marge@anholt.net>
Mon, 27 Jul 2020 16:38:17 +0000 (16:38 +0000)
This has actually worked since bindless support was merged.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6086>

src/freedreno/vulkan/tu_device.c

index 75eabdc882fdb95fa8c080aec69e20b49ed8bb8a..a1dd04e58fbfb60828e3ec78ff0eeb8d1f28b551 100644 (file)
@@ -629,10 +629,10 @@ tu_GetPhysicalDeviceFeatures(VkPhysicalDevice physicalDevice,
       .shaderImageGatherExtended = false,
       .shaderStorageImageExtendedFormats = false,
       .shaderStorageImageMultisample = false,
-      .shaderUniformBufferArrayDynamicIndexing = false,
-      .shaderSampledImageArrayDynamicIndexing = false,
-      .shaderStorageBufferArrayDynamicIndexing = false,
-      .shaderStorageImageArrayDynamicIndexing = false,
+      .shaderUniformBufferArrayDynamicIndexing = true,
+      .shaderSampledImageArrayDynamicIndexing = true,
+      .shaderStorageBufferArrayDynamicIndexing = true,
+      .shaderStorageImageArrayDynamicIndexing = true,
       .shaderStorageImageReadWithoutFormat = false,
       .shaderStorageImageWriteWithoutFormat = false,
       .shaderClipDistance = false,