anv,radv: disable StorageImageWriteWithoutFormat for now
authorIlia Mirkin <imirkin@alum.mit.edu>
Fri, 30 Dec 2016 05:39:30 +0000 (00:39 -0500)
committerIlia Mirkin <imirkin@alum.mit.edu>
Sat, 31 Dec 2016 21:38:00 +0000 (16:38 -0500)
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 <imirkin@alum.mit.edu>
Acked-by: Dave Airlie <airlied@redhat.com>
Acked-by: Jason Ekstrand <jason.ekstrand@intel.com>
src/amd/vulkan/radv_device.c
src/intel/vulkan/anv_device.c

index dcbb01547e732d122fb14c34ea400d6573e1f6a0..e57a419cfaf2ff349af6fbef842cfb944d23c193 100644 (file)
@@ -403,7 +403,7 @@ void radv_GetPhysicalDeviceFeatures(
                .shaderStorageBufferArrayDynamicIndexing  = true,
                .shaderStorageImageArrayDynamicIndexing   = true,
                .shaderStorageImageReadWithoutFormat      = false,
-               .shaderStorageImageWriteWithoutFormat     = true,
+               .shaderStorageImageWriteWithoutFormat     = false,
                .shaderClipDistance                       = true,
                .shaderCullDistance                       = true,
                .shaderFloat64                            = false,
index 7a7d8328db8380cdce9616bfce25d03ed0c397b4..062fab6fabec1f4938b4d1f06115894e1d1391bb 100644 (file)
@@ -472,7 +472,7 @@ void anv_GetPhysicalDeviceFeatures(
       .shaderStorageImageExtendedFormats        = true,
       .shaderStorageImageMultisample            = false,
       .shaderStorageImageReadWithoutFormat      = false,
-      .shaderStorageImageWriteWithoutFormat     = true,
+      .shaderStorageImageWriteWithoutFormat     = false,
       .shaderUniformBufferArrayDynamicIndexing  = true,
       .shaderSampledImageArrayDynamicIndexing   = true,
       .shaderStorageBufferArrayDynamicIndexing  = true,