This commit is contained in:
C
2023-02-06 17:17:44 +05:00
parent 9d03a8eb1b
commit e9f3169a6f
804 changed files with 2798 additions and 24737 deletions
@@ -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"));
}
}