mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Use dedicated threads for the shader object creation. Bypasses the deadlock possibility.
This commit is contained in:
parent
1437c2f707
commit
d7605c6877
1 changed files with 1 additions and 1 deletions
|
@ -106,7 +106,7 @@ static Promise<VkShaderModule> *CompileShaderModuleAsync(VulkanContext *vulkan,
|
|||
if (singleThreaded) {
|
||||
return Promise<VkShaderModule>::AlreadyDone(compile());
|
||||
} else {
|
||||
return Promise<VkShaderModule>::Spawn(&g_threadManager, compile, TaskType::CPU_COMPUTE);
|
||||
return Promise<VkShaderModule>::Spawn(&g_threadManager, compile, TaskType::DEDICATED_THREAD);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue