diff options
Diffstat (limited to 'disassembly/dwmcore_2119_10.asm')
-rw-r--r-- | disassembly/dwmcore_2119_10.asm | 114 |
1 files changed, 114 insertions, 0 deletions
diff --git a/disassembly/dwmcore_2119_10.asm b/disassembly/dwmcore_2119_10.asm new file mode 100644 index 0000000..559727b --- /dev/null +++ b/disassembly/dwmcore_2119_10.asm @@ -0,0 +1,114 @@ +// +// Generated by Microsoft (R) HLSL Shader Compiler 9.25.950.2675 +// +// using 3Dmigoto v1.3.16 on Wed Feb 09 18:55:48 2022 +// +// +// Buffer Definitions: +// +// cbuffer cbPSUpdateEveryCall +// { +// +// struct +// { +// +// struct +// { +// +// float4 color; // Offset: 0 +// +// } SetColorValue_PS2_ConstantTable;// Offset: 0 +// +// } Data_PS; // Offset: 0 Size: 16 +// +// } +// +// +// Resource Bindings: +// +// Name Type Format Dim Slot Elements +// ------------------------------ ---------- ------- ----------- ---- -------- +// SuperSampleTextureFromInterpolatorUV1_Sampler sampler NA NA 0 1 +// SuperSampleTextureFromInterpolatorUV1_Sampler texture float4 2d 0 1 +// cbPSUpdateEveryCall cbuffer NA NA 0 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 xyzw 2 NONE float xyzw +// TEXCOORD 2 xyzw 3 NONE float xyzw +// TEXCOORD 3 xyzw 4 NONE float xyzw +// +// +// Output signature: +// +// Name Index Mask Register SysValue Format Used +// -------------------- ----- ------ -------- -------- ------- ------ +// SV_Target 0 xyzw 0 TARGET float xyzw +// +// +// Constant buffer to DX9 shader constant mappings: +// +// Target Reg Buffer Start Reg # of Regs Data Conversion +// ---------- ------- --------- --------- ---------------------- +// c0 cb0 0 1 ( FLT, FLT, FLT, FLT) +// +// +// Sampler/Resource to DX9 shader sampler mappings: +// +// Target Sampler Source Sampler Source Resource +// -------------- --------------- ---------------- +// s0 s0 t0 +// +// +// Level9 shader bytecode: +// + ps_2_0 + def c1, 0.25, 0, 0, 0 + dcl t1 + dcl t2 + dcl t3 + dcl_2d s0 + mov r0.x, t1.z + mov r0.y, t1.w + mov r1.x, t2.z + mov r1.y, t2.w + texld r0, r0, s0 + texld r2, t1, s0 + texld r3, t2, s0 + texld r1, r1, s0 + add r0, r0, r2 + add r0, r3, r0 + add r0, r1, r0 + mul r0.w, r0.w, c0.w + mul r1, r0, t3 + mul r0, r1, c1.x + mov oC0, r0 + +// approximately 15 instruction slots used (4 texture, 11 arithmetic) +ps_4_0 +dcl_constantbuffer cb0[1], immediateIndexed +dcl_sampler s0, mode_default +dcl_resource_texture2d (float,float,float,float) t0 +dcl_input_ps linear v2.xyzw +dcl_input_ps linear v3.xyzw +dcl_input_ps linear v4.xyzw +dcl_output o0.xyzw +dcl_temps 2 +sample r0.xyzw, v2.xyxx, t0.xyzw, s0 +sample r1.xyzw, v2.zwzz, t0.xyzw, s0 +add r0.xyzw, r0.xyzw, r1.xyzw +sample r1.xyzw, v3.xyxx, t0.xyzw, s0 +add r0.xyzw, r0.xyzw, r1.xyzw +sample r1.xyzw, v3.zwzz, t0.xyzw, s0 +add r0.xyzw, r0.xyzw, r1.xyzw +mul r0.w, r0.w, cb0[0].w +mul r1.xyzw, r0.xyzw, v4.xyzw +mul o0.xyzw, r1.xyzw, l(0.250000, 0.250000, 0.250000, 0.250000) +ret +// Approximately 11 instruction slots used |