Files
UnrealEngineUWP/Engine/Source/Developer/Apple/MetalShaderFormat/MetalShaderFormat.Build.cs
mark satterthwaite b6d781c1ba Duplicate 5263216 to aid debugging Metal shader issues in games using native shader libraries without having to cook locally:
Package Metal shader source into a zip file rather than a tgz so it can be done on Windows builds too and do this asynchronously while generating the Metal libraries. This file is stored in the MetaData folder so should be moved out of the content and not get packaged. Must be unzipped at the command-line for some reason, but it works.

#rb none


#ROBOMERGE-SOURCE: CL 5333983

[CL 5333997 by mark satterthwaite in Main branch]
2019-03-06 19:28:17 -05:00

40 lines
778 B
C#

// Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.
using UnrealBuildTool;
public class MetalShaderFormat : ModuleRules
{
public MetalShaderFormat(ReadOnlyTargetRules Target) : base(Target)
{
PrivateIncludePathModuleNames.Add("TargetPlatform");
PublicIncludePaths.Add("Runtime/Apple/MetalRHI/Public");
PrivateIncludePaths.AddRange(
new string[] {
"Developer/DerivedDataCache/Public",
}
);
PrivateDependencyModuleNames.AddRange(
new string[] {
"Core",
"RenderCore",
"ShaderCompilerCommon",
"ShaderPreprocessor",
"FileUtilities"
}
);
AddEngineThirdPartyPrivateStaticDependencies(Target,
"HLSLCC"
);
DynamicallyLoadedModuleNames.AddRange(
new string[]
{
"DerivedDataCache",
}
);
}
}