summaryrefslogtreecommitdiff
path: root/Shaders/cube_only.diff
blob: b5a5d20324e039a139e56680d7b5c5179f4fc574 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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)