From c6900a75360d31a2eb4a494c4c6438610c92ae37 Mon Sep 17 00:00:00 2001 From: Andrew Opalach Date: Thu, 25 Jun 2026 15:14:11 -0400 Subject: Cleanup Signed-off-by: Andrew Opalach --- Shaders/cube_only.diff | 15 --------------- Shaders/cube_only_ignore_cutout.diff | 15 +++++++++++++++ Shaders/sslr.diff | 15 --------------- Shaders/sslr_ignore_cutout.diff | 15 +++++++++++++++ 4 files changed, 30 insertions(+), 30 deletions(-) delete mode 100644 Shaders/cube_only.diff create mode 100644 Shaders/cube_only_ignore_cutout.diff delete mode 100644 Shaders/sslr.diff create mode 100644 Shaders/sslr_ignore_cutout.diff (limited to 'Shaders') diff --git a/Shaders/cube_only.diff b/Shaders/cube_only.diff deleted file mode 100644 index b5a5d20..0000000 --- a/Shaders/cube_only.diff +++ /dev/null @@ -1,15 +0,0 @@ ---- a/cube_only.asm 2026-03-16 15:19:43.069124404 -0400 -+++ b/cube_only.asm 2026-03-16 15:19:22.487626653 -0400 -@@ -171,6 +52,12 @@ - rcp r1.w, r1.w - ld_indexable(texture2d)(float,float,float,float) r2.xyzw, r0.xyww, t2.xyzw - ld_indexable(texture2d)(float,float,float,float) r3.xyz, r0.xyww, t3.xywz -+ ieq r4.x, r3.z, l(0x3d60e0e1) -+ and r4.x, r4.x, l(0x00404040) -+ xor r3.z, r3.z, r4.x -+ ieq r4.x, r3.z, l(0x3cc0c0c1) -+ and r4.x, r4.x, l(0x00c04040) -+ xor r3.z, r3.z, r4.x - ld_indexable(texture2d)(float,float,float,float) r4.xyz, r0.xyww, t4.xyzw - ld_indexable(texture2d)(uint,uint,uint,uint) r0.z, r0.xyzw, t5.yzxw - add r0.w, -r3.z, l(1.000000) diff --git a/Shaders/cube_only_ignore_cutout.diff b/Shaders/cube_only_ignore_cutout.diff new file mode 100644 index 0000000..b5a5d20 --- /dev/null +++ b/Shaders/cube_only_ignore_cutout.diff @@ -0,0 +1,15 @@ +--- a/cube_only.asm 2026-03-16 15:19:43.069124404 -0400 ++++ b/cube_only.asm 2026-03-16 15:19:22.487626653 -0400 +@@ -171,6 +52,12 @@ + rcp r1.w, r1.w + ld_indexable(texture2d)(float,float,float,float) r2.xyzw, r0.xyww, t2.xyzw + ld_indexable(texture2d)(float,float,float,float) r3.xyz, r0.xyww, t3.xywz ++ ieq r4.x, r3.z, l(0x3d60e0e1) ++ and r4.x, r4.x, l(0x00404040) ++ xor r3.z, r3.z, r4.x ++ ieq r4.x, r3.z, l(0x3cc0c0c1) ++ and r4.x, r4.x, l(0x00c04040) ++ xor r3.z, r3.z, r4.x + ld_indexable(texture2d)(float,float,float,float) r4.xyz, r0.xyww, t4.xyzw + ld_indexable(texture2d)(uint,uint,uint,uint) r0.z, r0.xyzw, t5.yzxw + add r0.w, -r3.z, l(1.000000) diff --git a/Shaders/sslr.diff b/Shaders/sslr.diff deleted file mode 100644 index 041d01c..0000000 --- a/Shaders/sslr.diff +++ /dev/null @@ -1,15 +0,0 @@ ---- a/sslr.asm 2026-03-16 15:19:48.982185265 -0400 -+++ b/sslr.asm 2026-03-16 15:19:28.862978198 -0400 -@@ -246,6 +90,12 @@ - mov [precise(zw)] r0.zw, l(0,0,0,0) - ld_indexable [precise(yw)](texture2d)(float,float,float,float) r1.xyzw, r0.xyww, t4.xyzw - ld_indexable [precise(xyw)](texture2d)(float,float,float,float) r2.xyzw, r0.xyww, t5.xyzw -+ ieq r4.x, r2.w, l(0x3d60e0e1) -+ and r4.x, r4.x, l(0x00404040) -+ xor r2.w, r2.w, r4.x -+ ieq r4.x, r2.w, l(0x3cc0c0c1) -+ and r4.x, r4.x, l(0x00c04040) -+ xor r2.w, r2.w, r4.x - ld_indexable [precise(xyz)](texture2d)(float,float,float,float) r3.xyz, r0.xyww, t6.xyzw - ld_indexable [precise(w)](texture2d)(uint,uint,uint,uint) r3.w, r0.xyww, t7.yzwx - mul [precise(w)] r1.w, r1.w, l(255.000000) diff --git a/Shaders/sslr_ignore_cutout.diff b/Shaders/sslr_ignore_cutout.diff new file mode 100644 index 0000000..ec97efd --- /dev/null +++ b/Shaders/sslr_ignore_cutout.diff @@ -0,0 +1,15 @@ +--- a/sslr_resolve.asm 2026-03-16 15:19:48.982185265 -0400 ++++ b/sslr_resolve.asm 2026-03-16 15:19:28.862978198 -0400 +@@ -246,6 +90,12 @@ + mov [precise(zw)] r0.zw, l(0,0,0,0) + ld_indexable [precise(yw)](texture2d)(float,float,float,float) r1.xyzw, r0.xyww, t4.xyzw + ld_indexable [precise(xyw)](texture2d)(float,float,float,float) r2.xyzw, r0.xyww, t5.xyzw ++ ieq r4.x, r2.w, l(0x3d60e0e1) ++ and r4.x, r4.x, l(0x00404040) ++ xor r2.w, r2.w, r4.x ++ ieq r4.x, r2.w, l(0x3cc0c0c1) ++ and r4.x, r4.x, l(0x00c04040) ++ xor r2.w, r2.w, r4.x + ld_indexable [precise(xyz)](texture2d)(float,float,float,float) r3.xyz, r0.xyww, t6.xyzw + ld_indexable [precise(w)](texture2d)(uint,uint,uint,uint) r3.w, r0.xyww, t7.yzwx + mul [precise(w)] r1.w, r1.w, l(255.000000) -- cgit v1.2.3-101-g0448