|
|
@ -1,10 +1,10 @@ |
|
|
// Each #kernel tells which function to compile; you can have many kernels |
|
|
// Each #kernel tells which function to compile; you can have many kernels |
|
|
#pragma kernel CS |
|
|
#pragma kernel CS |
|
|
|
|
|
#pragma kernel CS_HALF CS=CS_HALF FFX_HALF |
|
|
|
|
|
#pragma kernel CS_HDR CS=CS_HDR FFX_FSR2_OPTION_HDR_COLOR_INPUT |
|
|
|
|
|
|
|
|
// Some global defines are needed |
|
|
// Some global defines are needed |
|
|
#define FFX_GPU // Compiling for GPU |
|
|
#define FFX_GPU // Compiling for GPU |
|
|
#define FFX_HLSL // Compile for plain HLSL |
|
|
#define FFX_HLSL // Compile for plain HLSL |
|
|
|
|
|
|
|
|
//#define FFX_FSR2_OPTION_HDR_COLOR_INPUT // This ought to be supported in the long run |
|
|
|
|
|
|
|
|
|
|
|
#include "shaders/ffx_fsr2_rcas_pass.hlsl" |
|
|
#include "shaders/ffx_fsr2_rcas_pass.hlsl" |