summaryrefslogtreecommitdiff
path: root/Shaders/volume_upsample.diff
blob: 13c9633b79bb8a61bf4e50edc9b917a074e9bd9d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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