Logo
Explore Help
Sign In
izzy/UnrealEngineUWP
0
0
Fork 0
You've already forked UnrealEngineUWP
mirror of https://github.com/izzy2lost/UnrealEngineUWP.git synced 2026-03-26 18:15:20 -07:00
Code Issues Packages Projects Releases Wiki Activity
Files
5.4
UnrealEngineUWP/Engine/Source/Developer/ShaderCompilerCommon/Private/CrossCompiler.cpp

14 lines
232 B
C++
Raw Permalink Normal View History

[shaders] add a mutex acquired around all calls into hlslcc as a temporary fix for parallel in-process compilation. also some minor cleanup (include sorting, remove an unused/unimplemented function prototype) #rb Jason.Nadro #rb Yuriy.ODonnell #rb Laura.Hermanns #preflight 63e272b08374ef68dfd142ea [CL 24049810 by dan elksnitis in ue5-main branch]
2023-02-07 11:04:07 -05:00
// Copyright Epic Games, Inc. All Rights Reserved.
#include "CrossCompiler.h"
#include "hlslcc.h"
namespace CrossCompiler
{
FCriticalSection* GetCrossCompilerLock()
{
static FCriticalSection HlslCcCs;
return &HlslCcCs;
}
}
Reference in New Issue Copy Permalink
Powered by Gitea Page: 1483ms Template: 8ms
English
English
Licenses API