From 1c452018e1378753f8ab3c23bf6e2e6ed36db211 Mon Sep 17 00:00:00 2001 From: Kelsi Date: Sun, 8 Mar 2026 20:35:52 -0700 Subject: [PATCH] Fix AMD CI shader permutations for tcr/autoreactive passes --- .github/workflows/build.yml | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e4c2fb53..ca36f60d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -137,7 +137,6 @@ jobs: comp -Os -DFFX_GLSL=1 - -DFFX_FSR2_OPTION_REPROJECT_USE_LANCZOS_TYPE={0,1} -DFFX_FSR2_OPTION_HDR_COLOR_INPUT={0,1} -DFFX_FSR2_OPTION_LOW_RESOLUTION_MOTION_VECTORS={0,1} -DFFX_FSR2_OPTION_JITTERED_MOTION_VECTORS={0,1} @@ -145,6 +144,10 @@ jobs: -DFFX_FSR2_OPTION_APPLY_SHARPENING={0,1} ) + REPROJECT_PERM_ARGS=( + -DFFX_FSR2_OPTION_REPROJECT_USE_LANCZOS_TYPE={0,1} + ) + PASSES=( ffx_fsr2_tcr_autogen_pass ffx_fsr2_autogen_reactive_pass @@ -158,10 +161,17 @@ jobs: for pass in "${PASSES[@]}"; do HALF_ARG="-DFFX_HALF={0,1}" + PERM_ARGS=("${BASE_ARGS[@]}") if [ "$pass" = "ffx_fsr2_compute_luminance_pyramid_pass" ]; then HALF_ARG="-DFFX_HALF=0" fi - wine "$SC" "${BASE_ARGS[@]}" "$HALF_ARG" \ + + # Only passes that include reproject path should receive this option permutation. + if [ "$pass" = "ffx_fsr2_accumulate_pass" ] || [ "$pass" = "ffx_fsr2_rcas_pass" ]; then + PERM_ARGS+=("${REPROJECT_PERM_ARGS[@]}") + fi + + wine "$SC" "${PERM_ARGS[@]}" "$HALF_ARG" \ "-name=${pass}" \ "-I${SHADER_DIR}" \ "-output=${OUT_DIR}" \