From 1f13cb8b153b92bf1da8caa62c9176b875fe7e0f Mon Sep 17 00:00:00 2001 From: Ilia Mirkin Date: Fri, 30 Dec 2016 00:39:30 -0500 Subject: [PATCH] anv,radv: disable StorageImageWriteWithoutFormat for now The SPIR-V capability isn't even marked as enabled, and there are no tests in Vulkan-CTS. Per Jason Ekstrand, this won't work in anv as such write-only surfaces require additional setup which is currently not performed. Signed-off-by: Ilia Mirkin Acked-by: Dave Airlie Acked-by: Jason Ekstrand --- src/amd/vulkan/radv_device.c | 2 +- src/intel/vulkan/anv_device.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c index dcbb01547e7..e57a419cfaf 100644 --- a/src/amd/vulkan/radv_device.c +++ b/src/amd/vulkan/radv_device.c @@ -403,7 +403,7 @@ void radv_GetPhysicalDeviceFeatures( .shaderStorageBufferArrayDynamicIndexing = true, .shaderStorageImageArrayDynamicIndexing = true, .shaderStorageImageReadWithoutFormat = false, - .shaderStorageImageWriteWithoutFormat = true, + .shaderStorageImageWriteWithoutFormat = false, .shaderClipDistance = true, .shaderCullDistance = true, .shaderFloat64 = false, diff --git a/src/intel/vulkan/anv_device.c b/src/intel/vulkan/anv_device.c index 7a7d8328db8..062fab6fabe 100644 --- a/src/intel/vulkan/anv_device.c +++ b/src/intel/vulkan/anv_device.c @@ -472,7 +472,7 @@ void anv_GetPhysicalDeviceFeatures( .shaderStorageImageExtendedFormats = true, .shaderStorageImageMultisample = false, .shaderStorageImageReadWithoutFormat = false, - .shaderStorageImageWriteWithoutFormat = true, + .shaderStorageImageWriteWithoutFormat = false, .shaderUniformBufferArrayDynamicIndexing = true, .shaderSampledImageArrayDynamicIndexing = true, .shaderStorageBufferArrayDynamicIndexing = true, -- 2.30.2