Wed, 31 Dec 2014 07:16:47 +0100
Revert simplistic fix pending revisit of Mozilla integration attempt.
1 #if 0
2 //
3 // Generated by Microsoft (R) HLSL Shader Compiler 9.29.952.3111
4 //
5 // fxc /E luminanceps /T ps_2_0 /Fh compiled/luminanceps.h Blit.ps
6 //
7 //
8 // Parameters:
9 //
10 // float4 mode;
11 // sampler2D tex;
12 //
13 //
14 // Registers:
15 //
16 // Name Reg Size
17 // ------------ ----- ----
18 // mode c0 1
19 // tex s0 1
20 //
22 ps_2_0
23 dcl t0.xy
24 dcl_2d s0
25 texld r0, t0, s0
26 mad r1.w, r0.w, c0.x, c0.y
27 mov r1.xyz, r0.x
28 mov oC0, r1
30 // approximately 4 instruction slots used (1 texture, 3 arithmetic)
31 #endif
33 const BYTE g_ps20_luminanceps[] =
34 {
35 0, 2, 255, 255, 254, 255,
36 43, 0, 67, 84, 65, 66,
37 28, 0, 0, 0, 119, 0,
38 0, 0, 0, 2, 255, 255,
39 2, 0, 0, 0, 28, 0,
40 0, 0, 0, 1, 0, 0,
41 112, 0, 0, 0, 68, 0,
42 0, 0, 2, 0, 0, 0,
43 1, 0, 0, 0, 76, 0,
44 0, 0, 0, 0, 0, 0,
45 92, 0, 0, 0, 3, 0,
46 0, 0, 1, 0, 0, 0,
47 96, 0, 0, 0, 0, 0,
48 0, 0, 109, 111, 100, 101,
49 0, 171, 171, 171, 1, 0,
50 3, 0, 1, 0, 4, 0,
51 1, 0, 0, 0, 0, 0,
52 0, 0, 116, 101, 120, 0,
53 4, 0, 12, 0, 1, 0,
54 1, 0, 1, 0, 0, 0,
55 0, 0, 0, 0, 112, 115,
56 95, 50, 95, 48, 0, 77,
57 105, 99, 114, 111, 115, 111,
58 102, 116, 32, 40, 82, 41,
59 32, 72, 76, 83, 76, 32,
60 83, 104, 97, 100, 101, 114,
61 32, 67, 111, 109, 112, 105,
62 108, 101, 114, 32, 57, 46,
63 50, 57, 46, 57, 53, 50,
64 46, 51, 49, 49, 49, 0,
65 31, 0, 0, 2, 0, 0,
66 0, 128, 0, 0, 3, 176,
67 31, 0, 0, 2, 0, 0,
68 0, 144, 0, 8, 15, 160,
69 66, 0, 0, 3, 0, 0,
70 15, 128, 0, 0, 228, 176,
71 0, 8, 228, 160, 4, 0,
72 0, 4, 1, 0, 8, 128,
73 0, 0, 255, 128, 0, 0,
74 0, 160, 0, 0, 85, 160,
75 1, 0, 0, 2, 1, 0,
76 7, 128, 0, 0, 0, 128,
77 1, 0, 0, 2, 0, 8,
78 15, 128, 1, 0, 228, 128,
79 255, 255, 0, 0
80 };