aboutsummaryrefslogtreecommitdiff
path: root/disassembly/dwmcore_2219_10.asm
diff options
context:
space:
mode:
Diffstat (limited to 'disassembly/dwmcore_2219_10.asm')
-rw-r--r--disassembly/dwmcore_2219_10.asm97
1 files changed, 97 insertions, 0 deletions
diff --git a/disassembly/dwmcore_2219_10.asm b/disassembly/dwmcore_2219_10.asm
new file mode 100644
index 0000000..49178e8
--- /dev/null
+++ b/disassembly/dwmcore_2219_10.asm
@@ -0,0 +1,97 @@
+//
+// Generated by Microsoft (R) HLSL Shader Compiler 9.25.950.2675
+//
+// using 3Dmigoto v1.3.16 on Wed Feb 09 18:55:48 2022
+//
+//
+// Resource Bindings:
+//
+// Name Type Format Dim Slot Elements
+// ------------------------------ ---------- ------- ----------- ---- --------
+// SampleTextureFromInterpolatorUV1_Sampler sampler NA NA 0 1
+// SampleTextureFromInterpolatorUV2_Sampler sampler NA NA 1 1
+// SampleTextureFromInterpolatorUV1_Sampler texture float4 2d 0 1
+// SampleTextureFromInterpolatorUV2_Sampler texture float4 2d 1 1
+//
+//
+//
+// Input signature:
+//
+// Name Index Mask Register SysValue Format Used
+// -------------------- ----- ------ -------- -------- ------- ------
+// SV_POSITION 0 xyzw 0 POS float
+// TEXCOORD 0 xyzw 1 NONE float
+// TEXCOORD 1 xy 2 NONE float xy
+// TEXCOORD 2 zw 2 NONE float zw
+//
+//
+// Output signature:
+//
+// Name Index Mask Register SysValue Format Used
+// -------------------- ----- ------ -------- -------- ------- ------
+// SV_Target 0 xyzw 0 TARGET float xyzw
+//
+//
+// Sampler/Resource to DX9 shader sampler mappings:
+//
+// Target Sampler Source Sampler Source Resource
+// -------------- --------------- ----------------
+// s0 s0 t0
+// s1 s1 t1
+//
+//
+// Level9 shader bytecode:
+//
+ ps_2_0
+ def c0, 0.00313080009, 12.9200001, 0.416666657, 1
+ def c1, 1.05499995, -0.0549999997, 0, 0
+ dcl t1
+ dcl_2d s0
+ dcl_2d s1
+ mov r0.xy, t1.wzyx
+ texld r0, r0, s1
+ texld r1, t1, s0
+ mov r2.w, c0.w
+ mov_sat r1.xyz, r1
+ pow r0.x, r1.x, c0.z
+ mad r1.w, r0.x, c1.x, c1.y
+ add r0.x, -r1.x, c0.x
+ mul r0.y, r1.x, c0.y
+ cmp r2.x, r0.x, r0.y, r1.w
+ pow r0.x, r1.y, c0.z
+ mad r0.x, r0.x, c1.x, c1.y
+ add r0.y, -r1.y, c0.x
+ mul r0.z, r1.y, c0.y
+ cmp r2.y, r0.y, r0.z, r0.x
+ pow r0.x, r1.z, c0.z
+ mad r0.x, r0.x, c1.x, c1.y
+ add r0.y, -r1.z, c0.x
+ mul r0.z, r1.z, c0.y
+ cmp r2.z, r0.y, r0.z, r0.x
+ mul r0, r0.w, r2
+ mov oC0, r0
+
+// approximately 28 instruction slots used (2 texture, 26 arithmetic)
+ps_4_0
+dcl_sampler s0, mode_default
+dcl_sampler s1, mode_default
+dcl_resource_texture2d (float,float,float,float) t0
+dcl_resource_texture2d (float,float,float,float) t1
+dcl_input_ps linear v2.xy
+dcl_input_ps linear v2.zw
+dcl_output o0.xyzw
+dcl_temps 3
+sample r0.xyzw, v2.xyxx, t0.xyzw, s0
+mov_sat r0.xyz, r0.xyzx
+log r1.xyz, r0.xyzx
+mul r1.xyz, r1.xyzx, l(0.416666657, 0.416666657, 0.416666657, 0.000000)
+exp r1.xyz, r1.xyzx
+mad r1.xyz, r1.xyzx, l(1.055000, 1.055000, 1.055000, 0.000000), l(-0.055000, -0.055000, -0.055000, 0.000000)
+ge r2.xyz, l(0.00313080009, 0.00313080009, 0.00313080009, 0.000000), r0.xyzx
+mul r0.xyz, r0.xyzx, l(12.920000, 12.920000, 12.920000, 0.000000)
+movc r0.xyz, r2.xyzx, r0.xyzx, r1.xyzx
+sample r1.xyzw, v2.zwzz, t1.xyzw, s1
+mov r0.w, l(1.000000)
+mul o0.xyzw, r0.xyzw, r1.wwww
+ret
+// Approximately 13 instruction slots used