xref: /aosp_15_r20/external/angle/src/libANGLE/renderer/d3d/d3d9/shaders/compiled/luminanceps.h (revision 8975f5c5ed3d1c378011245431ada316dfb6f244)
1 #if 0
2 //
3 // Generated by Microsoft (R) HLSL Shader Compiler 6.3.9600.16384
4 //
5 // Parameters:
6 //
7 //   float4 add;
8 //   float4 mult;
9 //   sampler2D tex;
10 //
11 //
12 // Registers:
13 //
14 //   Name         Reg   Size
15 //   ------------ ----- ----
16 //   mult         c0       1
17 //   add          c1       1
18 //   tex          s0       1
19 //
20 
21     ps_2_0
22     dcl t0.xy
23     dcl_2d s0
24     texld r0, t0, s0
25     mov r1.xw, c0
26     mad r0.x, r0.x, r1.x, c1.x
27     mad r0.y, r0.w, r1.w, c1.w
28     mov r1.xyz, r0.x
29     mov r1.w, r0.y
30     mov oC0, r1
31 
32 // approximately 7 instruction slots used (1 texture, 6 arithmetic)
33 #endif
34 
35 const BYTE g_ps20_luminanceps[] = {
36     0,   2,   255, 255, 254, 255, 50,  0,   67,  84,  65,  66,  28,  0,   0,   0,   143, 0,   0,
37     0,   0,   2,   255, 255, 3,   0,   0,   0,   28,  0,   0,   0,   0,   1,   0,   0,   136, 0,
38     0,   0,   88,  0,   0,   0,   2,   0,   1,   0,   1,   0,   0,   0,   92,  0,   0,   0,   0,
39     0,   0,   0,   108, 0,   0,   0,   2,   0,   0,   0,   1,   0,   0,   0,   92,  0,   0,   0,
40     0,   0,   0,   0,   113, 0,   0,   0,   3,   0,   0,   0,   1,   0,   0,   0,   120, 0,   0,
41     0,   0,   0,   0,   0,   97,  100, 100, 0,   1,   0,   3,   0,   1,   0,   4,   0,   1,   0,
42     0,   0,   0,   0,   0,   0,   109, 117, 108, 116, 0,   116, 101, 120, 0,   171, 171, 171, 4,
43     0,   12,  0,   1,   0,   1,   0,   1,   0,   0,   0,   0,   0,   0,   0,   112, 115, 95,  50,
44     95,  48,  0,   77,  105, 99,  114, 111, 115, 111, 102, 116, 32,  40,  82,  41,  32,  72,  76,
45     83,  76,  32,  83,  104, 97,  100, 101, 114, 32,  67,  111, 109, 112, 105, 108, 101, 114, 32,
46     54,  46,  51,  46,  57,  54,  48,  48,  46,  49,  54,  51,  56,  52,  0,   171, 171, 171, 31,
47     0,   0,   2,   0,   0,   0,   128, 0,   0,   3,   176, 31,  0,   0,   2,   0,   0,   0,   144,
48     0,   8,   15,  160, 66,  0,   0,   3,   0,   0,   15,  128, 0,   0,   228, 176, 0,   8,   228,
49     160, 1,   0,   0,   2,   1,   0,   9,   128, 0,   0,   228, 160, 4,   0,   0,   4,   0,   0,
50     1,   128, 0,   0,   0,   128, 1,   0,   0,   128, 1,   0,   0,   160, 4,   0,   0,   4,   0,
51     0,   2,   128, 0,   0,   255, 128, 1,   0,   255, 128, 1,   0,   255, 160, 1,   0,   0,   2,
52     1,   0,   7,   128, 0,   0,   0,   128, 1,   0,   0,   2,   1,   0,   8,   128, 0,   0,   85,
53     128, 1,   0,   0,   2,   0,   8,   15,  128, 1,   0,   228, 128, 255, 255, 0,   0};
54