xref: /aosp_15_r20/external/angle/src/libANGLE/renderer/d3d/d3d11/shaders/compiled/resolvecolor2dps.h (revision 8975f5c5ed3d1c378011245431ada316dfb6f244)
1 #if 0
2 //
3 // Generated by Microsoft (R) HLSL Shader Compiler 10.1
4 //
5 //
6 // Resource Bindings:
7 //
8 // Name                                 Type  Format         Dim      HLSL Bind  Count
9 // ------------------------------ ---------- ------- ----------- -------------- ------
10 // TextureF_MS                       texture  float4        2dMS             t0      1
11 //
12 //
13 //
14 // Input signature:
15 //
16 // Name                 Index   Mask Register SysValue  Format   Used
17 // -------------------- ----- ------ -------- -------- ------- ------
18 // SV_POSITION              0   xyzw        0      POS   float
19 // TEXCOORD                 0   xy          1     NONE   float   xy
20 //
21 //
22 // Output signature:
23 //
24 // Name                 Index   Mask Register SysValue  Format   Used
25 // -------------------- ----- ------ -------- -------- ------- ------
26 // SV_TARGET                0   xyzw        0   TARGET   float   xyzw
27 //
28 ps_4_1
29 dcl_globalFlags refactoringAllowed
30 dcl_resource_texture2dms(0) (float,float,float,float) t0
31 dcl_input_ps linear v1.xy
32 dcl_output o0.xyzw
33 dcl_temps 4
34 resinfo_uint r0.xy, l(0), t0.xyzw
35 sampleinfo_uint r0.z, t0.x
36 utof r0.xy, r0.xyxx
37 mul r0.xy, r0.xyxx, v1.xyxx
38 ftou r1.xy, r0.xyxx
39 mov r1.zw, l(0,0,0,0)
40 mov r2.xyzw, l(0,0,0,0)
41 mov r0.x, l(0)
42 loop
43   uge r0.y, r0.x, r0.z
44   breakc_nz r0.y
45   ldms r3.xyzw, r1.xyzw, t0.xyzw, r0.x
46   add r2.xyzw, r2.xyzw, r3.xyzw
47   iadd r0.x, r0.x, l(1)
48 endloop
49 sampleinfo r0.x, t0.x
50 div o0.xyzw, r2.xyzw, r0.xxxx
51 ret
52 // Approximately 18 instruction slots used
53 #endif
54 
55 const BYTE g_PS_ResolveColor2D[] = {
56     68,  88,  66,  67,  93,  61,  55,  147, 13,  181, 1,   129, 207, 120, 176, 100, 210, 126, 243,
57     242, 1,   0,   0,   0,   128, 3,   0,   0,   5,   0,   0,   0,   52,  0,   0,   0,   172, 0,
58     0,   0,   4,   1,   0,   0,   56,  1,   0,   0,   4,   3,   0,   0,   82,  68,  69,  70,  112,
59     0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   1,   0,   0,   0,   28,  0,   0,   0,
60     1,   4,   255, 255, 0,   1,   0,   0,   72,  0,   0,   0,   60,  0,   0,   0,   2,   0,   0,
61     0,   5,   0,   0,   0,   6,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   1,   0,
62     0,   0,   13,  0,   0,   0,   84,  101, 120, 116, 117, 114, 101, 70,  95,  77,  83,  0,   77,
63     105, 99,  114, 111, 115, 111, 102, 116, 32,  40,  82,  41,  32,  72,  76,  83,  76,  32,  83,
64     104, 97,  100, 101, 114, 32,  67,  111, 109, 112, 105, 108, 101, 114, 32,  49,  48,  46,  49,
65     0,   73,  83,  71,  78,  80,  0,   0,   0,   2,   0,   0,   0,   8,   0,   0,   0,   56,  0,
66     0,   0,   0,   0,   0,   0,   1,   0,   0,   0,   3,   0,   0,   0,   0,   0,   0,   0,   15,
67     0,   0,   0,   68,  0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   3,   0,   0,   0,
68     1,   0,   0,   0,   3,   3,   0,   0,   83,  86,  95,  80,  79,  83,  73,  84,  73,  79,  78,
69     0,   84,  69,  88,  67,  79,  79,  82,  68,  0,   171, 171, 171, 79,  83,  71,  78,  44,  0,
70     0,   0,   1,   0,   0,   0,   8,   0,   0,   0,   32,  0,   0,   0,   0,   0,   0,   0,   0,
71     0,   0,   0,   3,   0,   0,   0,   0,   0,   0,   0,   15,  0,   0,   0,   83,  86,  95,  84,
72     65,  82,  71,  69,  84,  0,   171, 171, 83,  72,  68,  82,  196, 1,   0,   0,   65,  0,   0,
73     0,   113, 0,   0,   0,   106, 8,   0,   1,   88,  32,  0,   4,   0,   112, 16,  0,   0,   0,
74     0,   0,   85,  85,  0,   0,   98,  16,  0,   3,   50,  16,  16,  0,   1,   0,   0,   0,   101,
75     0,   0,   3,   242, 32,  16,  0,   0,   0,   0,   0,   104, 0,   0,   2,   4,   0,   0,   0,
76     61,  16,  0,   7,   50,  0,   16,  0,   0,   0,   0,   0,   1,   64,  0,   0,   0,   0,   0,
77     0,   70,  126, 16,  0,   0,   0,   0,   0,   111, 8,   0,   5,   66,  0,   16,  0,   0,   0,
78     0,   0,   10,  112, 16,  0,   0,   0,   0,   0,   86,  0,   0,   5,   50,  0,   16,  0,   0,
79     0,   0,   0,   70,  0,   16,  0,   0,   0,   0,   0,   56,  0,   0,   7,   50,  0,   16,  0,
80     0,   0,   0,   0,   70,  0,   16,  0,   0,   0,   0,   0,   70,  16,  16,  0,   1,   0,   0,
81     0,   28,  0,   0,   5,   50,  0,   16,  0,   1,   0,   0,   0,   70,  0,   16,  0,   0,   0,
82     0,   0,   54,  0,   0,   8,   194, 0,   16,  0,   1,   0,   0,   0,   2,   64,  0,   0,   0,
83     0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   54,  0,   0,   8,
84     242, 0,   16,  0,   2,   0,   0,   0,   2,   64,  0,   0,   0,   0,   0,   0,   0,   0,   0,
85     0,   0,   0,   0,   0,   0,   0,   0,   0,   54,  0,   0,   5,   18,  0,   16,  0,   0,   0,
86     0,   0,   1,   64,  0,   0,   0,   0,   0,   0,   48,  0,   0,   1,   80,  0,   0,   7,   34,
87     0,   16,  0,   0,   0,   0,   0,   10,  0,   16,  0,   0,   0,   0,   0,   42,  0,   16,  0,
88     0,   0,   0,   0,   3,   0,   4,   3,   26,  0,   16,  0,   0,   0,   0,   0,   46,  0,   0,
89     9,   242, 0,   16,  0,   3,   0,   0,   0,   70,  14,  16,  0,   1,   0,   0,   0,   70,  126,
90     16,  0,   0,   0,   0,   0,   10,  0,   16,  0,   0,   0,   0,   0,   0,   0,   0,   7,   242,
91     0,   16,  0,   2,   0,   0,   0,   70,  14,  16,  0,   2,   0,   0,   0,   70,  14,  16,  0,
92     3,   0,   0,   0,   30,  0,   0,   7,   18,  0,   16,  0,   0,   0,   0,   0,   10,  0,   16,
93     0,   0,   0,   0,   0,   1,   64,  0,   0,   1,   0,   0,   0,   22,  0,   0,   1,   111, 0,
94     0,   5,   18,  0,   16,  0,   0,   0,   0,   0,   10,  112, 16,  0,   0,   0,   0,   0,   14,
95     0,   0,   7,   242, 32,  16,  0,   0,   0,   0,   0,   70,  14,  16,  0,   2,   0,   0,   0,
96     6,   0,   16,  0,   0,   0,   0,   0,   62,  0,   0,   1,   83,  84,  65,  84,  116, 0,   0,
97     0,   18,  0,   0,   0,   4,   0,   0,   0,   0,   0,   0,   0,   2,   0,   0,   0,   3,   0,
98     0,   0,   1,   0,   0,   0,   1,   0,   0,   0,   1,   0,   0,   0,   1,   0,   0,   0,   0,
99     0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,
100     0,   0,   0,   0,   1,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,
101     0,   3,   0,   0,   0,   0,   0,   0,   0,   2,   0,   0,   0,   0,   0,   0,   0,   0,   0,
102     0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,
103     0,   0,   0};
104