mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 01:50:38 +00:00
Don't try to create pipelines with sample rate shading if not supported
This commit is contained in:
@@ -696,6 +696,12 @@ VulkanDebugManager::VulkanDebugManager(WrappedVulkan *driver)
|
||||
|
||||
m_pDriver->vkDestroyRenderPass(dev, depthMS2ArrayRP, NULL);
|
||||
|
||||
if(!m_pDriver->GetDeviceFeatures().sampleRateShading)
|
||||
{
|
||||
RDCDEBUG("No depth Array -> MSAA copies can be supported without sample rate shading");
|
||||
continue;
|
||||
}
|
||||
|
||||
for(size_t s = 0; s < ARRAY_COUNT(sampleCounts); s++)
|
||||
{
|
||||
// if this sample count isn't supported, don't create it
|
||||
|
||||
Reference in New Issue
Block a user