From cbb06800ab4316b282e23cdf5e6ef2a9a3fb3fd0 Mon Sep 17 00:00:00 2001 From: baldurk Date: Fri, 30 Apr 2021 10:31:08 +0100 Subject: [PATCH] Remove unnecessary feature check on MSAA->Array copy --- renderdoc/driver/vulkan/vk_msaa_array_conv.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/renderdoc/driver/vulkan/vk_msaa_array_conv.cpp b/renderdoc/driver/vulkan/vk_msaa_array_conv.cpp index 820ebaac1..763949dce 100644 --- a/renderdoc/driver/vulkan/vk_msaa_array_conv.cpp +++ b/renderdoc/driver/vulkan/vk_msaa_array_conv.cpp @@ -32,8 +32,7 @@ void VulkanDebugManager::CopyTex2DMSToArray(VkImage destArray, VkImage srcMS, VkExtent3D extent, uint32_t layers, uint32_t samples, VkFormat fmt) { - if(!m_pDriver->GetDeviceEnabledFeatures().shaderStorageImageWriteWithoutFormat || - !m_pDriver->GetDeviceEnabledFeatures().shaderStorageImageMultisample) + if(!m_pDriver->GetDeviceEnabledFeatures().shaderStorageImageWriteWithoutFormat) return; if(m_MS2ArrayPipe == VK_NULL_HANDLE)