Disable HiZ buffer on Linux + Intel iGPU to work-around device lost crashes

This commit is contained in:
SRSaunders 2025-01-22 19:31:15 -05:00
parent 340ef8e5bc
commit 2bef9f0c8a

View file

@ -791,6 +791,10 @@ bool DeviceManager_VK::pickPhysicalDevice()
if( !otherGPUs.empty() )
{
#if defined(__linux__) && ( defined(__i386__) || defined(__x86_64__) )
// SRS - Disable HiZ buffer on Linux + Intel iGPU to work-around device lost crashes - potentially a driver issue?
r_useHierarchicalDepthBuffer.SetBool( false );
#endif
m_VulkanPhysicalDevice = otherGPUs[0];
return true;
}