summaryrefslogtreecommitdiff
path: root/Shaders/cube_only_ignore_cutout.diff
diff options
context:
space:
mode:
Diffstat (limited to 'Shaders/cube_only_ignore_cutout.diff')
-rw-r--r--Shaders/cube_only_ignore_cutout.diff15
1 files changed, 15 insertions, 0 deletions
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)