Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
1 #if 0
2 //
3 // Generated by Microsoft (R) HLSL Shader Compiler 9.29.952.3111
4 //
5 // fxc LayerManagerD3D9Shaders.hlsl -ELayerQuadVS -nologo -FhtmpShaderHeader
6 // -VnLayerQuadVS
7 //
8 //
9 // Parameters:
10 //
11 // float4x4 mLayerTransform;
12 // float4x4 mProjection;
13 // float4 vLayerQuad;
14 // float4 vRenderTargetOffset;
15 // float4 vTextureCoords;
16 //
17 //
18 // Registers:
19 //
20 // Name Reg Size
21 // ------------------- ----- ----
22 // mLayerTransform c0 4
23 // mProjection c4 4
24 // vRenderTargetOffset c8 1
25 // vTextureCoords c9 1
26 // vLayerQuad c10 1
27 //
29 vs_2_0
30 def c11, -0.5, 0, 0, 0
31 dcl_position v0
32 mad r0.xy, v0, c10.zwzw, c10
33 mul r1, r0.y, c1
34 mad r0, c0, r0.x, r1
35 mad r0, c2, v0.z, r0
36 mad r0, c3, v0.w, r0
37 rcp r1.x, r0.w
38 mul r0.xyz, r0, r1.x
39 add r0, r0, -c8
40 mad r0.xy, r0, r0.w, c11.x
41 mul r1, r0.y, c5
42 mad r1, c4, r0.x, r1
43 mul r0.x, r0.w, r0.z
44 mad r1, c6, r0.x, r1
45 mad oPos, c7, r0.w, r1
46 mad oT0.xy, v0, c9.zwzw, c9
48 // approximately 15 instruction slots used
49 #endif
51 const BYTE LayerQuadVS[] =
52 {
53 0, 2, 254, 255, 254, 255,
54 78, 0, 67, 84, 65, 66,
55 28, 0, 0, 0, 2, 1,
56 0, 0, 0, 2, 254, 255,
57 5, 0, 0, 0, 28, 0,
58 0, 0, 0, 1, 0, 0,
59 251, 0, 0, 0, 128, 0,
60 0, 0, 2, 0, 0, 0,
61 4, 0, 0, 0, 144, 0,
62 0, 0, 0, 0, 0, 0,
63 160, 0, 0, 0, 2, 0,
64 4, 0, 4, 0, 0, 0,
65 144, 0, 0, 0, 0, 0,
66 0, 0, 172, 0, 0, 0,
67 2, 0, 10, 0, 1, 0,
68 0, 0, 184, 0, 0, 0,
69 0, 0, 0, 0, 200, 0,
70 0, 0, 2, 0, 8, 0,
71 1, 0, 0, 0, 220, 0,
72 0, 0, 0, 0, 0, 0,
73 236, 0, 0, 0, 2, 0,
74 9, 0, 1, 0, 0, 0,
75 184, 0, 0, 0, 0, 0,
76 0, 0, 109, 76, 97, 121,
77 101, 114, 84, 114, 97, 110,
78 115, 102, 111, 114, 109, 0,
79 3, 0, 3, 0, 4, 0,
80 4, 0, 1, 0, 0, 0,
81 0, 0, 0, 0, 109, 80,
82 114, 111, 106, 101, 99, 116,
83 105, 111, 110, 0, 118, 76,
84 97, 121, 101, 114, 81, 117,
85 97, 100, 0, 171, 1, 0,
86 3, 0, 1, 0, 4, 0,
87 1, 0, 0, 0, 0, 0,
88 0, 0, 118, 82, 101, 110,
89 100, 101, 114, 84, 97, 114,
90 103, 101, 116, 79, 102, 102,
91 115, 101, 116, 0, 1, 0,
92 3, 0, 1, 0, 4, 0,
93 1, 0, 0, 0, 0, 0,
94 0, 0, 118, 84, 101, 120,
95 116, 117, 114, 101, 67, 111,
96 111, 114, 100, 115, 0, 118,
97 115, 95, 50, 95, 48, 0,
98 77, 105, 99, 114, 111, 115,
99 111, 102, 116, 32, 40, 82,
100 41, 32, 72, 76, 83, 76,
101 32, 83, 104, 97, 100, 101,
102 114, 32, 67, 111, 109, 112,
103 105, 108, 101, 114, 32, 57,
104 46, 50, 57, 46, 57, 53,
105 50, 46, 51, 49, 49, 49,
106 0, 171, 81, 0, 0, 5,
107 11, 0, 15, 160, 0, 0,
108 0, 191, 0, 0, 0, 0,
109 0, 0, 0, 0, 0, 0,
110 0, 0, 31, 0, 0, 2,
111 0, 0, 0, 128, 0, 0,
112 15, 144, 4, 0, 0, 4,
113 0, 0, 3, 128, 0, 0,
114 228, 144, 10, 0, 238, 160,
115 10, 0, 228, 160, 5, 0,
116 0, 3, 1, 0, 15, 128,
117 0, 0, 85, 128, 1, 0,
118 228, 160, 4, 0, 0, 4,
119 0, 0, 15, 128, 0, 0,
120 228, 160, 0, 0, 0, 128,
121 1, 0, 228, 128, 4, 0,
122 0, 4, 0, 0, 15, 128,
123 2, 0, 228, 160, 0, 0,
124 170, 144, 0, 0, 228, 128,
125 4, 0, 0, 4, 0, 0,
126 15, 128, 3, 0, 228, 160,
127 0, 0, 255, 144, 0, 0,
128 228, 128, 6, 0, 0, 2,
129 1, 0, 1, 128, 0, 0,
130 255, 128, 5, 0, 0, 3,
131 0, 0, 7, 128, 0, 0,
132 228, 128, 1, 0, 0, 128,
133 2, 0, 0, 3, 0, 0,
134 15, 128, 0, 0, 228, 128,
135 8, 0, 228, 161, 4, 0,
136 0, 4, 0, 0, 3, 128,
137 0, 0, 228, 128, 0, 0,
138 255, 128, 11, 0, 0, 160,
139 5, 0, 0, 3, 1, 0,
140 15, 128, 0, 0, 85, 128,
141 5, 0, 228, 160, 4, 0,
142 0, 4, 1, 0, 15, 128,
143 4, 0, 228, 160, 0, 0,
144 0, 128, 1, 0, 228, 128,
145 5, 0, 0, 3, 0, 0,
146 1, 128, 0, 0, 255, 128,
147 0, 0, 170, 128, 4, 0,
148 0, 4, 1, 0, 15, 128,
149 6, 0, 228, 160, 0, 0,
150 0, 128, 1, 0, 228, 128,
151 4, 0, 0, 4, 0, 0,
152 15, 192, 7, 0, 228, 160,
153 0, 0, 255, 128, 1, 0,
154 228, 128, 4, 0, 0, 4,
155 0, 0, 3, 224, 0, 0,
156 228, 144, 9, 0, 238, 160,
157 9, 0, 228, 160, 255, 255,
158 0, 0
159 };
160 #if 0
161 //
162 // Generated by Microsoft (R) HLSL Shader Compiler 9.29.952.3111
163 //
164 // fxc LayerManagerD3D9Shaders.hlsl -ERGBAShader -nologo -Tps_2_0
165 // -FhtmpShaderHeader -VnRGBAShaderPS
166 //
167 //
168 // Parameters:
169 //
170 // float fLayerOpacity;
171 // sampler2D s2D;
172 //
173 //
174 // Registers:
175 //
176 // Name Reg Size
177 // ------------- ----- ----
178 // fLayerOpacity c0 1
179 // s2D s0 1
180 //
182 ps_2_0
183 dcl t0.xy
184 dcl_2d s0
185 texld r0, t0, s0
186 mul r0, r0, c0.x
187 mov oC0, r0
189 // approximately 3 instruction slots used (1 texture, 2 arithmetic)
190 #endif
192 const BYTE RGBAShaderPS[] =
193 {
194 0, 2, 255, 255, 254, 255,
195 45, 0, 67, 84, 65, 66,
196 28, 0, 0, 0, 127, 0,
197 0, 0, 0, 2, 255, 255,
198 2, 0, 0, 0, 28, 0,
199 0, 0, 0, 1, 0, 0,
200 120, 0, 0, 0, 68, 0,
201 0, 0, 2, 0, 0, 0,
202 1, 0, 0, 0, 84, 0,
203 0, 0, 0, 0, 0, 0,
204 100, 0, 0, 0, 3, 0,
205 0, 0, 1, 0, 0, 0,
206 104, 0, 0, 0, 0, 0,
207 0, 0, 102, 76, 97, 121,
208 101, 114, 79, 112, 97, 99,
209 105, 116, 121, 0, 171, 171,
210 0, 0, 3, 0, 1, 0,
211 1, 0, 1, 0, 0, 0,
212 0, 0, 0, 0, 115, 50,
213 68, 0, 4, 0, 12, 0,
214 1, 0, 1, 0, 1, 0,
215 0, 0, 0, 0, 0, 0,
216 112, 115, 95, 50, 95, 48,
217 0, 77, 105, 99, 114, 111,
218 115, 111, 102, 116, 32, 40,
219 82, 41, 32, 72, 76, 83,
220 76, 32, 83, 104, 97, 100,
221 101, 114, 32, 67, 111, 109,
222 112, 105, 108, 101, 114, 32,
223 57, 46, 50, 57, 46, 57,
224 53, 50, 46, 51, 49, 49,
225 49, 0, 31, 0, 0, 2,
226 0, 0, 0, 128, 0, 0,
227 3, 176, 31, 0, 0, 2,
228 0, 0, 0, 144, 0, 8,
229 15, 160, 66, 0, 0, 3,
230 0, 0, 15, 128, 0, 0,
231 228, 176, 0, 8, 228, 160,
232 5, 0, 0, 3, 0, 0,
233 15, 128, 0, 0, 228, 128,
234 0, 0, 0, 160, 1, 0,
235 0, 2, 0, 8, 15, 128,
236 0, 0, 228, 128, 255, 255,
237 0, 0
238 };
239 #if 0
240 //
241 // Generated by Microsoft (R) HLSL Shader Compiler 9.29.952.3111
242 //
243 // fxc LayerManagerD3D9Shaders.hlsl -EComponentPass1Shader -nologo -Tps_2_0
244 // -FhtmpShaderHeader -VnComponentPass1ShaderPS
245 //
246 //
247 // Parameters:
248 //
249 // float fLayerOpacity;
250 // sampler2D s2D;
251 // sampler2D s2DWhite;
252 //
253 //
254 // Registers:
255 //
256 // Name Reg Size
257 // ------------- ----- ----
258 // fLayerOpacity c0 1
259 // s2D s0 1
260 // s2DWhite s1 1
261 //
263 ps_2_0
264 def c1, 1, 0, 0, 0
265 dcl t0.xy
266 dcl_2d s0
267 dcl_2d s1
268 texld r0, t0, s0
269 texld r1, t0, s1
270 add r0.xyz, r0, -r1
271 add r0.xyz, r0, c1.x
272 mul r0.xyz, r0, c0.x
273 mov r1.xyz, r0
274 mov r1.w, r0.y
275 mov oC0, r1
277 // approximately 8 instruction slots used (2 texture, 6 arithmetic)
278 #endif
280 const BYTE ComponentPass1ShaderPS[] =
281 {
282 0, 2, 255, 255, 254, 255,
283 57, 0, 67, 84, 65, 66,
284 28, 0, 0, 0, 175, 0,
285 0, 0, 0, 2, 255, 255,
286 3, 0, 0, 0, 28, 0,
287 0, 0, 0, 1, 0, 0,
288 168, 0, 0, 0, 88, 0,
289 0, 0, 2, 0, 0, 0,
290 1, 0, 0, 0, 104, 0,
291 0, 0, 0, 0, 0, 0,
292 120, 0, 0, 0, 3, 0,
293 0, 0, 1, 0, 0, 0,
294 124, 0, 0, 0, 0, 0,
295 0, 0, 140, 0, 0, 0,
296 3, 0, 1, 0, 1, 0,
297 0, 0, 152, 0, 0, 0,
298 0, 0, 0, 0, 102, 76,
299 97, 121, 101, 114, 79, 112,
300 97, 99, 105, 116, 121, 0,
301 171, 171, 0, 0, 3, 0,
302 1, 0, 1, 0, 1, 0,
303 0, 0, 0, 0, 0, 0,
304 115, 50, 68, 0, 4, 0,
305 12, 0, 1, 0, 1, 0,
306 1, 0, 0, 0, 0, 0,
307 0, 0, 115, 50, 68, 87,
308 104, 105, 116, 101, 0, 171,
309 171, 171, 4, 0, 12, 0,
310 1, 0, 1, 0, 1, 0,
311 0, 0, 0, 0, 0, 0,
312 112, 115, 95, 50, 95, 48,
313 0, 77, 105, 99, 114, 111,
314 115, 111, 102, 116, 32, 40,
315 82, 41, 32, 72, 76, 83,
316 76, 32, 83, 104, 97, 100,
317 101, 114, 32, 67, 111, 109,
318 112, 105, 108, 101, 114, 32,
319 57, 46, 50, 57, 46, 57,
320 53, 50, 46, 51, 49, 49,
321 49, 0, 81, 0, 0, 5,
322 1, 0, 15, 160, 0, 0,
323 128, 63, 0, 0, 0, 0,
324 0, 0, 0, 0, 0, 0,
325 0, 0, 31, 0, 0, 2,
326 0, 0, 0, 128, 0, 0,
327 3, 176, 31, 0, 0, 2,
328 0, 0, 0, 144, 0, 8,
329 15, 160, 31, 0, 0, 2,
330 0, 0, 0, 144, 1, 8,
331 15, 160, 66, 0, 0, 3,
332 0, 0, 15, 128, 0, 0,
333 228, 176, 0, 8, 228, 160,
334 66, 0, 0, 3, 1, 0,
335 15, 128, 0, 0, 228, 176,
336 1, 8, 228, 160, 2, 0,
337 0, 3, 0, 0, 7, 128,
338 0, 0, 228, 128, 1, 0,
339 228, 129, 2, 0, 0, 3,
340 0, 0, 7, 128, 0, 0,
341 228, 128, 1, 0, 0, 160,
342 5, 0, 0, 3, 0, 0,
343 7, 128, 0, 0, 228, 128,
344 0, 0, 0, 160, 1, 0,
345 0, 2, 1, 0, 7, 128,
346 0, 0, 228, 128, 1, 0,
347 0, 2, 1, 0, 8, 128,
348 0, 0, 85, 128, 1, 0,
349 0, 2, 0, 8, 15, 128,
350 1, 0, 228, 128, 255, 255,
351 0, 0
352 };
353 #if 0
354 //
355 // Generated by Microsoft (R) HLSL Shader Compiler 9.29.952.3111
356 //
357 // fxc LayerManagerD3D9Shaders.hlsl -EComponentPass2Shader -nologo -Tps_2_0
358 // -FhtmpShaderHeader -VnComponentPass2ShaderPS
359 //
360 //
361 // Parameters:
362 //
363 // float fLayerOpacity;
364 // sampler2D s2D;
365 // sampler2D s2DWhite;
366 //
367 //
368 // Registers:
369 //
370 // Name Reg Size
371 // ------------- ----- ----
372 // fLayerOpacity c0 1
373 // s2D s0 1
374 // s2DWhite s1 1
375 //
377 ps_2_0
378 def c1, 1, 0, 0, 0
379 dcl t0.xy
380 dcl_2d s0
381 dcl_2d s1
382 texld r0, t0, s1
383 texld r1, t0, s0
384 add r0.x, -r0.y, r1.y
385 add r1.w, r0.x, c1.x
386 mul r0, r1, c0.x
387 mov oC0, r0
389 // approximately 6 instruction slots used (2 texture, 4 arithmetic)
390 #endif
392 const BYTE ComponentPass2ShaderPS[] =
393 {
394 0, 2, 255, 255, 254, 255,
395 57, 0, 67, 84, 65, 66,
396 28, 0, 0, 0, 175, 0,
397 0, 0, 0, 2, 255, 255,
398 3, 0, 0, 0, 28, 0,
399 0, 0, 0, 1, 0, 0,
400 168, 0, 0, 0, 88, 0,
401 0, 0, 2, 0, 0, 0,
402 1, 0, 0, 0, 104, 0,
403 0, 0, 0, 0, 0, 0,
404 120, 0, 0, 0, 3, 0,
405 0, 0, 1, 0, 0, 0,
406 124, 0, 0, 0, 0, 0,
407 0, 0, 140, 0, 0, 0,
408 3, 0, 1, 0, 1, 0,
409 0, 0, 152, 0, 0, 0,
410 0, 0, 0, 0, 102, 76,
411 97, 121, 101, 114, 79, 112,
412 97, 99, 105, 116, 121, 0,
413 171, 171, 0, 0, 3, 0,
414 1, 0, 1, 0, 1, 0,
415 0, 0, 0, 0, 0, 0,
416 115, 50, 68, 0, 4, 0,
417 12, 0, 1, 0, 1, 0,
418 1, 0, 0, 0, 0, 0,
419 0, 0, 115, 50, 68, 87,
420 104, 105, 116, 101, 0, 171,
421 171, 171, 4, 0, 12, 0,
422 1, 0, 1, 0, 1, 0,
423 0, 0, 0, 0, 0, 0,
424 112, 115, 95, 50, 95, 48,
425 0, 77, 105, 99, 114, 111,
426 115, 111, 102, 116, 32, 40,
427 82, 41, 32, 72, 76, 83,
428 76, 32, 83, 104, 97, 100,
429 101, 114, 32, 67, 111, 109,
430 112, 105, 108, 101, 114, 32,
431 57, 46, 50, 57, 46, 57,
432 53, 50, 46, 51, 49, 49,
433 49, 0, 81, 0, 0, 5,
434 1, 0, 15, 160, 0, 0,
435 128, 63, 0, 0, 0, 0,
436 0, 0, 0, 0, 0, 0,
437 0, 0, 31, 0, 0, 2,
438 0, 0, 0, 128, 0, 0,
439 3, 176, 31, 0, 0, 2,
440 0, 0, 0, 144, 0, 8,
441 15, 160, 31, 0, 0, 2,
442 0, 0, 0, 144, 1, 8,
443 15, 160, 66, 0, 0, 3,
444 0, 0, 15, 128, 0, 0,
445 228, 176, 1, 8, 228, 160,
446 66, 0, 0, 3, 1, 0,
447 15, 128, 0, 0, 228, 176,
448 0, 8, 228, 160, 2, 0,
449 0, 3, 0, 0, 1, 128,
450 0, 0, 85, 129, 1, 0,
451 85, 128, 2, 0, 0, 3,
452 1, 0, 8, 128, 0, 0,
453 0, 128, 1, 0, 0, 160,
454 5, 0, 0, 3, 0, 0,
455 15, 128, 1, 0, 228, 128,
456 0, 0, 0, 160, 1, 0,
457 0, 2, 0, 8, 15, 128,
458 0, 0, 228, 128, 255, 255,
459 0, 0
460 };
461 #if 0
462 //
463 // Generated by Microsoft (R) HLSL Shader Compiler 9.29.952.3111
464 //
465 // fxc LayerManagerD3D9Shaders.hlsl -ERGBShader -nologo -Tps_2_0
466 // -FhtmpShaderHeader -VnRGBShaderPS
467 //
468 //
469 // Parameters:
470 //
471 // float fLayerOpacity;
472 // sampler2D s2D;
473 //
474 //
475 // Registers:
476 //
477 // Name Reg Size
478 // ------------- ----- ----
479 // fLayerOpacity c0 1
480 // s2D s0 1
481 //
483 ps_2_0
484 def c1, 1, 0, 0, 0
485 dcl t0.xy
486 dcl_2d s0
487 texld r0, t0, s0
488 mov r0.w, c1.x
489 mul r0, r0, c0.x
490 mov oC0, r0
492 // approximately 4 instruction slots used (1 texture, 3 arithmetic)
493 #endif
495 const BYTE RGBShaderPS[] =
496 {
497 0, 2, 255, 255, 254, 255,
498 45, 0, 67, 84, 65, 66,
499 28, 0, 0, 0, 127, 0,
500 0, 0, 0, 2, 255, 255,
501 2, 0, 0, 0, 28, 0,
502 0, 0, 0, 1, 0, 0,
503 120, 0, 0, 0, 68, 0,
504 0, 0, 2, 0, 0, 0,
505 1, 0, 0, 0, 84, 0,
506 0, 0, 0, 0, 0, 0,
507 100, 0, 0, 0, 3, 0,
508 0, 0, 1, 0, 0, 0,
509 104, 0, 0, 0, 0, 0,
510 0, 0, 102, 76, 97, 121,
511 101, 114, 79, 112, 97, 99,
512 105, 116, 121, 0, 171, 171,
513 0, 0, 3, 0, 1, 0,
514 1, 0, 1, 0, 0, 0,
515 0, 0, 0, 0, 115, 50,
516 68, 0, 4, 0, 12, 0,
517 1, 0, 1, 0, 1, 0,
518 0, 0, 0, 0, 0, 0,
519 112, 115, 95, 50, 95, 48,
520 0, 77, 105, 99, 114, 111,
521 115, 111, 102, 116, 32, 40,
522 82, 41, 32, 72, 76, 83,
523 76, 32, 83, 104, 97, 100,
524 101, 114, 32, 67, 111, 109,
525 112, 105, 108, 101, 114, 32,
526 57, 46, 50, 57, 46, 57,
527 53, 50, 46, 51, 49, 49,
528 49, 0, 81, 0, 0, 5,
529 1, 0, 15, 160, 0, 0,
530 128, 63, 0, 0, 0, 0,
531 0, 0, 0, 0, 0, 0,
532 0, 0, 31, 0, 0, 2,
533 0, 0, 0, 128, 0, 0,
534 3, 176, 31, 0, 0, 2,
535 0, 0, 0, 144, 0, 8,
536 15, 160, 66, 0, 0, 3,
537 0, 0, 15, 128, 0, 0,
538 228, 176, 0, 8, 228, 160,
539 1, 0, 0, 2, 0, 0,
540 8, 128, 1, 0, 0, 160,
541 5, 0, 0, 3, 0, 0,
542 15, 128, 0, 0, 228, 128,
543 0, 0, 0, 160, 1, 0,
544 0, 2, 0, 8, 15, 128,
545 0, 0, 228, 128, 255, 255,
546 0, 0
547 };
548 #if 0
549 //
550 // Generated by Microsoft (R) HLSL Shader Compiler 9.29.952.3111
551 //
552 // fxc LayerManagerD3D9Shaders.hlsl -EYCbCrShader -nologo -Tps_2_0
553 // -FhtmpShaderHeader -VnYCbCrShaderPS
554 //
555 //
556 // Parameters:
557 //
558 // float fLayerOpacity;
559 // sampler2D s2DCb;
560 // sampler2D s2DCr;
561 // sampler2D s2DY;
562 //
563 //
564 // Registers:
565 //
566 // Name Reg Size
567 // ------------- ----- ----
568 // fLayerOpacity c0 1
569 // s2DY s0 1
570 // s2DCb s1 1
571 // s2DCr s2 1
572 //
574 ps_2_0
575 def c1, -0.5, -0.0625, 1.16400003, 1.59599996
576 def c2, 0.813000023, 0.391000003, 2.01799989, 1
577 dcl t0.xy
578 dcl_2d s0
579 dcl_2d s1
580 dcl_2d s2
581 texld r0, t0, s2
582 texld r1, t0, s0
583 texld r2, t0, s1
584 add r0.x, r0.w, c1.x
585 add r0.y, r1.w, c1.y
586 mul r0.y, r0.y, c1.z
587 mad r0.z, r0.x, -c2.x, r0.y
588 mad r1.x, r0.x, c1.w, r0.y
589 add r0.x, r2.w, c1.x
590 mad r1.y, r0.x, -c2.y, r0.z
591 mad r1.z, r0.x, c2.z, r0.y
592 mov r1.w, c2.w
593 mul r0, r1, c0.x
594 mov oC0, r0
596 // approximately 14 instruction slots used (3 texture, 11 arithmetic)
597 #endif
599 const BYTE YCbCrShaderPS[] =
600 {
601 0, 2, 255, 255, 254, 255,
602 68, 0, 67, 84, 65, 66,
603 28, 0, 0, 0, 219, 0,
604 0, 0, 0, 2, 255, 255,
605 4, 0, 0, 0, 28, 0,
606 0, 0, 0, 1, 0, 0,
607 212, 0, 0, 0, 108, 0,
608 0, 0, 2, 0, 0, 0,
609 1, 0, 0, 0, 124, 0,
610 0, 0, 0, 0, 0, 0,
611 140, 0, 0, 0, 3, 0,
612 1, 0, 1, 0, 0, 0,
613 148, 0, 0, 0, 0, 0,
614 0, 0, 164, 0, 0, 0,
615 3, 0, 2, 0, 1, 0,
616 0, 0, 172, 0, 0, 0,
617 0, 0, 0, 0, 188, 0,
618 0, 0, 3, 0, 0, 0,
619 1, 0, 0, 0, 196, 0,
620 0, 0, 0, 0, 0, 0,
621 102, 76, 97, 121, 101, 114,
622 79, 112, 97, 99, 105, 116,
623 121, 0, 171, 171, 0, 0,
624 3, 0, 1, 0, 1, 0,
625 1, 0, 0, 0, 0, 0,
626 0, 0, 115, 50, 68, 67,
627 98, 0, 171, 171, 4, 0,
628 12, 0, 1, 0, 1, 0,
629 1, 0, 0, 0, 0, 0,
630 0, 0, 115, 50, 68, 67,
631 114, 0, 171, 171, 4, 0,
632 12, 0, 1, 0, 1, 0,
633 1, 0, 0, 0, 0, 0,
634 0, 0, 115, 50, 68, 89,
635 0, 171, 171, 171, 4, 0,
636 12, 0, 1, 0, 1, 0,
637 1, 0, 0, 0, 0, 0,
638 0, 0, 112, 115, 95, 50,
639 95, 48, 0, 77, 105, 99,
640 114, 111, 115, 111, 102, 116,
641 32, 40, 82, 41, 32, 72,
642 76, 83, 76, 32, 83, 104,
643 97, 100, 101, 114, 32, 67,
644 111, 109, 112, 105, 108, 101,
645 114, 32, 57, 46, 50, 57,
646 46, 57, 53, 50, 46, 51,
647 49, 49, 49, 0, 81, 0,
648 0, 5, 1, 0, 15, 160,
649 0, 0, 0, 191, 0, 0,
650 128, 189, 244, 253, 148, 63,
651 186, 73, 204, 63, 81, 0,
652 0, 5, 2, 0, 15, 160,
653 197, 32, 80, 63, 39, 49,
654 200, 62, 233, 38, 1, 64,
655 0, 0, 128, 63, 31, 0,
656 0, 2, 0, 0, 0, 128,
657 0, 0, 3, 176, 31, 0,
658 0, 2, 0, 0, 0, 144,
659 0, 8, 15, 160, 31, 0,
660 0, 2, 0, 0, 0, 144,
661 1, 8, 15, 160, 31, 0,
662 0, 2, 0, 0, 0, 144,
663 2, 8, 15, 160, 66, 0,
664 0, 3, 0, 0, 15, 128,
665 0, 0, 228, 176, 2, 8,
666 228, 160, 66, 0, 0, 3,
667 1, 0, 15, 128, 0, 0,
668 228, 176, 0, 8, 228, 160,
669 66, 0, 0, 3, 2, 0,
670 15, 128, 0, 0, 228, 176,
671 1, 8, 228, 160, 2, 0,
672 0, 3, 0, 0, 1, 128,
673 0, 0, 255, 128, 1, 0,
674 0, 160, 2, 0, 0, 3,
675 0, 0, 2, 128, 1, 0,
676 255, 128, 1, 0, 85, 160,
677 5, 0, 0, 3, 0, 0,
678 2, 128, 0, 0, 85, 128,
679 1, 0, 170, 160, 4, 0,
680 0, 4, 0, 0, 4, 128,
681 0, 0, 0, 128, 2, 0,
682 0, 161, 0, 0, 85, 128,
683 4, 0, 0, 4, 1, 0,
684 1, 128, 0, 0, 0, 128,
685 1, 0, 255, 160, 0, 0,
686 85, 128, 2, 0, 0, 3,
687 0, 0, 1, 128, 2, 0,
688 255, 128, 1, 0, 0, 160,
689 4, 0, 0, 4, 1, 0,
690 2, 128, 0, 0, 0, 128,
691 2, 0, 85, 161, 0, 0,
692 170, 128, 4, 0, 0, 4,
693 1, 0, 4, 128, 0, 0,
694 0, 128, 2, 0, 170, 160,
695 0, 0, 85, 128, 1, 0,
696 0, 2, 1, 0, 8, 128,
697 2, 0, 255, 160, 5, 0,
698 0, 3, 0, 0, 15, 128,
699 1, 0, 228, 128, 0, 0,
700 0, 160, 1, 0, 0, 2,
701 0, 8, 15, 128, 0, 0,
702 228, 128, 255, 255, 0, 0
703 };
704 #if 0
705 //
706 // Generated by Microsoft (R) HLSL Shader Compiler 9.29.952.3111
707 //
708 // fxc LayerManagerD3D9Shaders.hlsl -ESolidColorShader -nologo -Tps_2_0
709 // -FhtmpShaderHeader -VnSolidColorShaderPS
710 //
711 //
712 // Parameters:
713 //
714 // float4 fLayerColor;
715 //
716 //
717 // Registers:
718 //
719 // Name Reg Size
720 // ------------ ----- ----
721 // fLayerColor c0 1
722 //
724 ps_2_0
725 mov oC0, c0
727 // approximately 1 instruction slot used
728 #endif
730 const BYTE SolidColorShaderPS[] =
731 {
732 0, 2, 255, 255, 254, 255,
733 34, 0, 67, 84, 65, 66,
734 28, 0, 0, 0, 83, 0,
735 0, 0, 0, 2, 255, 255,
736 1, 0, 0, 0, 28, 0,
737 0, 0, 0, 1, 0, 0,
738 76, 0, 0, 0, 48, 0,
739 0, 0, 2, 0, 0, 0,
740 1, 0, 0, 0, 60, 0,
741 0, 0, 0, 0, 0, 0,
742 102, 76, 97, 121, 101, 114,
743 67, 111, 108, 111, 114, 0,
744 1, 0, 3, 0, 1, 0,
745 4, 0, 1, 0, 0, 0,
746 0, 0, 0, 0, 112, 115,
747 95, 50, 95, 48, 0, 77,
748 105, 99, 114, 111, 115, 111,
749 102, 116, 32, 40, 82, 41,
750 32, 72, 76, 83, 76, 32,
751 83, 104, 97, 100, 101, 114,
752 32, 67, 111, 109, 112, 105,
753 108, 101, 114, 32, 57, 46,
754 50, 57, 46, 57, 53, 50,
755 46, 51, 49, 49, 49, 0,
756 1, 0, 0, 2, 0, 8,
757 15, 128, 0, 0, 228, 160,
758 255, 255, 0, 0
759 };
760 #if 0
761 //
762 // Generated by Microsoft (R) HLSL Shader Compiler 9.29.952.3111
763 //
764 // fxc LayerManagerD3D9Shaders.hlsl -ELayerQuadVSMask -nologo
765 // -FhtmpShaderHeader -VnLayerQuadVSMask
766 //
767 //
768 // Parameters:
769 //
770 // float4x4 mLayerTransform;
771 // float4x4 mProjection;
772 // float4 vLayerQuad;
773 // float4 vMaskQuad;
774 // float4 vRenderTargetOffset;
775 // float4 vTextureCoords;
776 //
777 //
778 // Registers:
779 //
780 // Name Reg Size
781 // ------------------- ----- ----
782 // mLayerTransform c0 4
783 // mProjection c4 4
784 // vRenderTargetOffset c8 1
785 // vTextureCoords c9 1
786 // vLayerQuad c10 1
787 // vMaskQuad c11 1
788 //
790 vs_2_0
791 def c12, -0.5, 0, 0, 0
792 dcl_position v0
793 mad r0.xy, v0, c10.zwzw, c10
794 mul r1, r0.y, c1
795 mad r0, c0, r0.x, r1
796 add r0, r0, c3
797 rcp r1.x, r0.w
798 mul r1.xyz, r0, r1.x
799 mov r1.w, r0.w
800 add r0.xy, r0, -c11
801 add r1, r1, -c8
802 mad r0.zw, r1.xyxy, r1.w, c12.x
803 mul r2, r0.w, c5
804 mad r2, c4, r0.z, r2
805 mul r0.z, r1.w, r1.z
806 mad r2, c6, r0.z, r2
807 mad oPos, c7, r1.w, r2
808 rcp r0.z, c11.z
809 mul oT1.x, r0.z, r0.x
810 rcp r0.x, c11.w
811 mul oT1.y, r0.x, r0.y
812 mad oT0.xy, v0, c9.zwzw, c9
814 // approximately 20 instruction slots used
815 #endif
817 const BYTE LayerQuadVSMask[] =
818 {
819 0, 2, 254, 255, 254, 255,
820 86, 0, 67, 84, 65, 66,
821 28, 0, 0, 0, 34, 1,
822 0, 0, 0, 2, 254, 255,
823 6, 0, 0, 0, 28, 0,
824 0, 0, 0, 1, 0, 0,
825 27, 1, 0, 0, 148, 0,
826 0, 0, 2, 0, 0, 0,
827 4, 0, 0, 0, 164, 0,
828 0, 0, 0, 0, 0, 0,
829 180, 0, 0, 0, 2, 0,
830 4, 0, 4, 0, 0, 0,
831 164, 0, 0, 0, 0, 0,
832 0, 0, 192, 0, 0, 0,
833 2, 0, 10, 0, 1, 0,
834 0, 0, 204, 0, 0, 0,
835 0, 0, 0, 0, 220, 0,
836 0, 0, 2, 0, 11, 0,
837 1, 0, 0, 0, 204, 0,
838 0, 0, 0, 0, 0, 0,
839 230, 0, 0, 0, 2, 0,
840 8, 0, 1, 0, 0, 0,
841 252, 0, 0, 0, 0, 0,
842 0, 0, 12, 1, 0, 0,
843 2, 0, 9, 0, 1, 0,
844 0, 0, 204, 0, 0, 0,
845 0, 0, 0, 0, 109, 76,
846 97, 121, 101, 114, 84, 114,
847 97, 110, 115, 102, 111, 114,
848 109, 0, 3, 0, 3, 0,
849 4, 0, 4, 0, 1, 0,
850 0, 0, 0, 0, 0, 0,
851 109, 80, 114, 111, 106, 101,
852 99, 116, 105, 111, 110, 0,
853 118, 76, 97, 121, 101, 114,
854 81, 117, 97, 100, 0, 171,
855 1, 0, 3, 0, 1, 0,
856 4, 0, 1, 0, 0, 0,
857 0, 0, 0, 0, 118, 77,
858 97, 115, 107, 81, 117, 97,
859 100, 0, 118, 82, 101, 110,
860 100, 101, 114, 84, 97, 114,
861 103, 101, 116, 79, 102, 102,
862 115, 101, 116, 0, 171, 171,
863 1, 0, 3, 0, 1, 0,
864 4, 0, 1, 0, 0, 0,
865 0, 0, 0, 0, 118, 84,
866 101, 120, 116, 117, 114, 101,
867 67, 111, 111, 114, 100, 115,
868 0, 118, 115, 95, 50, 95,
869 48, 0, 77, 105, 99, 114,
870 111, 115, 111, 102, 116, 32,
871 40, 82, 41, 32, 72, 76,
872 83, 76, 32, 83, 104, 97,
873 100, 101, 114, 32, 67, 111,
874 109, 112, 105, 108, 101, 114,
875 32, 57, 46, 50, 57, 46,
876 57, 53, 50, 46, 51, 49,
877 49, 49, 0, 171, 81, 0,
878 0, 5, 12, 0, 15, 160,
879 0, 0, 0, 191, 0, 0,
880 0, 0, 0, 0, 0, 0,
881 0, 0, 0, 0, 31, 0,
882 0, 2, 0, 0, 0, 128,
883 0, 0, 15, 144, 4, 0,
884 0, 4, 0, 0, 3, 128,
885 0, 0, 228, 144, 10, 0,
886 238, 160, 10, 0, 228, 160,
887 5, 0, 0, 3, 1, 0,
888 15, 128, 0, 0, 85, 128,
889 1, 0, 228, 160, 4, 0,
890 0, 4, 0, 0, 15, 128,
891 0, 0, 228, 160, 0, 0,
892 0, 128, 1, 0, 228, 128,
893 2, 0, 0, 3, 0, 0,
894 15, 128, 0, 0, 228, 128,
895 3, 0, 228, 160, 6, 0,
896 0, 2, 1, 0, 1, 128,
897 0, 0, 255, 128, 5, 0,
898 0, 3, 1, 0, 7, 128,
899 0, 0, 228, 128, 1, 0,
900 0, 128, 1, 0, 0, 2,
901 1, 0, 8, 128, 0, 0,
902 255, 128, 2, 0, 0, 3,
903 0, 0, 3, 128, 0, 0,
904 228, 128, 11, 0, 228, 161,
905 2, 0, 0, 3, 1, 0,
906 15, 128, 1, 0, 228, 128,
907 8, 0, 228, 161, 4, 0,
908 0, 4, 0, 0, 12, 128,
909 1, 0, 68, 128, 1, 0,
910 255, 128, 12, 0, 0, 160,
911 5, 0, 0, 3, 2, 0,
912 15, 128, 0, 0, 255, 128,
913 5, 0, 228, 160, 4, 0,
914 0, 4, 2, 0, 15, 128,
915 4, 0, 228, 160, 0, 0,
916 170, 128, 2, 0, 228, 128,
917 5, 0, 0, 3, 0, 0,
918 4, 128, 1, 0, 255, 128,
919 1, 0, 170, 128, 4, 0,
920 0, 4, 2, 0, 15, 128,
921 6, 0, 228, 160, 0, 0,
922 170, 128, 2, 0, 228, 128,
923 4, 0, 0, 4, 0, 0,
924 15, 192, 7, 0, 228, 160,
925 1, 0, 255, 128, 2, 0,
926 228, 128, 6, 0, 0, 2,
927 0, 0, 4, 128, 11, 0,
928 170, 160, 5, 0, 0, 3,
929 1, 0, 1, 224, 0, 0,
930 170, 128, 0, 0, 0, 128,
931 6, 0, 0, 2, 0, 0,
932 1, 128, 11, 0, 255, 160,
933 5, 0, 0, 3, 1, 0,
934 2, 224, 0, 0, 0, 128,
935 0, 0, 85, 128, 4, 0,
936 0, 4, 0, 0, 3, 224,
937 0, 0, 228, 144, 9, 0,
938 238, 160, 9, 0, 228, 160,
939 255, 255, 0, 0
940 };
941 #if 0
942 //
943 // Generated by Microsoft (R) HLSL Shader Compiler 9.29.952.3111
944 //
945 // fxc LayerManagerD3D9Shaders.hlsl -ELayerQuadVSMask3D -nologo
946 // -FhtmpShaderHeader -VnLayerQuadVSMask3D
947 //
948 //
949 // Parameters:
950 //
951 // float4x4 mLayerTransform;
952 // float4x4 mProjection;
953 // float4 vLayerQuad;
954 // float4 vMaskQuad;
955 // float4 vRenderTargetOffset;
956 // float4 vTextureCoords;
957 //
958 //
959 // Registers:
960 //
961 // Name Reg Size
962 // ------------------- ----- ----
963 // mLayerTransform c0 4
964 // mProjection c4 4
965 // vRenderTargetOffset c8 1
966 // vTextureCoords c9 1
967 // vLayerQuad c10 1
968 // vMaskQuad c11 1
969 //
971 vs_2_0
972 def c12, -0.5, 1, 0, 0
973 dcl_position v0
974 mad r0.xy, v0, c10.zwzw, c10
975 mul r1, r0.y, c1
976 mad r0, c0, r0.x, r1
977 add r0, r0, c3
978 rcp r1.x, r0.w
979 mul r2.xyz, r0, r1.x
980 mad r0.xy, r0, r1.x, -c11
981 mov r2.w, r0.w
982 add r1, r2, -c8
983 mad r0.zw, r1.xyxy, r1.w, c12.x
984 mul r3, r0.w, c5
985 mad r3, c4, r0.z, r3
986 mul r0.z, r1.w, r1.z
987 mad r3, c6, r0.z, r3
988 mad oPos, c7, r1.w, r3
989 rcp r0.z, c11.z
990 mul r1.x, r0.z, r0.x
991 rcp r0.x, c11.w
992 mul r1.y, r0.x, r0.y
993 mov r1.z, c12.y
994 mul oT1.xyz, r2.w, r1
995 mad oT0.xy, v0, c9.zwzw, c9
997 // approximately 22 instruction slots used
998 #endif
1000 const BYTE LayerQuadVSMask3D[] =
1001 {
1002 0, 2, 254, 255, 254, 255,
1003 86, 0, 67, 84, 65, 66,
1004 28, 0, 0, 0, 34, 1,
1005 0, 0, 0, 2, 254, 255,
1006 6, 0, 0, 0, 28, 0,
1007 0, 0, 0, 1, 0, 0,
1008 27, 1, 0, 0, 148, 0,
1009 0, 0, 2, 0, 0, 0,
1010 4, 0, 0, 0, 164, 0,
1011 0, 0, 0, 0, 0, 0,
1012 180, 0, 0, 0, 2, 0,
1013 4, 0, 4, 0, 0, 0,
1014 164, 0, 0, 0, 0, 0,
1015 0, 0, 192, 0, 0, 0,
1016 2, 0, 10, 0, 1, 0,
1017 0, 0, 204, 0, 0, 0,
1018 0, 0, 0, 0, 220, 0,
1019 0, 0, 2, 0, 11, 0,
1020 1, 0, 0, 0, 204, 0,
1021 0, 0, 0, 0, 0, 0,
1022 230, 0, 0, 0, 2, 0,
1023 8, 0, 1, 0, 0, 0,
1024 252, 0, 0, 0, 0, 0,
1025 0, 0, 12, 1, 0, 0,
1026 2, 0, 9, 0, 1, 0,
1027 0, 0, 204, 0, 0, 0,
1028 0, 0, 0, 0, 109, 76,
1029 97, 121, 101, 114, 84, 114,
1030 97, 110, 115, 102, 111, 114,
1031 109, 0, 3, 0, 3, 0,
1032 4, 0, 4, 0, 1, 0,
1033 0, 0, 0, 0, 0, 0,
1034 109, 80, 114, 111, 106, 101,
1035 99, 116, 105, 111, 110, 0,
1036 118, 76, 97, 121, 101, 114,
1037 81, 117, 97, 100, 0, 171,
1038 1, 0, 3, 0, 1, 0,
1039 4, 0, 1, 0, 0, 0,
1040 0, 0, 0, 0, 118, 77,
1041 97, 115, 107, 81, 117, 97,
1042 100, 0, 118, 82, 101, 110,
1043 100, 101, 114, 84, 97, 114,
1044 103, 101, 116, 79, 102, 102,
1045 115, 101, 116, 0, 171, 171,
1046 1, 0, 3, 0, 1, 0,
1047 4, 0, 1, 0, 0, 0,
1048 0, 0, 0, 0, 118, 84,
1049 101, 120, 116, 117, 114, 101,
1050 67, 111, 111, 114, 100, 115,
1051 0, 118, 115, 95, 50, 95,
1052 48, 0, 77, 105, 99, 114,
1053 111, 115, 111, 102, 116, 32,
1054 40, 82, 41, 32, 72, 76,
1055 83, 76, 32, 83, 104, 97,
1056 100, 101, 114, 32, 67, 111,
1057 109, 112, 105, 108, 101, 114,
1058 32, 57, 46, 50, 57, 46,
1059 57, 53, 50, 46, 51, 49,
1060 49, 49, 0, 171, 81, 0,
1061 0, 5, 12, 0, 15, 160,
1062 0, 0, 0, 191, 0, 0,
1063 128, 63, 0, 0, 0, 0,
1064 0, 0, 0, 0, 31, 0,
1065 0, 2, 0, 0, 0, 128,
1066 0, 0, 15, 144, 4, 0,
1067 0, 4, 0, 0, 3, 128,
1068 0, 0, 228, 144, 10, 0,
1069 238, 160, 10, 0, 228, 160,
1070 5, 0, 0, 3, 1, 0,
1071 15, 128, 0, 0, 85, 128,
1072 1, 0, 228, 160, 4, 0,
1073 0, 4, 0, 0, 15, 128,
1074 0, 0, 228, 160, 0, 0,
1075 0, 128, 1, 0, 228, 128,
1076 2, 0, 0, 3, 0, 0,
1077 15, 128, 0, 0, 228, 128,
1078 3, 0, 228, 160, 6, 0,
1079 0, 2, 1, 0, 1, 128,
1080 0, 0, 255, 128, 5, 0,
1081 0, 3, 2, 0, 7, 128,
1082 0, 0, 228, 128, 1, 0,
1083 0, 128, 4, 0, 0, 4,
1084 0, 0, 3, 128, 0, 0,
1085 228, 128, 1, 0, 0, 128,
1086 11, 0, 228, 161, 1, 0,
1087 0, 2, 2, 0, 8, 128,
1088 0, 0, 255, 128, 2, 0,
1089 0, 3, 1, 0, 15, 128,
1090 2, 0, 228, 128, 8, 0,
1091 228, 161, 4, 0, 0, 4,
1092 0, 0, 12, 128, 1, 0,
1093 68, 128, 1, 0, 255, 128,
1094 12, 0, 0, 160, 5, 0,
1095 0, 3, 3, 0, 15, 128,
1096 0, 0, 255, 128, 5, 0,
1097 228, 160, 4, 0, 0, 4,
1098 3, 0, 15, 128, 4, 0,
1099 228, 160, 0, 0, 170, 128,
1100 3, 0, 228, 128, 5, 0,
1101 0, 3, 0, 0, 4, 128,
1102 1, 0, 255, 128, 1, 0,
1103 170, 128, 4, 0, 0, 4,
1104 3, 0, 15, 128, 6, 0,
1105 228, 160, 0, 0, 170, 128,
1106 3, 0, 228, 128, 4, 0,
1107 0, 4, 0, 0, 15, 192,
1108 7, 0, 228, 160, 1, 0,
1109 255, 128, 3, 0, 228, 128,
1110 6, 0, 0, 2, 0, 0,
1111 4, 128, 11, 0, 170, 160,
1112 5, 0, 0, 3, 1, 0,
1113 1, 128, 0, 0, 170, 128,
1114 0, 0, 0, 128, 6, 0,
1115 0, 2, 0, 0, 1, 128,
1116 11, 0, 255, 160, 5, 0,
1117 0, 3, 1, 0, 2, 128,
1118 0, 0, 0, 128, 0, 0,
1119 85, 128, 1, 0, 0, 2,
1120 1, 0, 4, 128, 12, 0,
1121 85, 160, 5, 0, 0, 3,
1122 1, 0, 7, 224, 2, 0,
1123 255, 128, 1, 0, 228, 128,
1124 4, 0, 0, 4, 0, 0,
1125 3, 224, 0, 0, 228, 144,
1126 9, 0, 238, 160, 9, 0,
1127 228, 160, 255, 255, 0, 0
1128 };
1129 #if 0
1130 //
1131 // Generated by Microsoft (R) HLSL Shader Compiler 9.29.952.3111
1132 //
1133 // fxc LayerManagerD3D9Shaders.hlsl -ERGBAShaderMask -nologo -Tps_2_0
1134 // -FhtmpShaderHeader -VnRGBAShaderPSMask
1135 //
1136 //
1137 // Parameters:
1138 //
1139 // float fLayerOpacity;
1140 // sampler2D s2D;
1141 // sampler2D s2DMask;
1142 //
1143 //
1144 // Registers:
1145 //
1146 // Name Reg Size
1147 // ------------- ----- ----
1148 // fLayerOpacity c0 1
1149 // s2D s0 1
1150 // s2DMask s1 1
1151 //
1153 ps_2_0
1154 dcl t0.xy
1155 dcl t1.xy
1156 dcl_2d s0
1157 dcl_2d s1
1158 texld r0, t0, s0
1159 texld r1, t1, s1
1160 mul r0, r0, c0.x
1161 mul r0, r1.w, r0
1162 mov oC0, r0
1164 // approximately 5 instruction slots used (2 texture, 3 arithmetic)
1165 #endif
1167 const BYTE RGBAShaderPSMask[] =
1168 {
1169 0, 2, 255, 255, 254, 255,
1170 56, 0, 67, 84, 65, 66,
1171 28, 0, 0, 0, 171, 0,
1172 0, 0, 0, 2, 255, 255,
1173 3, 0, 0, 0, 28, 0,
1174 0, 0, 0, 1, 0, 0,
1175 164, 0, 0, 0, 88, 0,
1176 0, 0, 2, 0, 0, 0,
1177 1, 0, 0, 0, 104, 0,
1178 0, 0, 0, 0, 0, 0,
1179 120, 0, 0, 0, 3, 0,
1180 0, 0, 1, 0, 0, 0,
1181 124, 0, 0, 0, 0, 0,
1182 0, 0, 140, 0, 0, 0,
1183 3, 0, 1, 0, 1, 0,
1184 0, 0, 148, 0, 0, 0,
1185 0, 0, 0, 0, 102, 76,
1186 97, 121, 101, 114, 79, 112,
1187 97, 99, 105, 116, 121, 0,
1188 171, 171, 0, 0, 3, 0,
1189 1, 0, 1, 0, 1, 0,
1190 0, 0, 0, 0, 0, 0,
1191 115, 50, 68, 0, 4, 0,
1192 12, 0, 1, 0, 1, 0,
1193 1, 0, 0, 0, 0, 0,
1194 0, 0, 115, 50, 68, 77,
1195 97, 115, 107, 0, 4, 0,
1196 12, 0, 1, 0, 1, 0,
1197 1, 0, 0, 0, 0, 0,
1198 0, 0, 112, 115, 95, 50,
1199 95, 48, 0, 77, 105, 99,
1200 114, 111, 115, 111, 102, 116,
1201 32, 40, 82, 41, 32, 72,
1202 76, 83, 76, 32, 83, 104,
1203 97, 100, 101, 114, 32, 67,
1204 111, 109, 112, 105, 108, 101,
1205 114, 32, 57, 46, 50, 57,
1206 46, 57, 53, 50, 46, 51,
1207 49, 49, 49, 0, 31, 0,
1208 0, 2, 0, 0, 0, 128,
1209 0, 0, 3, 176, 31, 0,
1210 0, 2, 0, 0, 0, 128,
1211 1, 0, 3, 176, 31, 0,
1212 0, 2, 0, 0, 0, 144,
1213 0, 8, 15, 160, 31, 0,
1214 0, 2, 0, 0, 0, 144,
1215 1, 8, 15, 160, 66, 0,
1216 0, 3, 0, 0, 15, 128,
1217 0, 0, 228, 176, 0, 8,
1218 228, 160, 66, 0, 0, 3,
1219 1, 0, 15, 128, 1, 0,
1220 228, 176, 1, 8, 228, 160,
1221 5, 0, 0, 3, 0, 0,
1222 15, 128, 0, 0, 228, 128,
1223 0, 0, 0, 160, 5, 0,
1224 0, 3, 0, 0, 15, 128,
1225 1, 0, 255, 128, 0, 0,
1226 228, 128, 1, 0, 0, 2,
1227 0, 8, 15, 128, 0, 0,
1228 228, 128, 255, 255, 0, 0
1229 };
1230 #if 0
1231 //
1232 // Generated by Microsoft (R) HLSL Shader Compiler 9.29.952.3111
1233 //
1234 // fxc LayerManagerD3D9Shaders.hlsl -ERGBAShaderMask3D -nologo -Tps_2_0
1235 // -FhtmpShaderHeader -VnRGBAShaderPSMask3D
1236 //
1237 //
1238 // Parameters:
1239 //
1240 // float fLayerOpacity;
1241 // sampler2D s2D;
1242 // sampler2D s2DMask;
1243 //
1244 //
1245 // Registers:
1246 //
1247 // Name Reg Size
1248 // ------------- ----- ----
1249 // fLayerOpacity c0 1
1250 // s2D s0 1
1251 // s2DMask s1 1
1252 //
1254 ps_2_0
1255 dcl t0.xy
1256 dcl t1.xyz
1257 dcl_2d s0
1258 dcl_2d s1
1259 texld r0, t0, s0
1260 rcp r1.w, t1.z
1261 mul r1.xy, r1.w, t1
1262 texld r1, r1, s1
1263 mul r0, r0, c0.x
1264 mul r0, r1.w, r0
1265 mov oC0, r0
1267 // approximately 7 instruction slots used (2 texture, 5 arithmetic)
1268 #endif
1270 const BYTE RGBAShaderPSMask3D[] =
1271 {
1272 0, 2, 255, 255, 254, 255,
1273 56, 0, 67, 84, 65, 66,
1274 28, 0, 0, 0, 171, 0,
1275 0, 0, 0, 2, 255, 255,
1276 3, 0, 0, 0, 28, 0,
1277 0, 0, 0, 1, 0, 0,
1278 164, 0, 0, 0, 88, 0,
1279 0, 0, 2, 0, 0, 0,
1280 1, 0, 0, 0, 104, 0,
1281 0, 0, 0, 0, 0, 0,
1282 120, 0, 0, 0, 3, 0,
1283 0, 0, 1, 0, 0, 0,
1284 124, 0, 0, 0, 0, 0,
1285 0, 0, 140, 0, 0, 0,
1286 3, 0, 1, 0, 1, 0,
1287 0, 0, 148, 0, 0, 0,
1288 0, 0, 0, 0, 102, 76,
1289 97, 121, 101, 114, 79, 112,
1290 97, 99, 105, 116, 121, 0,
1291 171, 171, 0, 0, 3, 0,
1292 1, 0, 1, 0, 1, 0,
1293 0, 0, 0, 0, 0, 0,
1294 115, 50, 68, 0, 4, 0,
1295 12, 0, 1, 0, 1, 0,
1296 1, 0, 0, 0, 0, 0,
1297 0, 0, 115, 50, 68, 77,
1298 97, 115, 107, 0, 4, 0,
1299 12, 0, 1, 0, 1, 0,
1300 1, 0, 0, 0, 0, 0,
1301 0, 0, 112, 115, 95, 50,
1302 95, 48, 0, 77, 105, 99,
1303 114, 111, 115, 111, 102, 116,
1304 32, 40, 82, 41, 32, 72,
1305 76, 83, 76, 32, 83, 104,
1306 97, 100, 101, 114, 32, 67,
1307 111, 109, 112, 105, 108, 101,
1308 114, 32, 57, 46, 50, 57,
1309 46, 57, 53, 50, 46, 51,
1310 49, 49, 49, 0, 31, 0,
1311 0, 2, 0, 0, 0, 128,
1312 0, 0, 3, 176, 31, 0,
1313 0, 2, 0, 0, 0, 128,
1314 1, 0, 7, 176, 31, 0,
1315 0, 2, 0, 0, 0, 144,
1316 0, 8, 15, 160, 31, 0,
1317 0, 2, 0, 0, 0, 144,
1318 1, 8, 15, 160, 66, 0,
1319 0, 3, 0, 0, 15, 128,
1320 0, 0, 228, 176, 0, 8,
1321 228, 160, 6, 0, 0, 2,
1322 1, 0, 8, 128, 1, 0,
1323 170, 176, 5, 0, 0, 3,
1324 1, 0, 3, 128, 1, 0,
1325 255, 128, 1, 0, 228, 176,
1326 66, 0, 0, 3, 1, 0,
1327 15, 128, 1, 0, 228, 128,
1328 1, 8, 228, 160, 5, 0,
1329 0, 3, 0, 0, 15, 128,
1330 0, 0, 228, 128, 0, 0,
1331 0, 160, 5, 0, 0, 3,
1332 0, 0, 15, 128, 1, 0,
1333 255, 128, 0, 0, 228, 128,
1334 1, 0, 0, 2, 0, 8,
1335 15, 128, 0, 0, 228, 128,
1336 255, 255, 0, 0
1337 };
1338 #if 0
1339 //
1340 // Generated by Microsoft (R) HLSL Shader Compiler 9.29.952.3111
1341 //
1342 // fxc LayerManagerD3D9Shaders.hlsl -EComponentPass1ShaderMask -nologo
1343 // -Tps_2_0 -FhtmpShaderHeader -VnComponentPass1ShaderPSMask
1344 //
1345 //
1346 // Parameters:
1347 //
1348 // float fLayerOpacity;
1349 // sampler2D s2D;
1350 // sampler2D s2DMask;
1351 // sampler2D s2DWhite;
1352 //
1353 //
1354 // Registers:
1355 //
1356 // Name Reg Size
1357 // ------------- ----- ----
1358 // fLayerOpacity c0 1
1359 // s2D s0 1
1360 // s2DWhite s1 1
1361 // s2DMask s2 1
1362 //
1364 ps_2_0
1365 def c1, 1, 0, 0, 0
1366 dcl t0.xy
1367 dcl t1.xy
1368 dcl_2d s0
1369 dcl_2d s1
1370 dcl_2d s2
1371 texld r0, t0, s0
1372 texld r1, t0, s1
1373 texld r2, t1, s2
1374 add r0.xyz, r0, -r1
1375 add r0.xyz, r0, c1.x
1376 mul r0.xyz, r0, c0.x
1377 mul r0.xyz, r2.w, r0
1378 mov r1.xyz, r0
1379 mov r1.w, r0.y
1380 mov oC0, r1
1382 // approximately 10 instruction slots used (3 texture, 7 arithmetic)
1383 #endif
1385 const BYTE ComponentPass1ShaderPSMask[] =
1386 {
1387 0, 2, 255, 255, 254, 255,
1388 68, 0, 67, 84, 65, 66,
1389 28, 0, 0, 0, 219, 0,
1390 0, 0, 0, 2, 255, 255,
1391 4, 0, 0, 0, 28, 0,
1392 0, 0, 0, 1, 0, 0,
1393 212, 0, 0, 0, 108, 0,
1394 0, 0, 2, 0, 0, 0,
1395 1, 0, 0, 0, 124, 0,
1396 0, 0, 0, 0, 0, 0,
1397 140, 0, 0, 0, 3, 0,
1398 0, 0, 1, 0, 0, 0,
1399 144, 0, 0, 0, 0, 0,
1400 0, 0, 160, 0, 0, 0,
1401 3, 0, 2, 0, 1, 0,
1402 0, 0, 168, 0, 0, 0,
1403 0, 0, 0, 0, 184, 0,
1404 0, 0, 3, 0, 1, 0,
1405 1, 0, 0, 0, 196, 0,
1406 0, 0, 0, 0, 0, 0,
1407 102, 76, 97, 121, 101, 114,
1408 79, 112, 97, 99, 105, 116,
1409 121, 0, 171, 171, 0, 0,
1410 3, 0, 1, 0, 1, 0,
1411 1, 0, 0, 0, 0, 0,
1412 0, 0, 115, 50, 68, 0,
1413 4, 0, 12, 0, 1, 0,
1414 1, 0, 1, 0, 0, 0,
1415 0, 0, 0, 0, 115, 50,
1416 68, 77, 97, 115, 107, 0,
1417 4, 0, 12, 0, 1, 0,
1418 1, 0, 1, 0, 0, 0,
1419 0, 0, 0, 0, 115, 50,
1420 68, 87, 104, 105, 116, 101,
1421 0, 171, 171, 171, 4, 0,
1422 12, 0, 1, 0, 1, 0,
1423 1, 0, 0, 0, 0, 0,
1424 0, 0, 112, 115, 95, 50,
1425 95, 48, 0, 77, 105, 99,
1426 114, 111, 115, 111, 102, 116,
1427 32, 40, 82, 41, 32, 72,
1428 76, 83, 76, 32, 83, 104,
1429 97, 100, 101, 114, 32, 67,
1430 111, 109, 112, 105, 108, 101,
1431 114, 32, 57, 46, 50, 57,
1432 46, 57, 53, 50, 46, 51,
1433 49, 49, 49, 0, 81, 0,
1434 0, 5, 1, 0, 15, 160,
1435 0, 0, 128, 63, 0, 0,
1436 0, 0, 0, 0, 0, 0,
1437 0, 0, 0, 0, 31, 0,
1438 0, 2, 0, 0, 0, 128,
1439 0, 0, 3, 176, 31, 0,
1440 0, 2, 0, 0, 0, 128,
1441 1, 0, 3, 176, 31, 0,
1442 0, 2, 0, 0, 0, 144,
1443 0, 8, 15, 160, 31, 0,
1444 0, 2, 0, 0, 0, 144,
1445 1, 8, 15, 160, 31, 0,
1446 0, 2, 0, 0, 0, 144,
1447 2, 8, 15, 160, 66, 0,
1448 0, 3, 0, 0, 15, 128,
1449 0, 0, 228, 176, 0, 8,
1450 228, 160, 66, 0, 0, 3,
1451 1, 0, 15, 128, 0, 0,
1452 228, 176, 1, 8, 228, 160,
1453 66, 0, 0, 3, 2, 0,
1454 15, 128, 1, 0, 228, 176,
1455 2, 8, 228, 160, 2, 0,
1456 0, 3, 0, 0, 7, 128,
1457 0, 0, 228, 128, 1, 0,
1458 228, 129, 2, 0, 0, 3,
1459 0, 0, 7, 128, 0, 0,
1460 228, 128, 1, 0, 0, 160,
1461 5, 0, 0, 3, 0, 0,
1462 7, 128, 0, 0, 228, 128,
1463 0, 0, 0, 160, 5, 0,
1464 0, 3, 0, 0, 7, 128,
1465 2, 0, 255, 128, 0, 0,
1466 228, 128, 1, 0, 0, 2,
1467 1, 0, 7, 128, 0, 0,
1468 228, 128, 1, 0, 0, 2,
1469 1, 0, 8, 128, 0, 0,
1470 85, 128, 1, 0, 0, 2,
1471 0, 8, 15, 128, 1, 0,
1472 228, 128, 255, 255, 0, 0
1473 };
1474 #if 0
1475 //
1476 // Generated by Microsoft (R) HLSL Shader Compiler 9.29.952.3111
1477 //
1478 // fxc LayerManagerD3D9Shaders.hlsl -EComponentPass2ShaderMask -nologo
1479 // -Tps_2_0 -FhtmpShaderHeader -VnComponentPass2ShaderPSMask
1480 //
1481 //
1482 // Parameters:
1483 //
1484 // float fLayerOpacity;
1485 // sampler2D s2D;
1486 // sampler2D s2DMask;
1487 // sampler2D s2DWhite;
1488 //
1489 //
1490 // Registers:
1491 //
1492 // Name Reg Size
1493 // ------------- ----- ----
1494 // fLayerOpacity c0 1
1495 // s2D s0 1
1496 // s2DWhite s1 1
1497 // s2DMask s2 1
1498 //
1500 ps_2_0
1501 def c1, 1, 0, 0, 0
1502 dcl t0.xy
1503 dcl t1.xy
1504 dcl_2d s0
1505 dcl_2d s1
1506 dcl_2d s2
1507 texld r0, t0, s1
1508 texld r1, t0, s0
1509 texld r2, t1, s2
1510 add r0.x, -r0.y, r1.y
1511 add r1.w, r0.x, c1.x
1512 mul r0, r1, c0.x
1513 mul r0, r2.w, r0
1514 mov oC0, r0
1516 // approximately 8 instruction slots used (3 texture, 5 arithmetic)
1517 #endif
1519 const BYTE ComponentPass2ShaderPSMask[] =
1520 {
1521 0, 2, 255, 255, 254, 255,
1522 68, 0, 67, 84, 65, 66,
1523 28, 0, 0, 0, 219, 0,
1524 0, 0, 0, 2, 255, 255,
1525 4, 0, 0, 0, 28, 0,
1526 0, 0, 0, 1, 0, 0,
1527 212, 0, 0, 0, 108, 0,
1528 0, 0, 2, 0, 0, 0,
1529 1, 0, 0, 0, 124, 0,
1530 0, 0, 0, 0, 0, 0,
1531 140, 0, 0, 0, 3, 0,
1532 0, 0, 1, 0, 0, 0,
1533 144, 0, 0, 0, 0, 0,
1534 0, 0, 160, 0, 0, 0,
1535 3, 0, 2, 0, 1, 0,
1536 0, 0, 168, 0, 0, 0,
1537 0, 0, 0, 0, 184, 0,
1538 0, 0, 3, 0, 1, 0,
1539 1, 0, 0, 0, 196, 0,
1540 0, 0, 0, 0, 0, 0,
1541 102, 76, 97, 121, 101, 114,
1542 79, 112, 97, 99, 105, 116,
1543 121, 0, 171, 171, 0, 0,
1544 3, 0, 1, 0, 1, 0,
1545 1, 0, 0, 0, 0, 0,
1546 0, 0, 115, 50, 68, 0,
1547 4, 0, 12, 0, 1, 0,
1548 1, 0, 1, 0, 0, 0,
1549 0, 0, 0, 0, 115, 50,
1550 68, 77, 97, 115, 107, 0,
1551 4, 0, 12, 0, 1, 0,
1552 1, 0, 1, 0, 0, 0,
1553 0, 0, 0, 0, 115, 50,
1554 68, 87, 104, 105, 116, 101,
1555 0, 171, 171, 171, 4, 0,
1556 12, 0, 1, 0, 1, 0,
1557 1, 0, 0, 0, 0, 0,
1558 0, 0, 112, 115, 95, 50,
1559 95, 48, 0, 77, 105, 99,
1560 114, 111, 115, 111, 102, 116,
1561 32, 40, 82, 41, 32, 72,
1562 76, 83, 76, 32, 83, 104,
1563 97, 100, 101, 114, 32, 67,
1564 111, 109, 112, 105, 108, 101,
1565 114, 32, 57, 46, 50, 57,
1566 46, 57, 53, 50, 46, 51,
1567 49, 49, 49, 0, 81, 0,
1568 0, 5, 1, 0, 15, 160,
1569 0, 0, 128, 63, 0, 0,
1570 0, 0, 0, 0, 0, 0,
1571 0, 0, 0, 0, 31, 0,
1572 0, 2, 0, 0, 0, 128,
1573 0, 0, 3, 176, 31, 0,
1574 0, 2, 0, 0, 0, 128,
1575 1, 0, 3, 176, 31, 0,
1576 0, 2, 0, 0, 0, 144,
1577 0, 8, 15, 160, 31, 0,
1578 0, 2, 0, 0, 0, 144,
1579 1, 8, 15, 160, 31, 0,
1580 0, 2, 0, 0, 0, 144,
1581 2, 8, 15, 160, 66, 0,
1582 0, 3, 0, 0, 15, 128,
1583 0, 0, 228, 176, 1, 8,
1584 228, 160, 66, 0, 0, 3,
1585 1, 0, 15, 128, 0, 0,
1586 228, 176, 0, 8, 228, 160,
1587 66, 0, 0, 3, 2, 0,
1588 15, 128, 1, 0, 228, 176,
1589 2, 8, 228, 160, 2, 0,
1590 0, 3, 0, 0, 1, 128,
1591 0, 0, 85, 129, 1, 0,
1592 85, 128, 2, 0, 0, 3,
1593 1, 0, 8, 128, 0, 0,
1594 0, 128, 1, 0, 0, 160,
1595 5, 0, 0, 3, 0, 0,
1596 15, 128, 1, 0, 228, 128,
1597 0, 0, 0, 160, 5, 0,
1598 0, 3, 0, 0, 15, 128,
1599 2, 0, 255, 128, 0, 0,
1600 228, 128, 1, 0, 0, 2,
1601 0, 8, 15, 128, 0, 0,
1602 228, 128, 255, 255, 0, 0
1603 };
1604 #if 0
1605 //
1606 // Generated by Microsoft (R) HLSL Shader Compiler 9.29.952.3111
1607 //
1608 // fxc LayerManagerD3D9Shaders.hlsl -ERGBShaderMask -nologo -Tps_2_0
1609 // -FhtmpShaderHeader -VnRGBShaderPSMask
1610 //
1611 //
1612 // Parameters:
1613 //
1614 // float fLayerOpacity;
1615 // sampler2D s2D;
1616 // sampler2D s2DMask;
1617 //
1618 //
1619 // Registers:
1620 //
1621 // Name Reg Size
1622 // ------------- ----- ----
1623 // fLayerOpacity c0 1
1624 // s2D s0 1
1625 // s2DMask s1 1
1626 //
1628 ps_2_0
1629 def c1, 1, 0, 0, 0
1630 dcl t0.xy
1631 dcl t1.xy
1632 dcl_2d s0
1633 dcl_2d s1
1634 texld r0, t0, s0
1635 texld r1, t1, s1
1636 mov r0.w, c1.x
1637 mul r0, r0, c0.x
1638 mul r0, r1.w, r0
1639 mov oC0, r0
1641 // approximately 6 instruction slots used (2 texture, 4 arithmetic)
1642 #endif
1644 const BYTE RGBShaderPSMask[] =
1645 {
1646 0, 2, 255, 255, 254, 255,
1647 56, 0, 67, 84, 65, 66,
1648 28, 0, 0, 0, 171, 0,
1649 0, 0, 0, 2, 255, 255,
1650 3, 0, 0, 0, 28, 0,
1651 0, 0, 0, 1, 0, 0,
1652 164, 0, 0, 0, 88, 0,
1653 0, 0, 2, 0, 0, 0,
1654 1, 0, 0, 0, 104, 0,
1655 0, 0, 0, 0, 0, 0,
1656 120, 0, 0, 0, 3, 0,
1657 0, 0, 1, 0, 0, 0,
1658 124, 0, 0, 0, 0, 0,
1659 0, 0, 140, 0, 0, 0,
1660 3, 0, 1, 0, 1, 0,
1661 0, 0, 148, 0, 0, 0,
1662 0, 0, 0, 0, 102, 76,
1663 97, 121, 101, 114, 79, 112,
1664 97, 99, 105, 116, 121, 0,
1665 171, 171, 0, 0, 3, 0,
1666 1, 0, 1, 0, 1, 0,
1667 0, 0, 0, 0, 0, 0,
1668 115, 50, 68, 0, 4, 0,
1669 12, 0, 1, 0, 1, 0,
1670 1, 0, 0, 0, 0, 0,
1671 0, 0, 115, 50, 68, 77,
1672 97, 115, 107, 0, 4, 0,
1673 12, 0, 1, 0, 1, 0,
1674 1, 0, 0, 0, 0, 0,
1675 0, 0, 112, 115, 95, 50,
1676 95, 48, 0, 77, 105, 99,
1677 114, 111, 115, 111, 102, 116,
1678 32, 40, 82, 41, 32, 72,
1679 76, 83, 76, 32, 83, 104,
1680 97, 100, 101, 114, 32, 67,
1681 111, 109, 112, 105, 108, 101,
1682 114, 32, 57, 46, 50, 57,
1683 46, 57, 53, 50, 46, 51,
1684 49, 49, 49, 0, 81, 0,
1685 0, 5, 1, 0, 15, 160,
1686 0, 0, 128, 63, 0, 0,
1687 0, 0, 0, 0, 0, 0,
1688 0, 0, 0, 0, 31, 0,
1689 0, 2, 0, 0, 0, 128,
1690 0, 0, 3, 176, 31, 0,
1691 0, 2, 0, 0, 0, 128,
1692 1, 0, 3, 176, 31, 0,
1693 0, 2, 0, 0, 0, 144,
1694 0, 8, 15, 160, 31, 0,
1695 0, 2, 0, 0, 0, 144,
1696 1, 8, 15, 160, 66, 0,
1697 0, 3, 0, 0, 15, 128,
1698 0, 0, 228, 176, 0, 8,
1699 228, 160, 66, 0, 0, 3,
1700 1, 0, 15, 128, 1, 0,
1701 228, 176, 1, 8, 228, 160,
1702 1, 0, 0, 2, 0, 0,
1703 8, 128, 1, 0, 0, 160,
1704 5, 0, 0, 3, 0, 0,
1705 15, 128, 0, 0, 228, 128,
1706 0, 0, 0, 160, 5, 0,
1707 0, 3, 0, 0, 15, 128,
1708 1, 0, 255, 128, 0, 0,
1709 228, 128, 1, 0, 0, 2,
1710 0, 8, 15, 128, 0, 0,
1711 228, 128, 255, 255, 0, 0
1712 };
1713 #if 0
1714 //
1715 // Generated by Microsoft (R) HLSL Shader Compiler 9.29.952.3111
1716 //
1717 // fxc LayerManagerD3D9Shaders.hlsl -EYCbCrShaderMask -nologo -Tps_2_0
1718 // -FhtmpShaderHeader -VnYCbCrShaderPSMask
1719 //
1720 //
1721 // Parameters:
1722 //
1723 // float fLayerOpacity;
1724 // sampler2D s2DCb;
1725 // sampler2D s2DCr;
1726 // sampler2D s2DMask;
1727 // sampler2D s2DY;
1728 //
1729 //
1730 // Registers:
1731 //
1732 // Name Reg Size
1733 // ------------- ----- ----
1734 // fLayerOpacity c0 1
1735 // s2DY s0 1
1736 // s2DCb s1 1
1737 // s2DCr s2 1
1738 // s2DMask s3 1
1739 //
1741 ps_2_0
1742 def c1, -0.5, -0.0625, 1.16400003, 1.59599996
1743 def c2, 0.813000023, 0.391000003, 2.01799989, 1
1744 dcl t0.xy
1745 dcl t1.xy
1746 dcl_2d s0
1747 dcl_2d s1
1748 dcl_2d s2
1749 dcl_2d s3
1750 texld r0, t0, s2
1751 texld r1, t0, s0
1752 texld r2, t0, s1
1753 texld r3, t1, s3
1754 add r0.x, r0.w, c1.x
1755 add r0.y, r1.w, c1.y
1756 mul r0.y, r0.y, c1.z
1757 mad r0.z, r0.x, -c2.x, r0.y
1758 mad r1.x, r0.x, c1.w, r0.y
1759 add r0.x, r2.w, c1.x
1760 mad r1.y, r0.x, -c2.y, r0.z
1761 mad r1.z, r0.x, c2.z, r0.y
1762 mov r1.w, c2.w
1763 mul r0, r1, c0.x
1764 mul r0, r3.w, r0
1765 mov oC0, r0
1767 // approximately 16 instruction slots used (4 texture, 12 arithmetic)
1768 #endif
1770 const BYTE YCbCrShaderPSMask[] =
1771 {
1772 0, 2, 255, 255, 254, 255,
1773 79, 0, 67, 84, 65, 66,
1774 28, 0, 0, 0, 7, 1,
1775 0, 0, 0, 2, 255, 255,
1776 5, 0, 0, 0, 28, 0,
1777 0, 0, 0, 1, 0, 0,
1778 0, 1, 0, 0, 128, 0,
1779 0, 0, 2, 0, 0, 0,
1780 1, 0, 0, 0, 144, 0,
1781 0, 0, 0, 0, 0, 0,
1782 160, 0, 0, 0, 3, 0,
1783 1, 0, 1, 0, 0, 0,
1784 168, 0, 0, 0, 0, 0,
1785 0, 0, 184, 0, 0, 0,
1786 3, 0, 2, 0, 1, 0,
1787 0, 0, 192, 0, 0, 0,
1788 0, 0, 0, 0, 208, 0,
1789 0, 0, 3, 0, 3, 0,
1790 1, 0, 0, 0, 216, 0,
1791 0, 0, 0, 0, 0, 0,
1792 232, 0, 0, 0, 3, 0,
1793 0, 0, 1, 0, 0, 0,
1794 240, 0, 0, 0, 0, 0,
1795 0, 0, 102, 76, 97, 121,
1796 101, 114, 79, 112, 97, 99,
1797 105, 116, 121, 0, 171, 171,
1798 0, 0, 3, 0, 1, 0,
1799 1, 0, 1, 0, 0, 0,
1800 0, 0, 0, 0, 115, 50,
1801 68, 67, 98, 0, 171, 171,
1802 4, 0, 12, 0, 1, 0,
1803 1, 0, 1, 0, 0, 0,
1804 0, 0, 0, 0, 115, 50,
1805 68, 67, 114, 0, 171, 171,
1806 4, 0, 12, 0, 1, 0,
1807 1, 0, 1, 0, 0, 0,
1808 0, 0, 0, 0, 115, 50,
1809 68, 77, 97, 115, 107, 0,
1810 4, 0, 12, 0, 1, 0,
1811 1, 0, 1, 0, 0, 0,
1812 0, 0, 0, 0, 115, 50,
1813 68, 89, 0, 171, 171, 171,
1814 4, 0, 12, 0, 1, 0,
1815 1, 0, 1, 0, 0, 0,
1816 0, 0, 0, 0, 112, 115,
1817 95, 50, 95, 48, 0, 77,
1818 105, 99, 114, 111, 115, 111,
1819 102, 116, 32, 40, 82, 41,
1820 32, 72, 76, 83, 76, 32,
1821 83, 104, 97, 100, 101, 114,
1822 32, 67, 111, 109, 112, 105,
1823 108, 101, 114, 32, 57, 46,
1824 50, 57, 46, 57, 53, 50,
1825 46, 51, 49, 49, 49, 0,
1826 81, 0, 0, 5, 1, 0,
1827 15, 160, 0, 0, 0, 191,
1828 0, 0, 128, 189, 244, 253,
1829 148, 63, 186, 73, 204, 63,
1830 81, 0, 0, 5, 2, 0,
1831 15, 160, 197, 32, 80, 63,
1832 39, 49, 200, 62, 233, 38,
1833 1, 64, 0, 0, 128, 63,
1834 31, 0, 0, 2, 0, 0,
1835 0, 128, 0, 0, 3, 176,
1836 31, 0, 0, 2, 0, 0,
1837 0, 128, 1, 0, 3, 176,
1838 31, 0, 0, 2, 0, 0,
1839 0, 144, 0, 8, 15, 160,
1840 31, 0, 0, 2, 0, 0,
1841 0, 144, 1, 8, 15, 160,
1842 31, 0, 0, 2, 0, 0,
1843 0, 144, 2, 8, 15, 160,
1844 31, 0, 0, 2, 0, 0,
1845 0, 144, 3, 8, 15, 160,
1846 66, 0, 0, 3, 0, 0,
1847 15, 128, 0, 0, 228, 176,
1848 2, 8, 228, 160, 66, 0,
1849 0, 3, 1, 0, 15, 128,
1850 0, 0, 228, 176, 0, 8,
1851 228, 160, 66, 0, 0, 3,
1852 2, 0, 15, 128, 0, 0,
1853 228, 176, 1, 8, 228, 160,
1854 66, 0, 0, 3, 3, 0,
1855 15, 128, 1, 0, 228, 176,
1856 3, 8, 228, 160, 2, 0,
1857 0, 3, 0, 0, 1, 128,
1858 0, 0, 255, 128, 1, 0,
1859 0, 160, 2, 0, 0, 3,
1860 0, 0, 2, 128, 1, 0,
1861 255, 128, 1, 0, 85, 160,
1862 5, 0, 0, 3, 0, 0,
1863 2, 128, 0, 0, 85, 128,
1864 1, 0, 170, 160, 4, 0,
1865 0, 4, 0, 0, 4, 128,
1866 0, 0, 0, 128, 2, 0,
1867 0, 161, 0, 0, 85, 128,
1868 4, 0, 0, 4, 1, 0,
1869 1, 128, 0, 0, 0, 128,
1870 1, 0, 255, 160, 0, 0,
1871 85, 128, 2, 0, 0, 3,
1872 0, 0, 1, 128, 2, 0,
1873 255, 128, 1, 0, 0, 160,
1874 4, 0, 0, 4, 1, 0,
1875 2, 128, 0, 0, 0, 128,
1876 2, 0, 85, 161, 0, 0,
1877 170, 128, 4, 0, 0, 4,
1878 1, 0, 4, 128, 0, 0,
1879 0, 128, 2, 0, 170, 160,
1880 0, 0, 85, 128, 1, 0,
1881 0, 2, 1, 0, 8, 128,
1882 2, 0, 255, 160, 5, 0,
1883 0, 3, 0, 0, 15, 128,
1884 1, 0, 228, 128, 0, 0,
1885 0, 160, 5, 0, 0, 3,
1886 0, 0, 15, 128, 3, 0,
1887 255, 128, 0, 0, 228, 128,
1888 1, 0, 0, 2, 0, 8,
1889 15, 128, 0, 0, 228, 128,
1890 255, 255, 0, 0
1891 };
1892 #if 0
1893 //
1894 // Generated by Microsoft (R) HLSL Shader Compiler 9.29.952.3111
1895 //
1896 // fxc LayerManagerD3D9Shaders.hlsl -ESolidColorShaderMask -nologo -Tps_2_0
1897 // -FhtmpShaderHeader -VnSolidColorShaderPSMask
1898 //
1899 //
1900 // Parameters:
1901 //
1902 // float4 fLayerColor;
1903 // sampler2D s2DMask;
1904 //
1905 //
1906 // Registers:
1907 //
1908 // Name Reg Size
1909 // ------------ ----- ----
1910 // fLayerColor c0 1
1911 // s2DMask s0 1
1912 //
1914 ps_2_0
1915 dcl t1.xy
1916 dcl_2d s0
1917 texld r0, t1, s0
1918 mul r0, r0.w, c0
1919 mov oC0, r0
1921 // approximately 3 instruction slots used (1 texture, 2 arithmetic)
1922 #endif
1924 const BYTE SolidColorShaderPSMask[] =
1925 {
1926 0, 2, 255, 255, 254, 255,
1927 45, 0, 67, 84, 65, 66,
1928 28, 0, 0, 0, 127, 0,
1929 0, 0, 0, 2, 255, 255,
1930 2, 0, 0, 0, 28, 0,
1931 0, 0, 0, 1, 0, 0,
1932 120, 0, 0, 0, 68, 0,
1933 0, 0, 2, 0, 0, 0,
1934 1, 0, 0, 0, 80, 0,
1935 0, 0, 0, 0, 0, 0,
1936 96, 0, 0, 0, 3, 0,
1937 0, 0, 1, 0, 0, 0,
1938 104, 0, 0, 0, 0, 0,
1939 0, 0, 102, 76, 97, 121,
1940 101, 114, 67, 111, 108, 111,
1941 114, 0, 1, 0, 3, 0,
1942 1, 0, 4, 0, 1, 0,
1943 0, 0, 0, 0, 0, 0,
1944 115, 50, 68, 77, 97, 115,
1945 107, 0, 4, 0, 12, 0,
1946 1, 0, 1, 0, 1, 0,
1947 0, 0, 0, 0, 0, 0,
1948 112, 115, 95, 50, 95, 48,
1949 0, 77, 105, 99, 114, 111,
1950 115, 111, 102, 116, 32, 40,
1951 82, 41, 32, 72, 76, 83,
1952 76, 32, 83, 104, 97, 100,
1953 101, 114, 32, 67, 111, 109,
1954 112, 105, 108, 101, 114, 32,
1955 57, 46, 50, 57, 46, 57,
1956 53, 50, 46, 51, 49, 49,
1957 49, 0, 31, 0, 0, 2,
1958 0, 0, 0, 128, 1, 0,
1959 3, 176, 31, 0, 0, 2,
1960 0, 0, 0, 144, 0, 8,
1961 15, 160, 66, 0, 0, 3,
1962 0, 0, 15, 128, 1, 0,
1963 228, 176, 0, 8, 228, 160,
1964 5, 0, 0, 3, 0, 0,
1965 15, 128, 0, 0, 255, 128,
1966 0, 0, 228, 160, 1, 0,
1967 0, 2, 0, 8, 15, 128,
1968 0, 0, 228, 128, 255, 255,
1969 0, 0
1970 };