mirror of
https://github.com/izzy2lost/dolphin.git
synced 2026-06-19 01:16:48 -07:00
ShaderCache: Implement background shader compilation
This enables shaders to be compiled while the game is starting, instead of blocking startup. If a shader is needed before it is compiled, emulation will block.
This commit is contained in:
@@ -169,6 +169,7 @@ struct VideoConfig final
|
||||
int iCommandBufferExecuteInterval;
|
||||
|
||||
// Shader compilation settings.
|
||||
bool bWaitForShadersBeforeStarting;
|
||||
UberShaderMode iUberShaderMode;
|
||||
|
||||
// Number of shader compiler threads.
|
||||
|
||||
Reference in New Issue
Block a user