From e781cc702557f1102fc6253f5654696490742e06 Mon Sep 17 00:00:00 2001 From: Connor Abbott Date: Mon, 21 Sep 2020 14:04:27 +0200 Subject: [PATCH] tu: Expose shaderStorageImage*WithoutFormat We don't use the format anymore in the backend, except determining the number of components, and we fallback to 4 there if it's not specified. So we should be safe to enable this. Part-of: --- src/freedreno/vulkan/tu_device.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/freedreno/vulkan/tu_device.c b/src/freedreno/vulkan/tu_device.c index 9ca5e3a..15a71e8 100644 --- a/src/freedreno/vulkan/tu_device.c +++ b/src/freedreno/vulkan/tu_device.c @@ -407,8 +407,8 @@ tu_GetPhysicalDeviceFeatures(VkPhysicalDevice physicalDevice, .shaderSampledImageArrayDynamicIndexing = true, .shaderStorageBufferArrayDynamicIndexing = true, .shaderStorageImageArrayDynamicIndexing = true, - .shaderStorageImageReadWithoutFormat = false, - .shaderStorageImageWriteWithoutFormat = false, + .shaderStorageImageReadWithoutFormat = true, + .shaderStorageImageWriteWithoutFormat = true, .shaderClipDistance = false, .shaderCullDistance = false, .shaderFloat64 = false, -- 2.7.4