You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
- move sequence of preprocessing steps out of ShaderPreprocessor module and into UE::ShaderCompilerCommon::ExecuteShaderPreprocessingSteps; the former is now explicitly just the low-level preprocessor lib - add an implementation of PreprocessShader in FBaseShaderFormat so backends which have no custom code to execute as part of preprocessing can just automatically inherit this implementation, and fix up such backends to eliminate now-unnecessary overrides #rb christopher.waters, Laura.Hermanns [CL 30178136 by dan elksnitis in ue5-main branch]
22 lines
502 B
C#
22 lines
502 B
C#
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
using UnrealBuildTool;
|
|
|
|
public class ShaderPreprocessor : ModuleRules
|
|
{
|
|
public ShaderPreprocessor(ReadOnlyTargetRules Target) : base(Target)
|
|
{
|
|
PrivateDependencyModuleNames.AddRange(
|
|
new string[] {
|
|
"Core",
|
|
"RenderCore",
|
|
}
|
|
);
|
|
|
|
PrivateDefinitions.Add("STB_CONFIG=../StbConfig.h");
|
|
|
|
// TODO: Disable SN-DBS distribution until ../StbConfig.h include from STB_CONFIG can be resolved correctly
|
|
bBuildLocallyWithSNDBS = true;
|
|
}
|
|
}
|