From 2a0341df5fb1eed775f520085d843e0fe40190ce Mon Sep 17 00:00:00 2001 From: Stephen Saunders Date: Sun, 19 Feb 2023 02:25:16 -0500 Subject: [PATCH] Enable shaderStorageImageReadWithoutFormat device feature for new SSAO compute shader --- neo/sys/DeviceManager_VK.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/neo/sys/DeviceManager_VK.cpp b/neo/sys/DeviceManager_VK.cpp index 80a62be3..ae02d78f 100644 --- a/neo/sys/DeviceManager_VK.cpp +++ b/neo/sys/DeviceManager_VK.cpp @@ -839,6 +839,7 @@ bool DeviceManager_VK::createDevice() auto deviceFeatures = vk::PhysicalDeviceFeatures() .setShaderImageGatherExtended( true ) + .setShaderStorageImageReadWithoutFormat( true ) .setSamplerAnisotropy( true ) .setTessellationShader( true ) .setTextureCompressionBC( true )