Remove unnecessary feature check on MSAA->Array copy

This commit is contained in:
baldurk committed 2021-04-30 10:31:08 +01:00
1 parent 9c29ae6393
commit cbb06800ab
1 file changed
+1 -2
@@ -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)