VideoCommon: Gate Multi-Threaded Shader Pre-Compilation behind a bug entry

This commit is contained in:
DevJPM
2021-06-03 16:03:37 +02:00
committed by unknown
parent 61cfd8696e
commit 613c4563c2
3 changed files with 34 additions and 1 deletions

View File

@ -314,6 +314,14 @@ enum Bug
// Started version: -1
// Ended version: -1
BUG_BROKEN_SUBGROUP_INVOCATION_ID,
// BUG: Multi-threaded shader pre-compilation sometimes crashes
// Used primarily in Videoconfig.cpp's GetNumAutoShaderPreCompilerThreads()
// refer to https://github.com/dolphin-emu/dolphin/pull/9414 for initial validation coverage
// All untested platforms will report as having this bug as to avoid crashes
// Note that things should highly likely work out fine on D3D
// so we didn't extend the Bug API to also support D3D
BUG_BROKEN_MULTITHREADED_SHADER_PRECOMPILATION
};
// Initializes our internal vendor, device family, and driver version