init
This commit is contained in:
@@ -25,7 +25,7 @@ public class DLSSUtility : ModuleRules
|
||||
|
||||
PrivateIncludePaths.AddRange(
|
||||
new string[] {
|
||||
Path.Combine(EngineDirectory,"Source/Runtime/Renderer/Private"),
|
||||
Path.Combine(GetModuleDirectory("Renderer"), "Private"),
|
||||
}
|
||||
);
|
||||
|
||||
@@ -36,7 +36,6 @@ public class DLSSUtility : ModuleRules
|
||||
"Core",
|
||||
"RenderCore",
|
||||
"Renderer",
|
||||
|
||||
}
|
||||
);
|
||||
|
||||
@@ -49,9 +48,5 @@ public class DLSSUtility : ModuleRules
|
||||
"Projects"
|
||||
}
|
||||
);
|
||||
|
||||
// 4.x and early access 5.0 engines used FVector2D type instead of FVector2f type for shader parameters
|
||||
bool bEngineUsesFVector2D = (Target.Version.MajorVersion == 4) || (Target.Version.BranchName == "++UE5+Release-5.0-EarlyAccess");
|
||||
PrivateDefinitions.Add(string.Format("DLSS_ENGINE_USES_FVECTOR2D={0}", bEngineUsesFVector2D ? "1" : "0"));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user