summaryrefslogtreecommitdiff
path: root/Shaders/sslr.diff
diff options
context:
space:
mode:
Diffstat (limited to 'Shaders/sslr.diff')
-rw-r--r--Shaders/sslr.diff15
1 files changed, 15 insertions, 0 deletions
diff --git a/Shaders/sslr.diff b/Shaders/sslr.diff
new file mode 100644
index 0000000..041d01c
--- /dev/null
+++ b/Shaders/sslr.diff
@@ -0,0 +1,15 @@
+--- 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)