From bd18c12408495a2b88df7c05f6b675c6d56c0db9 Mon Sep 17 00:00:00 2001 From: Nico de Poel Date: Mon, 24 Mar 2025 18:40:07 +0100 Subject: [PATCH] Updated PSSL target output format pragmas with what *should* be the correct values, though the PS5 still disagrees with this --- .../ASR/Shaders/shaders/ffxm_fsr2_accumulate_pass_fs.hlsl | 2 ++ .../ASR/Shaders/shaders/ffxm_fsr2_autogen_reactive_pass_fs.hlsl | 2 +- .../ASR/Shaders/shaders/ffxm_fsr2_depth_clip_pass_fs.hlsl | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Packages/com.unity.postprocessing@3.2.2/PostProcessing/Runtime/Effects/Upscaling/ASR/Shaders/shaders/ffxm_fsr2_accumulate_pass_fs.hlsl b/Packages/com.unity.postprocessing@3.2.2/PostProcessing/Runtime/Effects/Upscaling/ASR/Shaders/shaders/ffxm_fsr2_accumulate_pass_fs.hlsl index a5959f7..10d9508 100644 --- a/Packages/com.unity.postprocessing@3.2.2/PostProcessing/Runtime/Effects/Upscaling/ASR/Shaders/shaders/ffxm_fsr2_accumulate_pass_fs.hlsl +++ b/Packages/com.unity.postprocessing@3.2.2/PostProcessing/Runtime/Effects/Upscaling/ASR/Shaders/shaders/ffxm_fsr2_accumulate_pass_fs.hlsl @@ -57,7 +57,9 @@ #include "fsr2/ffxm_fsr2_accumulate.h" #if defined(SHADER_API_PSSL) +#pragma PSSL_target_output_format(target 0 FMT_FP16_ABGR) #pragma PSSL_target_output_format(target 1 FMT_FP16_ABGR) +#pragma PSSL_target_output_format(target 2 FMT_FP16_ABGR) #endif struct AccumulateOutputsFS diff --git a/Packages/com.unity.postprocessing@3.2.2/PostProcessing/Runtime/Effects/Upscaling/ASR/Shaders/shaders/ffxm_fsr2_autogen_reactive_pass_fs.hlsl b/Packages/com.unity.postprocessing@3.2.2/PostProcessing/Runtime/Effects/Upscaling/ASR/Shaders/shaders/ffxm_fsr2_autogen_reactive_pass_fs.hlsl index 24172a5..64b5b29 100644 --- a/Packages/com.unity.postprocessing@3.2.2/PostProcessing/Runtime/Effects/Upscaling/ASR/Shaders/shaders/ffxm_fsr2_autogen_reactive_pass_fs.hlsl +++ b/Packages/com.unity.postprocessing@3.2.2/PostProcessing/Runtime/Effects/Upscaling/ASR/Shaders/shaders/ffxm_fsr2_autogen_reactive_pass_fs.hlsl @@ -37,7 +37,7 @@ #include "fsr2/ffxm_fsr2_common.h" #if defined(SHADER_API_PSSL) -#pragma PSSL_target_output_format(default FMT_32_R) +#pragma PSSL_target_output_format(default FMT_FP16_ABGR) #endif struct GenReactiveMaskOutputs diff --git a/Packages/com.unity.postprocessing@3.2.2/PostProcessing/Runtime/Effects/Upscaling/ASR/Shaders/shaders/ffxm_fsr2_depth_clip_pass_fs.hlsl b/Packages/com.unity.postprocessing@3.2.2/PostProcessing/Runtime/Effects/Upscaling/ASR/Shaders/shaders/ffxm_fsr2_depth_clip_pass_fs.hlsl index d9db178..86f042a 100644 --- a/Packages/com.unity.postprocessing@3.2.2/PostProcessing/Runtime/Effects/Upscaling/ASR/Shaders/shaders/ffxm_fsr2_depth_clip_pass_fs.hlsl +++ b/Packages/com.unity.postprocessing@3.2.2/PostProcessing/Runtime/Effects/Upscaling/ASR/Shaders/shaders/ffxm_fsr2_depth_clip_pass_fs.hlsl @@ -47,6 +47,7 @@ #if defined(SHADER_API_PSSL) #pragma PSSL_target_output_format(target 0 FMT_FP16_ABGR) +#pragma PSSL_target_output_format(target 1 FMT_FP16_ABGR) #endif struct DepthClipOutputsFS