Module |
|
Header |
/Engine/Source/Developer/ShaderCompilerCommon/Public/ShaderCompilerCommon.h |
Include |
#include "ShaderCompilerCommon.h" |
Source |
/Engine/Source/Developer/ShaderCompilerCommon/Private/ShaderCompilerCommon.cpp |
void RemoveUniformBuffersFromSource
(
const FShaderCompilerEnvironment & Environment,
FString & PreprocessedShaderSource
)
The cross compiler doesn't yet support struct initializers needed to construct static structs for uniform buffers Replace all uniform buffer struct member references (View.WorldToClip) with a flattened name that removes the struct dependency (View_WorldToClip)