aboutsummaryrefslogtreecommitdiff
path: root/disassembly/dwmcore_2043_10.asm
blob: d1991175a68a8f2c0706a99c34998e83c3a10416 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
//
// Generated by Microsoft (R) HLSL Shader Compiler 9.25.950.2675
//
//   using 3Dmigoto v1.3.16 on Wed Feb 09 18:55:49 2022
//
//
// Buffer Definitions:
//
// cbuffer cbPSUpdateEveryCall
// {
//
//   struct
//   {
//
//       struct
//       {
//
//           float4 color;              // Offset:    0
//
//       } SetColorValue_PS1_ConstantTable;// Offset:    0
//
//   } Data_PS;                         // Offset:    0 Size:    16
//
// }
//
//
// Resource Bindings:
//
// Name                                 Type  Format         Dim Slot Elements
// ------------------------------ ---------- ------- ----------- ---- --------
// 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      w
// TEXCOORD                 2   xyzw        3     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)
//
//
// Level9 shader bytecode:
//
    ps_2_0
    dcl t1
    dcl t2
    mul r0.w, t1.w, c0.w
    mul r0.w, r0.w, t2.w
    mul r0.xyz, t2, c0
    mov oC0, r0

// approximately 4 instruction slots used
ps_4_0
dcl_constantbuffer cb0[1], immediateIndexed
dcl_input_ps linear v2.w
dcl_input_ps linear v3.xyzw
dcl_output o0.xyzw
dcl_temps 1
mul r0.x, v2.w, cb0[0].w
mul o0.w, r0.x, v3.w
mul o0.xyz, v3.xyzx, cb0[0].xyzx
ret
// Approximately 4 instruction slots used