Re-enable async compilation for the (yet-to-be-cached) compute PSOs.

#rb none
#jira none

#ROBOMERGE-SOURCE: CL 16611783 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v828-16531559)

[CL 16611790 by arciel rekman in ue5-release-engine-test branch]
This commit is contained in:
arciel rekman
2021-06-09 16:20:35 -04:00
parent 1a8393afdf
commit 088da5f292

View File

@@ -1005,8 +1005,7 @@ uint64 PipelineStateCache::RetrieveGraphicsPipelineStateSortKey(FGraphicsPipelin
FComputePipelineState* PipelineStateCache::GetAndOrCreateComputePipelineState(FRHIComputeCommandList& RHICmdList, FRHIComputeShader* ComputeShader)
{
// TODO: add async compute PSO compilation support
bool DoAsyncCompile = false;//IsAsyncCompilationAllowed(RHICmdList);
bool DoAsyncCompile = IsAsyncCompilationAllowed(RHICmdList);
FComputePipelineState* OutCachedState = nullptr;