mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 04:08:55 +00: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:
parent
9fa24700b6
commit
e31cc1f679
15 changed files with 202 additions and 145 deletions
|
@ -18,7 +18,6 @@ AsyncShaderCompiler::~AsyncShaderCompiler()
|
|||
// Pending work can be left at shutdown.
|
||||
// The work item classes are expected to clean up after themselves.
|
||||
_assert_(!HasWorkerThreads());
|
||||
_assert_(m_completed_work.empty());
|
||||
}
|
||||
|
||||
void AsyncShaderCompiler::QueueWorkItem(WorkItemPtr item)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue