From f95ab007d2f3baac0b1c6f7e0f818f32584efe00 Mon Sep 17 00:00:00 2001 From: Dusk-92 Date: Sat, 29 Aug 2026 11:31:02 +0200 Subject: [PATCH] Fix V36 build workflow YAML --- .github/workflows/v36-retail-soft-build.yml | 74 +++++++++------------ 1 file changed, 31 insertions(+), 43 deletions(-) diff --git a/.github/workflows/v36-retail-soft-build.yml b/.github/workflows/v36-retail-soft-build.yml index 27227a3..182fb92 100644 --- a/.github/workflows/v36-retail-soft-build.yml +++ b/.github/workflows/v36-retail-soft-build.yml @@ -25,34 +25,36 @@ jobs: s = p.read_text() start = s.index('/// V32 POLISH: hard 3px outline, no feather.') end = s.index('/// Debug: composite silhouette RT directly.') - new = '''/// V36 RETAIL-SOFT: keep the proven V34 JFA, soften only final decode. -/// c0 = (screen_width, screen_height, core_radius_px, halo_radius_px). -/// Uses the same two texture reads as V34: no 17-tap full-screen morphology. -const jfa_decode_src = - "ps_3_0\\n" ++ - "def c1, 0.0, 0.22, 0.82, -0.002\\n" ++ - "def c2, 1.0, 0.95, 0.58, 0.0\\n" ++ - "dcl_2d s0\\n" ++ - "dcl_2d s1\\n" ++ - "dcl_texcoord0 v0\\n" ++ - "texld r0, v0, s0\\n" ++ - "sub r1.xy, v0.xy, r0.xy\\n" ++ - "mul r1.xy, r1.xy, c0.xy\\n" ++ - "dp2add r1.z, r1, r1, c1.x\\n" ++ - "mul r3.x, c0.z, c0.z\\n" ++ - "mul r3.y, c0.w, c0.w\\n" ++ - "sub r4.x, r1.z, r3.y\\n" ++ - "cmp r6.w, r4.x, c1.x, c1.y\\n" ++ - "sub r4.x, r1.z, r3.x\\n" ++ - "cmp r6.w, r4.x, r6.w, c1.z\\n" ++ - "texld r5, v0, s1\\n" ++ - "add r5.x, r5.a, c1.w\\n" ++ - "cmp r6.w, r5.x, c1.x, r6.w\\n" ++ - "mov r6.xyz, c2.xyz\\n" ++ - "mov oC0, r6\\n"; - -''' - s = s[:start] + new + s[end:] + lines = [ + '/// V36 RETAIL-SOFT: keep the proven V34 JFA, soften only final decode.', + '/// c0 = (screen_width, screen_height, core_radius_px, halo_radius_px).', + '/// Uses the same two texture reads as V34: no 17-tap full-screen morphology.', + 'const jfa_decode_src =', + ' "ps_3_0\\n" ++', + ' "def c1, 0.0, 0.22, 0.82, -0.002\\n" ++', + ' "def c2, 1.0, 0.95, 0.58, 0.0\\n" ++', + ' "dcl_2d s0\\n" ++', + ' "dcl_2d s1\\n" ++', + ' "dcl_texcoord0 v0\\n" ++', + ' "texld r0, v0, s0\\n" ++', + ' "sub r1.xy, v0.xy, r0.xy\\n" ++', + ' "mul r1.xy, r1.xy, c0.xy\\n" ++', + ' "dp2add r1.z, r1, r1, c1.x\\n" ++', + ' "mul r3.x, c0.z, c0.z\\n" ++', + ' "mul r3.y, c0.w, c0.w\\n" ++', + ' "sub r4.x, r1.z, r3.y\\n" ++', + ' "cmp r6.w, r4.x, c1.x, c1.y\\n" ++', + ' "sub r4.x, r1.z, r3.x\\n" ++', + ' "cmp r6.w, r4.x, r6.w, c1.z\\n" ++', + ' "texld r5, v0, s1\\n" ++', + ' "add r5.x, r5.a, c1.w\\n" ++', + ' "cmp r6.w, r5.x, c1.x, r6.w\\n" ++', + ' "mov r6.xyz, c2.xyz\\n" ++', + ' "mov oC0, r6\\n";', + '', + '', + ] + s = s[:start] + '\n'.join(lines) + s[end:] old = ' // V34: hard 3px edge unchanged; JFA seed precision is now full-float.\n c0 = [4]f32{ fw, fh, 3.0, 0.0 };' new_cpu = ' // V36: thin 1.5px core plus a subtle 3px halo.\n c0 = [4]f32{ fw, fh, 1.5, 3.0 };' if old not in s: @@ -90,21 +92,7 @@ const jfa_decode_src = cp src/outline/addon/Bindings.xml package/Interface/AddOns/WeirdUtils_Outline/Bindings.xml cp src/outline/addon/Outline.lua package/Interface/AddOns/WeirdUtils_Outline/Outline.lua cp src/outline/addon/WeirdUtils_Outline.toc package/Interface/AddOns/WeirdUtils_Outline/WeirdUtils_Outline.toc - cat > package/README_TEST.txt <<'EOF' - WeirdUtils V36 Retail Soft - - Based directly on stable/outline-v34-autofix. - Keeps automatic target sync + automatic D3D9 rehook. - - Visual experiment only: - - Proven V34 G32R32F JFA pipeline retained. - - Only final decode changed. - - ~1.5px pale core, ~3px subtle halo. - - Same two decode texture reads as V34. - - No 17-tap morphology shader. - - WeirdPerformance is not built or modified. - EOF + printf '%s\n' 'WeirdUtils V36 Retail Soft' 'Base: stable V34 AutoFix' 'Visual: 1.5px pale core + 3px subtle halo, V34 JFA retained.' 'No 17-tap morphology shader.' 'WeirdPerformance is not built or modified.' > package/README_TEST.txt ( cd package sha256sum DLL/*.dll > SHA256SUMS.txt