Browse Source

Redefine HLSL globallycoherent as PSSL global_memory. The shader compiler seems to like it, and as far as I can tell it should serve the same purpose.

mac-autoexp
Nico de Poel 3 years ago
parent
commit
fbb3080696
  1. 2
      Assets/Resources/FSR2/shaders/ffx_common_types.h

2
Assets/Resources/FSR2/shaders/ffx_common_types.h

@ -278,7 +278,7 @@ typedef min16int4 FfxInt16x4;
#define FFX_16BIT_MATRIX( TypeName, BaseComponentType, ROW, COL ) typedef BaseComponentType##ROW##x##COL TypeName; #define FFX_16BIT_MATRIX( TypeName, BaseComponentType, ROW, COL ) typedef BaseComponentType##ROW##x##COL TypeName;
#define unorm #define unorm
#define globallycoherent
#define globallycoherent global_memory
#else //FFX_HALF #else //FFX_HALF

Loading…
Cancel
Save