summaryrefslogtreecommitdiff
path: root/Shaders/volume_upsample1.diff
diff options
context:
space:
mode:
authorAndrew Opalach <andrew@akon.city> 2026-04-06 15:27:06 -0400
committerAndrew Opalach <andrew@akon.city> 2026-04-06 15:27:06 -0400
commit4f31c9e16b58eeb1e914d58a4e92b8adc6529450 (patch)
tree1ad489f306690b2bc81a93df78732aa08f5c77e6 /Shaders/volume_upsample1.diff
parentf0551fb20f92753e8d97bb746e3563364d09e7d9 (diff)
downloadWorldTuningTool-4f31c9e16b58eeb1e914d58a4e92b8adc6529450.tar.gz
WorldTuningTool-4f31c9e16b58eeb1e914d58a4e92b8adc6529450.tar.bz2
WorldTuningTool-4f31c9e16b58eeb1e914d58a4e92b8adc6529450.zip
Cleanup volume upsample stuff
Signed-off-by: Andrew Opalach <andrew@akon.city>
Diffstat (limited to 'Shaders/volume_upsample1.diff')
-rw-r--r--Shaders/volume_upsample1.diff19
1 files changed, 19 insertions, 0 deletions
diff --git a/Shaders/volume_upsample1.diff b/Shaders/volume_upsample1.diff
new file mode 100644
index 0000000..190a6ec
--- /dev/null
+++ b/Shaders/volume_upsample1.diff
@@ -0,0 +1,19 @@
+--- a/volume_upsample1.asm 2026-04-06 14:22:44.767716700 -0400
++++ b/volume_upsample1.asm 2026-04-06 14:10:12.184989600 -0400
+@@ -235,16 +235,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
+ endif
+ store_uav_typed u0.xyzw, vThreadID.xyyy, r0.wwww
+ store_uav_typed u1.xyzw, vThreadID.xyyy, r1.yzwy