From 088da5f2929e923ac3e18ea94de020d5da8e90c3 Mon Sep 17 00:00:00 2001 From: arciel rekman Date: Wed, 9 Jun 2021 16:20:35 -0400 Subject: [PATCH] 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] --- Engine/Source/Runtime/RHI/Private/PipelineStateCache.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Engine/Source/Runtime/RHI/Private/PipelineStateCache.cpp b/Engine/Source/Runtime/RHI/Private/PipelineStateCache.cpp index 32ce5dd733c7..22a48585faec 100644 --- a/Engine/Source/Runtime/RHI/Private/PipelineStateCache.cpp +++ b/Engine/Source/Runtime/RHI/Private/PipelineStateCache.cpp @@ -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;