mirror of
https://github.com/id-Software/DOOM-3-BFG.git
synced 2025-03-13 22:22:05 +00:00
Disable HiZ buffer on Linux + Intel iGPU to work-around device lost crashes
This commit is contained in:
parent
340ef8e5bc
commit
2bef9f0c8a
1 changed files with 4 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue