Skip to content
This repository has been archived by the owner on Oct 11, 2024. It is now read-only.

Commit

Permalink
includes to compile for UE5.3.2 (#10)
Browse files Browse the repository at this point in the history
* Add include to compile for UE5.3.2 (#9)

* includes

---------

Co-authored-by: nmdMnk <86552331+nmdMnk@users.noreply.github.com>
  • Loading branch information
lucoiso and nmdMnk authored Dec 18, 2023
1 parent 6b8cc9c commit 4d4c0d4
Show file tree
Hide file tree
Showing 6 changed files with 25 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@

#if ENGINE_MAJOR_VERSION > 5 || (ENGINE_MAJOR_VERSION == 5 && ENGINE_MINOR_VERSION >= 2)
#include <DataDrivenShaderPlatformInfo.h>
#include <SceneRendering.h>
#endif

static TAutoConsoleVariable<int32> CVarFSRPostFSRChromaticAberration(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@
//------------------------------------------------------------------------------
#include "FSRSubpassEASU.h"

#if ENGINE_MAJOR_VERSION > 5 || (ENGINE_MAJOR_VERSION == 5 && ENGINE_MINOR_VERSION >= 2)
#include <DataDrivenShaderPlatformInfo.h>
#include <SceneRendering.h>
#endif

static int32 GFSR_FP16 = 1;
static FAutoConsoleVariableRef CVarFSRUseFP16(
TEXT("r.FidelityFX.FSR.UseFP16"),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@
//------------------------------------------------------------------------------
#include "FSRSubpassFilmGrain.h"

#if ENGINE_MAJOR_VERSION > 5 || (ENGINE_MAJOR_VERSION == 5 && ENGINE_MINOR_VERSION == 3)
#include <SceneRendering.h>
#endif

static TAutoConsoleVariable<int32> CVarFSRPostFSRFilmGrain(
TEXT("r.FidelityFX.FSR.Post.FilmGrain"),
1,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@
//------------------------------------------------------------------------------
#include "FSRSubpassFirst.h"

#if ENGINE_MAJOR_VERSION > 5 || (ENGINE_MAJOR_VERSION == 5 && ENGINE_MINOR_VERSION >= 2)
#include <SceneRendering.h>
#endif

void FFSRSubpassFirst::CreateResources(FRDGBuilder& GraphBuilder, const FViewInfo& View, const FInputs& PassInputs)
{
Data->FSROutputTextureDesc = PassInputs.SceneColor.Texture->Desc;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,13 @@
#include "FSRSubpassHDR.h"
#include "BlueNoise.h"

#if ENGINE_MAJOR_VERSION > 5 || (ENGINE_MAJOR_VERSION == 5 && ENGINE_MINOR_VERSION >= 2)
#include <DataDrivenShaderPlatformInfo.h>
#include <SceneRendering.h>
#endif

#if ENGINE_MAJOR_VERSION >= 5 && ENGINE_MINOR_VERSION >= 1
#include "GenericPlatform/GenericPlatformMisc.h"
#include <GenericPlatform/GenericPlatformMisc.h>
#endif

static float GFSR_HDR_PQDither = 1.0f;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@
//------------------------------------------------------------------------------
#include "FSRSubpassRCAS.h"

#if ENGINE_MAJOR_VERSION > 5 || (ENGINE_MAJOR_VERSION == 5 && ENGINE_MINOR_VERSION >= 2)
#include <DataDrivenShaderPlatformInfo.h>
#include <SceneRendering.h>
#endif

static int32 GFSR_RCAS = 1;
static FAutoConsoleVariableRef CVarFSRAddRCAS(
TEXT("r.FidelityFX.FSR.RCAS.Enabled"),
Expand Down

0 comments on commit 4d4c0d4

Please sign in to comment.