mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2025-04-28 21:37:58 +03:00
Potential fix for async PSO freezing issue.
This commit is contained in:
parent
9a29b187cd
commit
30fded0685
1 changed files with 2 additions and 1 deletions
|
@ -302,7 +302,7 @@ static const PipelineState g_pipelineStateCache[] =
|
|||
#include "cache/pipeline_state_cache.h"
|
||||
};
|
||||
|
||||
static bool g_pendingPipelineStateCache = true;
|
||||
static bool g_pendingPipelineStateCache;
|
||||
|
||||
#include "cache/vertex_element_cache.h"
|
||||
|
||||
|
@ -2221,6 +2221,7 @@ void Video::Present()
|
|||
g_pendingDataCount.notify_all();
|
||||
|
||||
g_shouldPrecompilePipelines = false;
|
||||
g_pendingPipelineStateCache = true;
|
||||
}
|
||||
|
||||
g_executedCommandList.wait(false);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue