[Mesa-dev] [PATCH] anv: enable storage image extended formats
Ilia Mirkin
imirkin at alum.mit.edu
Sun Nov 27 21:37:17 UTC 2016
These are all regularly available in desktop GL, so the backend fully
supports them.
Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
---
There don't appear to be directed VK tests for these. However spirv_to_nir's
translate_image_format has all the formats. And VK doesn't add any new formats
over what's required for desktop GL... IMHO this is OK.
src/intel/vulkan/anv_device.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/intel/vulkan/anv_device.c b/src/intel/vulkan/anv_device.c
index 336e595..16aba59 100644
--- a/src/intel/vulkan/anv_device.c
+++ b/src/intel/vulkan/anv_device.c
@@ -431,7 +431,7 @@ void anv_GetPhysicalDeviceFeatures(
.fragmentStoresAndAtomics = true,
.shaderTessellationAndGeometryPointSize = true,
.shaderImageGatherExtended = true,
- .shaderStorageImageExtendedFormats = false,
+ .shaderStorageImageExtendedFormats = true,
.shaderStorageImageMultisample = false,
.shaderUniformBufferArrayDynamicIndexing = true,
.shaderSampledImageArrayDynamicIndexing = true,
--
2.7.3
More information about the mesa-dev
mailing list