mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2025-10-30 07:11:05 +00: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"
|
#include "cache/pipeline_state_cache.h"
|
||||||
};
|
};
|
||||||
|
|
||||||
static bool g_pendingPipelineStateCache = true;
|
static bool g_pendingPipelineStateCache;
|
||||||
|
|
||||||
#include "cache/vertex_element_cache.h"
|
#include "cache/vertex_element_cache.h"
|
||||||
|
|
||||||
|
|
@ -2221,6 +2221,7 @@ void Video::Present()
|
||||||
g_pendingDataCount.notify_all();
|
g_pendingDataCount.notify_all();
|
||||||
|
|
||||||
g_shouldPrecompilePipelines = false;
|
g_shouldPrecompilePipelines = false;
|
||||||
|
g_pendingPipelineStateCache = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
g_executedCommandList.wait(false);
|
g_executedCommandList.wait(false);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue