mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-22 23:30:14 +00:00
Fix AMD CI shader permutations for tcr/autoreactive passes
This commit is contained in:
parent
96f7728227
commit
1c452018e1
1 changed files with 12 additions and 2 deletions
14
.github/workflows/build.yml
vendored
14
.github/workflows/build.yml
vendored
|
|
@ -137,7 +137,6 @@ jobs:
|
||||||
comp
|
comp
|
||||||
-Os
|
-Os
|
||||||
-DFFX_GLSL=1
|
-DFFX_GLSL=1
|
||||||
-DFFX_FSR2_OPTION_REPROJECT_USE_LANCZOS_TYPE={0,1}
|
|
||||||
-DFFX_FSR2_OPTION_HDR_COLOR_INPUT={0,1}
|
-DFFX_FSR2_OPTION_HDR_COLOR_INPUT={0,1}
|
||||||
-DFFX_FSR2_OPTION_LOW_RESOLUTION_MOTION_VECTORS={0,1}
|
-DFFX_FSR2_OPTION_LOW_RESOLUTION_MOTION_VECTORS={0,1}
|
||||||
-DFFX_FSR2_OPTION_JITTERED_MOTION_VECTORS={0,1}
|
-DFFX_FSR2_OPTION_JITTERED_MOTION_VECTORS={0,1}
|
||||||
|
|
@ -145,6 +144,10 @@ jobs:
|
||||||
-DFFX_FSR2_OPTION_APPLY_SHARPENING={0,1}
|
-DFFX_FSR2_OPTION_APPLY_SHARPENING={0,1}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
REPROJECT_PERM_ARGS=(
|
||||||
|
-DFFX_FSR2_OPTION_REPROJECT_USE_LANCZOS_TYPE={0,1}
|
||||||
|
)
|
||||||
|
|
||||||
PASSES=(
|
PASSES=(
|
||||||
ffx_fsr2_tcr_autogen_pass
|
ffx_fsr2_tcr_autogen_pass
|
||||||
ffx_fsr2_autogen_reactive_pass
|
ffx_fsr2_autogen_reactive_pass
|
||||||
|
|
@ -158,10 +161,17 @@ jobs:
|
||||||
|
|
||||||
for pass in "${PASSES[@]}"; do
|
for pass in "${PASSES[@]}"; do
|
||||||
HALF_ARG="-DFFX_HALF={0,1}"
|
HALF_ARG="-DFFX_HALF={0,1}"
|
||||||
|
PERM_ARGS=("${BASE_ARGS[@]}")
|
||||||
if [ "$pass" = "ffx_fsr2_compute_luminance_pyramid_pass" ]; then
|
if [ "$pass" = "ffx_fsr2_compute_luminance_pyramid_pass" ]; then
|
||||||
HALF_ARG="-DFFX_HALF=0"
|
HALF_ARG="-DFFX_HALF=0"
|
||||||
fi
|
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}" \
|
"-name=${pass}" \
|
||||||
"-I${SHADER_DIR}" \
|
"-I${SHADER_DIR}" \
|
||||||
"-output=${OUT_DIR}" \
|
"-output=${OUT_DIR}" \
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue