Skip to content

Commit 74cced2

Browse files
SuperResolution: move FSR shaders under ThirdParty
1 parent 9016404 commit 74cced2

File tree

11 files changed

+13
-11
lines changed

11 files changed

+13
-11
lines changed

Graphics/SuperResolution/CMakeLists.txt

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -65,21 +65,23 @@ set(SOURCE
6565
src/SuperResolutionFactory.cpp
6666
)
6767

68+
set(FSR_SHADERS_DIR ${CMAKE_CURRENT_SOURCE_DIR}/../../ThirdParty/FSR/shaders)
69+
6870
if(DILIGENT_FSR_SUPPORTED)
6971
set(FSR_SHADERS
7072
${CMAKE_CURRENT_SOURCE_DIR}/shaders/FSR_FullQuad.fx
7173
${CMAKE_CURRENT_SOURCE_DIR}/shaders/FSRStructures.fxh
7274
${CMAKE_CURRENT_SOURCE_DIR}/shaders/FSR_EdgeAdaptiveUpsampling.fx
7375
${CMAKE_CURRENT_SOURCE_DIR}/shaders/FSR_ContrastAdaptiveSharpening.fx
74-
${CMAKE_CURRENT_SOURCE_DIR}/shaders/fsr1/ffx_common_types.h
75-
${CMAKE_CURRENT_SOURCE_DIR}/shaders/fsr1/ffx_core.h
76-
${CMAKE_CURRENT_SOURCE_DIR}/shaders/fsr1/ffx_core_cpu.h
77-
${CMAKE_CURRENT_SOURCE_DIR}/shaders/fsr1/ffx_core_glsl.h
78-
${CMAKE_CURRENT_SOURCE_DIR}/shaders/fsr1/ffx_core_gpu_common.h
79-
${CMAKE_CURRENT_SOURCE_DIR}/shaders/fsr1/ffx_core_gpu_common_half.h
80-
${CMAKE_CURRENT_SOURCE_DIR}/shaders/fsr1/ffx_core_hlsl.h
81-
${CMAKE_CURRENT_SOURCE_DIR}/shaders/fsr1/ffx_core_portability.h
82-
${CMAKE_CURRENT_SOURCE_DIR}/shaders/fsr1/ffx_fsr1.h
76+
${FSR_SHADERS_DIR}/ffx_common_types.h
77+
${FSR_SHADERS_DIR}/ffx_core.h
78+
${FSR_SHADERS_DIR}/ffx_core_cpu.h
79+
${FSR_SHADERS_DIR}/ffx_core_glsl.h
80+
${FSR_SHADERS_DIR}/ffx_core_gpu_common.h
81+
${FSR_SHADERS_DIR}/ffx_core_gpu_common_half.h
82+
${FSR_SHADERS_DIR}/ffx_core_hlsl.h
83+
${FSR_SHADERS_DIR}/ffx_core_portability.h
84+
${FSR_SHADERS_DIR}/ffx_fsr1.h
8385
)
8486
set_source_files_properties(${FSR_SHADERS} PROPERTIES VS_TOOL_OVERRIDE "None")
8587

Graphics/SuperResolution/src/FSRProvider.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ namespace Diligent
4343
namespace HLSL
4444
{
4545
#define FFX_CPU
46-
#include "../shaders/fsr1/ffx_core.h"
47-
#include "../shaders/fsr1/ffx_fsr1.h"
46+
#include "../../ThirdParty/FSR/shaders/ffx_core.h"
47+
#include "../../ThirdParty/FSR/shaders/ffx_fsr1.h"
4848
#undef FFX_CPU
4949

5050
#include "../shaders/FSRStructures.fxh"
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

Graphics/SuperResolution/shaders/fsr1/ffx_core_gpu_common_half.h renamed to ThirdParty/FSR/shaders/ffx_core_gpu_common_half.h

File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)