summaryrefslogtreecommitdiff
path: root/Shaders/volume_upsample.diff
diff options
context:
space:
mode:
authorAndrew Opalach <andrew@akon.city> 2026-03-16 16:03:52 -0400
committerAndrew Opalach <andrew@akon.city> 2026-03-16 16:03:52 -0400
commita6fcd3f4c75651e08c4392dea8a77b7fed1c2fe5 (patch)
treebe60df9efc6961ceb2e96b8411a688ec4e5ed4d6 /Shaders/volume_upsample.diff
downloadWorldTuningTool-a6fcd3f4c75651e08c4392dea8a77b7fed1c2fe5.tar.gz
WorldTuningTool-a6fcd3f4c75651e08c4392dea8a77b7fed1c2fe5.tar.bz2
WorldTuningTool-a6fcd3f4c75651e08c4392dea8a77b7fed1c2fe5.zip
Outline of new features
Signed-off-by: Andrew Opalach <andrew@akon.city>
Diffstat (limited to 'Shaders/volume_upsample.diff')
-rw-r--r--Shaders/volume_upsample.diff22
1 files changed, 22 insertions, 0 deletions
diff --git a/Shaders/volume_upsample.diff b/Shaders/volume_upsample.diff
new file mode 100644
index 0000000..13c9633
--- /dev/null
+++ b/Shaders/volume_upsample.diff
@@ -0,0 +1,22 @@
+--- a/volume_upsample.asm 2026-03-16 15:19:54.032009332 -0400
++++ b/volume_upsample.asm 2026-03-16 15:19:36.341817879 -0400
+@@ -235,16 +155,9 @@
+ ld_indexable(texture2d)(float,float,float,float) r1.yzw, r2.xyzz, t3.wxyz
+ ld_indexable(texture2d)(float,float,float,float) r3.xyz, r2.xyzz, t4.xyzw
+ else
+- if_nz r1.x
+- mul r0.xy, r0.xyxx, cb3[2].xyxx
+- mul r0.xy, r0.xyxx, cb1[4].zzzz
+- sample_l_indexable(texture2d)(float,float,float,float) r1.yzw, r0.xyxx, t0.wxyz, s0, l(0.000000)
+- sample_l_indexable(texture2d)(float,float,float,float) r3.xyz, r0.xyxx, t1.xyzw, s0, l(0.000000)
+- else
+- mov r2.w, l(0)
+- ld_indexable(texture2d)(float,float,float,float) r1.yzw, r2.xyww, t0.wxyz
+- ld_indexable(texture2d)(float,float,float,float) r3.xyz, r2.xyww, t1.xyzw
+- endif
++ mov r2.w, l(0)
++ ld_indexable(texture2d)(float,float,float,float) r1.yzw, r2.xyww, t0.wxyz
++ ld_indexable(texture2d)(float,float,float,float) r3.xyz, r2.xyww, t1.xyzw
+ endif
+ store_uav_typed u0.xyzw, vThreadID.xyyy, r0.wwww
+ store_uav_typed u1.xyzw, vThreadID.xyyy, r1.yzwy