Copy as Markdown

Other Tools

// AUTOGENERATED - DO NOT EDIT
namespace mozilla {
namespace layers {
struct ShaderBytes { const void* mData; size_t mLength; };
#if 0
//
// Generated by Microsoft (R) HLSL Shader Compiler 10.1
//
//
// Buffer Definitions:
//
// cbuffer $Globals
// {
//
// float4x4 mLayerTransform; // Offset: 0 Size: 64
// float4x4 mProjection; // Offset: 64 Size: 64
// float4 vRenderTargetOffset; // Offset: 128 Size: 16
// float4 vTextureCoords; // Offset: 144 Size: 16
// float4 vLayerQuad; // Offset: 160 Size: 16
// float4 fLayerColor; // Offset: 176 Size: 16 [unused]
// float fLayerOpacity; // Offset: 192 Size: 4 [unused]
// float fCoefficient; // Offset: 196 Size: 4 [unused]
// row_major float3x3 mYuvColorMatrix;// Offset: 208 Size: 44 [unused]
//
// }
//
//
// Resource Bindings:
//
// Name Type Format Dim HLSL Bind Count
// ------------------------------ ---------- ------- ----------- -------------- ------
// $Globals cbuffer NA NA cb0 1
//
//
//
// Input signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// POSITION 0 xy 0 NONE float xy
//
//
// Output signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// SV_Position 0 xyzw 0 POS float xyzw
// TEXCOORD 0 xy 1 NONE float xy
//
//
// Constant buffer to DX9 shader constant mappings:
//
// Target Reg Buffer Start Reg # of Regs Data Conversion
// ---------- ------- --------- --------- ----------------------
// c1 cb0 0 2 ( FLT, FLT, FLT, FLT)
// c3 cb0 3 8 ( FLT, FLT, FLT, FLT)
//
//
// Runtime generated constant mappings:
//
// Target Reg Constant Description
// ---------- --------------------------------------------------
// c0 Vertex Shader position offset
//
//
// Level9 shader bytecode:
//
vs_2_x
dcl_texcoord v0
mad oT0.xy, v0, c9.zwzw, c9
mad r0.xy, v0, c10.zwzw, c10
mul r1, r0.y, c2
mad r0, c1, r0.x, r1
add r0, r0, c3
rcp r1.x, r0.w
mul r0.xyz, r0, r1.x
add r0, r0, -c8
mul r0.xyz, r0.w, r0
mul r1, r0.y, c5
mad r1, c4, r0.x, r1
mad r1, c6, r0.z, r1
mad r0, c7, r0.w, r1
mad oPos.xy, r0.w, c0, r0
mov oPos.zw, r0
// approximately 15 instruction slots used
vs_4_0
dcl_constantbuffer CB0[11], immediateIndexed
dcl_input v0.xy
dcl_output_siv o0.xyzw, position
dcl_output o1.xy
dcl_temps 2
mad r0.xy, v0.xyxx, cb0[10].zwzz, cb0[10].xyxx
mul r1.xyzw, r0.yyyy, cb0[1].xyzw
mad r0.xyzw, cb0[0].xyzw, r0.xxxx, r1.xyzw
add r0.xyzw, r0.xyzw, cb0[3].xyzw
div r0.xyz, r0.xyzx, r0.wwww
add r0.xyzw, r0.xyzw, -cb0[8].xyzw
mul r0.xyz, r0.wwww, r0.xyzx
mul r1.xyzw, r0.yyyy, cb0[5].xyzw
mad r1.xyzw, cb0[4].xyzw, r0.xxxx, r1.xyzw
mad r1.xyzw, cb0[6].xyzw, r0.zzzz, r1.xyzw
mad o0.xyzw, cb0[7].xyzw, r0.wwww, r1.xyzw
mad o1.xy, v0.xyxx, cb0[9].zwzz, cb0[9].xyxx
ret
// Approximately 13 instruction slots used
#endif
const BYTE LayerQuadVS[] =
{
68, 88, 66, 67, 50, 207,
240, 18, 95, 33, 20, 18,
221, 200, 251, 225, 29, 98,
173, 193, 1, 0, 0, 0,
232, 6, 0, 0, 6, 0,
0, 0, 56, 0, 0, 0,
152, 1, 0, 0, 160, 3,
0, 0, 28, 4, 0, 0,
92, 6, 0, 0, 144, 6,
0, 0, 65, 111, 110, 57,
88, 1, 0, 0, 88, 1,
0, 0, 0, 2, 254, 255,
24, 1, 0, 0, 64, 0,
0, 0, 2, 0, 36, 0,
0, 0, 60, 0, 0, 0,
60, 0, 0, 0, 36, 0,
1, 0, 60, 0, 0, 0,
0, 0, 2, 0, 1, 0,
0, 0, 0, 0, 0, 0,
3, 0, 8, 0, 3, 0,
0, 0, 0, 0, 0, 0,
0, 0, 1, 2, 254, 255,
31, 0, 0, 2, 5, 0,
0, 128, 0, 0, 15, 144,
4, 0, 0, 4, 0, 0,
3, 224, 0, 0, 228, 144,
9, 0, 238, 160, 9, 0,
228, 160, 4, 0, 0, 4,
0, 0, 3, 128, 0, 0,
228, 144, 10, 0, 238, 160,
10, 0, 228, 160, 5, 0,
0, 3, 1, 0, 15, 128,
0, 0, 85, 128, 2, 0,
228, 160, 4, 0, 0, 4,
0, 0, 15, 128, 1, 0,
228, 160, 0, 0, 0, 128,
1, 0, 228, 128, 2, 0,
0, 3, 0, 0, 15, 128,
0, 0, 228, 128, 3, 0,
228, 160, 6, 0, 0, 2,
1, 0, 1, 128, 0, 0,
255, 128, 5, 0, 0, 3,
0, 0, 7, 128, 0, 0,
228, 128, 1, 0, 0, 128,
2, 0, 0, 3, 0, 0,
15, 128, 0, 0, 228, 128,
8, 0, 228, 161, 5, 0,
0, 3, 0, 0, 7, 128,
0, 0, 255, 128, 0, 0,
228, 128, 5, 0, 0, 3,
1, 0, 15, 128, 0, 0,
85, 128, 5, 0, 228, 160,
4, 0, 0, 4, 1, 0,
15, 128, 4, 0, 228, 160,
0, 0, 0, 128, 1, 0,
228, 128, 4, 0, 0, 4,
1, 0, 15, 128, 6, 0,
228, 160, 0, 0, 170, 128,
1, 0, 228, 128, 4, 0,
0, 4, 0, 0, 15, 128,
7, 0, 228, 160, 0, 0,
255, 128, 1, 0, 228, 128,
4, 0, 0, 4, 0, 0,
3, 192, 0, 0, 255, 128,
0, 0, 228, 160, 0, 0,
228, 128, 1, 0, 0, 2,
0, 0, 12, 192, 0, 0,
228, 128, 255, 255, 0, 0,
83, 72, 68, 82, 0, 2,
0, 0, 64, 0, 1, 0,
128, 0, 0, 0, 89, 0,
0, 4, 70, 142, 32, 0,
0, 0, 0, 0, 11, 0,
0, 0, 95, 0, 0, 3,
50, 16, 16, 0, 0, 0,
0, 0, 103, 0, 0, 4,
242, 32, 16, 0, 0, 0,
0, 0, 1, 0, 0, 0,
101, 0, 0, 3, 50, 32,
16, 0, 1, 0, 0, 0,
104, 0, 0, 2, 2, 0,
0, 0, 50, 0, 0, 11,
50, 0, 16, 0, 0, 0,
0, 0, 70, 16, 16, 0,
0, 0, 0, 0, 230, 138,
32, 0, 0, 0, 0, 0,
10, 0, 0, 0, 70, 128,
32, 0, 0, 0, 0, 0,
10, 0, 0, 0, 56, 0,
0, 8, 242, 0, 16, 0,
1, 0, 0, 0, 86, 5,
16, 0, 0, 0, 0, 0,
70, 142, 32, 0, 0, 0,
0, 0, 1, 0, 0, 0,
50, 0, 0, 10, 242, 0,
16, 0, 0, 0, 0, 0,
70, 142, 32, 0, 0, 0,
0, 0, 0, 0, 0, 0,
6, 0, 16, 0, 0, 0,
0, 0, 70, 14, 16, 0,
1, 0, 0, 0, 0, 0,
0, 8, 242, 0, 16, 0,
0, 0, 0, 0, 70, 14,
16, 0, 0, 0, 0, 0,
70, 142, 32, 0, 0, 0,
0, 0, 3, 0, 0, 0,
14, 0, 0, 7, 114, 0,
16, 0, 0, 0, 0, 0,
70, 2, 16, 0, 0, 0,
0, 0, 246, 15, 16, 0,
0, 0, 0, 0, 0, 0,
0, 9, 242, 0, 16, 0,
0, 0, 0, 0, 70, 14,
16, 0, 0, 0, 0, 0,
70, 142, 32, 128, 65, 0,
0, 0, 0, 0, 0, 0,
8, 0, 0, 0, 56, 0,
0, 7, 114, 0, 16, 0,
0, 0, 0, 0, 246, 15,
16, 0, 0, 0, 0, 0,
70, 2, 16, 0, 0, 0,
0, 0, 56, 0, 0, 8,
242, 0, 16, 0, 1, 0,
0, 0, 86, 5, 16, 0,
0, 0, 0, 0, 70, 142,
32, 0, 0, 0, 0, 0,
5, 0, 0, 0, 50, 0,
0, 10, 242, 0, 16, 0,
1, 0, 0, 0, 70, 142,
32, 0, 0, 0, 0, 0,
4, 0, 0, 0, 6, 0,
16, 0, 0, 0, 0, 0,
70, 14, 16, 0, 1, 0,
0, 0, 50, 0, 0, 10,
242, 0, 16, 0, 1, 0,
0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
0, 0, 0, 0, 56, 1,
0, 0, 0, 0, 0, 0,
64, 0, 0, 0, 2, 0,
0, 0, 72, 1, 0, 0,
0, 0, 0, 0, 88, 1,
0, 0, 64, 0, 0, 0,
64, 0, 0, 0, 2, 0,
0, 0, 72, 1, 0, 0,
0, 0, 0, 0, 100, 1,
0, 0, 128, 0, 0, 0,
16, 0, 0, 0, 2, 0,
0, 0, 120, 1, 0, 0,
0, 0, 0, 0, 136, 1,
0, 0, 144, 0, 0, 0,
16, 0, 0, 0, 2, 0,
0, 0, 152, 1, 0, 0,
0, 0, 0, 0, 168, 1,
0, 0, 160, 0, 0, 0,
16, 0, 0, 0, 2, 0,
0, 0, 152, 1, 0, 0,
0, 0, 0, 0, 179, 1,
0, 0, 176, 0, 0, 0,
16, 0, 0, 0, 0, 0,
0, 0, 120, 1, 0, 0,
0, 0, 0, 0, 191, 1,
0, 0, 192, 0, 0, 0,
4, 0, 0, 0, 0, 0,
0, 0, 208, 1, 0, 0,
0, 0, 0, 0, 224, 1,
0, 0, 196, 0, 0, 0,
4, 0, 0, 0, 0, 0,
0, 0, 208, 1, 0, 0,
0, 0, 0, 0, 237, 1,
0, 0, 208, 0, 0, 0,
44, 0, 0, 0, 0, 0,
0, 0, 0, 2, 0, 0,
0, 0, 0, 0, 109, 76,
97, 121, 101, 114, 84, 114,
97, 110, 115, 102, 111, 114,
109, 0, 3, 0, 3, 0,
4, 0, 4, 0, 0, 0,
0, 0, 0, 0, 0, 0,
109, 80, 114, 111, 106, 101,
99, 116, 105, 111, 110, 0,
118, 82, 101, 110, 100, 101,
114, 84, 97, 114, 103, 101,
116, 79, 102, 102, 115, 101,
116, 0, 1, 0, 3, 0,
1, 0, 4, 0, 0, 0,
0, 0, 0, 0, 0, 0,
118, 84, 101, 120, 116, 117,
114, 101, 67, 111, 111, 114,
100, 115, 0, 171, 1, 0,
3, 0, 1, 0, 4, 0,
0, 0, 0, 0, 0, 0,
0, 0, 118, 76, 97, 121,
101, 114, 81, 117, 97, 100,
0, 102, 76, 97, 121, 101,
114, 67, 111, 108, 111, 114,
0, 102, 76, 97, 121, 101,
114, 79, 112, 97, 99, 105,
116, 121, 0, 171, 171, 171,
0, 0, 3, 0, 1, 0,
1, 0, 0, 0, 0, 0,
0, 0, 0, 0, 102, 67,
111, 101, 102, 102, 105, 99,
105, 101, 110, 116, 0, 109,
89, 117, 118, 67, 111, 108,
111, 114, 77, 97, 116, 114,
105, 120, 0, 171, 171, 171,
2, 0, 3, 0, 3, 0,
3, 0, 0, 0, 0, 0,
0, 0, 0, 0, 77, 105,
99, 114, 111, 115, 111, 102,
116, 32, 40, 82, 41, 32,
72, 76, 83, 76, 32, 83,
104, 97, 100, 101, 114, 32,
67, 111, 109, 112, 105, 108,
101, 114, 32, 49, 48, 46,
49, 0, 73, 83, 71, 78,
44, 0, 0, 0, 1, 0,
0, 0, 8, 0, 0, 0,
32, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
3, 0, 0, 0, 0, 0,
0, 0, 3, 3, 0, 0,
80, 79, 83, 73, 84, 73,
79, 78, 0, 171, 171, 171,
79, 83, 71, 78, 80, 0,
0, 0, 2, 0, 0, 0,
8, 0, 0, 0, 56, 0,
0, 0, 0, 0, 0, 0,
1, 0, 0, 0, 3, 0,
0, 0, 0, 0, 0, 0,
15, 0, 0, 0, 68, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 3, 0,
0, 0, 1, 0, 0, 0,
3, 12, 0, 0, 83, 86,
95, 80, 111, 115, 105, 116,
105, 111, 110, 0, 84, 69,
88, 67, 79, 79, 82, 68,
0, 171, 171, 171
};
ShaderBytes sLayerQuadVS = { LayerQuadVS, sizeof(LayerQuadVS) };
#if 0
//
// Generated by Microsoft (R) HLSL Shader Compiler 10.1
//
//
// Buffer Definitions:
//
// cbuffer $Globals
// {
//
// float4 fLayerColor; // Offset: 0 Size: 16
// float fLayerOpacity; // Offset: 16 Size: 4 [unused]
// float fCoefficient; // Offset: 48 Size: 4 [unused]
// row_major float3x3 mYuvColorMatrix;// Offset: 64 Size: 44 [unused]
// float4x4 mLayerTransform; // Offset: 112 Size: 64 [unused]
// float4x4 mProjection; // Offset: 176 Size: 64 [unused]
// float4 vRenderTargetOffset; // Offset: 240 Size: 16 [unused]
// float4 vTextureCoords; // Offset: 256 Size: 16 [unused]
// float4 vLayerQuad; // Offset: 272 Size: 16 [unused]
//
// }
//
//
// Resource Bindings:
//
// Name Type Format Dim HLSL Bind Count
// ------------------------------ ---------- ------- ----------- -------------- ------
// $Globals cbuffer NA NA cb0 1
//
//
//
// Input signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// SV_Position 0 xyzw 0 POS float
// TEXCOORD 0 xy 1 NONE float
//
//
// 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_x
mov oC0, c0
// approximately 1 instruction slot used
ps_4_0
dcl_constantbuffer CB0[1], immediateIndexed
dcl_output o0.xyzw
mov o0.xyzw, cb0[0].xyzw
ret
// Approximately 2 instruction slots used
#endif
const BYTE SolidColorShader[] =
{
68, 88, 66, 67, 7, 160,
24, 147, 107, 229, 175, 156,
216, 58, 131, 35, 144, 94,
92, 190, 1, 0, 0, 0,
20, 4, 0, 0, 6, 0,
0, 0, 56, 0, 0, 0,
132, 0, 0, 0, 204, 0,
0, 0, 72, 1, 0, 0,
136, 3, 0, 0, 224, 3,
0, 0, 65, 111, 110, 57,
68, 0, 0, 0, 68, 0,
0, 0, 0, 2, 255, 255,
20, 0, 0, 0, 48, 0,
0, 0, 1, 0, 36, 0,
0, 0, 48, 0, 0, 0,
48, 0, 0, 0, 36, 0,
0, 0, 48, 0, 0,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0, 0,
2, 0, 0, 0, 68, 1,
0, 0, 0, 0, 0, 0,
84, 1, 0, 0, 16, 0,
0, 0, 4, 0, 0, 0,
0, 0, 0, 0, 100, 1,
0, 0, 0, 0, 0, 0,
116, 1, 0, 0, 48, 0,
0, 0, 4, 0, 0, 0,
0, 0, 0, 0, 100, 1,
0, 0, 0, 0, 0, 0,
129, 1, 0, 0, 64, 0,
0, 0, 44, 0, 0, 0,
0, 0, 0, 0, 148, 1,
0, 0, 0, 0, 0, 0,
164, 1, 0, 0, 112, 0,
0, 0, 64, 0, 0, 0,
0, 0, 0, 0, 180, 1,
0, 0, 0, 0, 0, 0,
196, 1, 0, 0, 176, 0,
0, 0, 64, 0, 0, 0,
0, 0, 0, 0, 180, 1,
0, 0, 0, 0, 0, 0,
208, 1, 0, 0, 240, 0,
0, 0, 16, 0, 0, 0,
0, 0, 0, 0, 68, 1,
0, 0, 0, 0, 0, 0,
228, 1, 0, 0, 0, 1,
0, 0, 16, 0, 0, 0,
0, 0, 0, 0, 244, 1,
0, 0, 0, 0, 0, 0,
4, 2, 0, 0, 16, 1,
0, 0, 16, 0, 0, 0,
0, 0, 0, 0, 244, 1,
0, 0, 0, 0, 0, 0,
102, 76, 97, 121, 101, 114,
67, 111, 108, 111, 114, 0,
1, 0, 3, 0, 1, 0,
4, 0, 0, 0, 0, 0,
0, 0, 0, 0, 102, 76,
97, 121, 101, 114, 79, 112,
97, 99, 105, 116, 121, 0,
171, 171, 0, 0, 3, 0,
1, 0, 1, 0, 0, 0,
0, 0, 0, 0, 0, 0,
102, 67, 111, 101, 102, 102,
105, 99, 105, 101, 110, 116,
0, 109, 89, 117, 118, 67,
111, 108, 111, 114, 77, 97,
116, 114, 105, 120, 0, 171,
171, 171, 2, 0, 3, 0,
3, 0, 3, 0, 0, 0,
0, 0, 0, 0, 0, 0,
109, 76, 97, 121, 101, 114,
84, 114, 97, 110, 115, 102,
111, 114, 109, 0, 3, 0,
3, 0, 4, 0, 4, 0,
0, 0, 0, 0, 0, 0,
0, 0, 109, 80, 114, 111,
106, 101, 99, 116, 105, 111,
110, 0, 118, 82, 101, 110,
100, 101, 114, 84, 97, 114,
103, 101, 116, 79, 102, 102,
115, 101, 116, 0, 118, 84,
101, 120, 116, 117, 114, 101,
67, 111, 111, 114, 100, 115,
0, 171, 1, 0, 3, 0,
1, 0, 4, 0, 0, 0,
0, 0, 0, 0, 0, 0,
118, 76, 97, 121, 101, 114,
81, 117, 97, 100, 0, 77,
105, 99, 114, 111, 115, 111,
102, 116, 32, 40, 82, 41,
32, 72, 76, 83, 76, 32,
83, 104, 97, 100, 101, 114,
32, 67, 111, 109, 112, 105,
108, 101, 114, 32, 49, 48,
46, 49, 0, 171, 73, 83,
71, 78, 80, 0, 0, 0,
2, 0, 0, 0, 8, 0,
0, 0, 56, 0, 0, 0,
0, 0, 0, 0, 1, 0,
0, 0, 3, 0, 0, 0,
0, 0, 0, 0, 15, 0,
0, 0, 68, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 3, 0, 0, 0,
1, 0, 0, 0, 3, 0,
0, 0, 83, 86, 95, 80,
111, 115, 105, 116, 105, 111,
110, 0, 84, 69, 88, 67,
79, 79, 82, 68, 0, 171,
171, 171, 79, 83, 71, 78,
44, 0, 0, 0, 1, 0,
0, 0, 8, 0, 0, 0,
32, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
3, 0, 0, 0, 0, 0,
0, 0, 15, 0, 0, 0,
83, 86, 95, 84, 97, 114,
103, 101, 116, 0, 171, 171
};
ShaderBytes sSolidColorShader = { SolidColorShader, sizeof(SolidColorShader) };
#if 0
//
// Generated by Microsoft (R) HLSL Shader Compiler 10.1
//
//
// Buffer Definitions:
//
// cbuffer $Globals
// {
//
// float4 fLayerColor; // Offset: 0 Size: 16 [unused]
// float fLayerOpacity; // Offset: 16 Size: 4
// float fCoefficient; // Offset: 48 Size: 4 [unused]
// row_major float3x3 mYuvColorMatrix;// Offset: 64 Size: 44 [unused]
// float4x4 mLayerTransform; // Offset: 112 Size: 64 [unused]
// float4x4 mProjection; // Offset: 176 Size: 64 [unused]
// float4 vRenderTargetOffset; // Offset: 240 Size: 16 [unused]
// float4 vTextureCoords; // Offset: 256 Size: 16 [unused]
// float4 vLayerQuad; // Offset: 272 Size: 16 [unused]
//
// }
//
//
// Resource Bindings:
//
// Name Type Format Dim HLSL Bind Count
// ------------------------------ ---------- ------- ----------- -------------- ------
// sSampler sampler NA NA s0 1
// tRGB texture float4 2d t0 1
// $Globals cbuffer NA NA cb0 1
//
//
//
// Input signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// SV_Position 0 xyzw 0 POS float
// TEXCOORD 0 xy 1 NONE float xy
//
//
// 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 1 1 ( FLT, FLT, FLT, FLT)
//
//
// Sampler/Resource to DX9 shader sampler mappings:
//
// Target Sampler Source Sampler Source Resource
// -------------- --------------- ----------------
// s0 s0 t0
//
//
// Level9 shader bytecode:
//
ps_2_x
dcl t0.xy
dcl_2d s0
texld r0, t0, s0
mul r0.xyz, r0, c0.x
mov r0.w, c0.x
mov oC0, r0
// approximately 4 instruction slots used (1 texture, 3 arithmetic)
ps_4_0
dcl_constantbuffer CB0[2], immediateIndexed
dcl_sampler s0, mode_default
dcl_resource_texture2d (float,float,float,float) t0
dcl_input_ps linear v1.xy
dcl_output o0.xyzw
dcl_temps 1
sample r0.xyzw, v1.xyxx, t0.xyzw, s0
mul o0.xyz, r0.xyzx, cb0[1].xxxx
mov o0.w, cb0[1].x
ret
// Approximately 4 instruction slots used
#endif
const BYTE RGBShader[] =
{
68, 88, 66, 67, 97, 250,
108, 180, 0, 168, 231, 78,
214, 240, 39, 137, 69, 244,
237, 108, 1, 0, 0, 0,
28, 5, 0, 0, 6, 0,
0, 0, 56, 0, 0, 0,
204, 0, 0, 0, 136, 1,
0, 0, 4, 2, 0, 0,
144, 4, 0, 0, 232, 4,
0, 0, 65, 111, 110, 57,
140, 0, 0, 0, 140, 0,
0, 0, 0, 2, 255, 255,
88, 0, 0, 0, 52, 0,
0, 0, 1, 0, 40, 0,
0, 0, 52, 0, 0, 0,
52, 0, 1, 0, 36, 0,
0, 0, 52, 0, 0, 0,
0, 0, 0, 0, 1, 0,
1, 0, 0, 0, 0, 0,
0, 0, 1, 2, 255, 255,
31, 0, 0, 2, 0, 0,
0, 128, 0, 0, 3, 176,
31, 0, 0, 2, 0, 0,
0, 144, 0, 8, 15, 160,
66, 0, 0, 3, 0, 0,
15, 128, 0, 0, 228, 176,
0, 8, 228, 160, 5, 0,
0, 3, 0, 0, 7, 128,
0, 0, 228, 128, 0, 0,
0, 160, 1, 0, 0, 2,
0, 0, 8, 128, 0, 0,
0, 160, 1, 0, 0, 2,
0, 8, 15, 128, 0, 0,
228, 128, 255, 255, 0, 0,
83, 72, 68, 82, 180, 0,
0, 0, 64, 0, 0, 0,
45, 0, 0, 0, 89, 0,
0, 4, 70, 142, 32, 0,
0, 0, 0, 0, 2, 0,
0, 0, 90, 0, 0, 3,
0, 96, 16, 0, 0, 0,
0, 0, 88, 24, 0, 4,
0, 112, 16, 0, 0, 0,
0, 0, 85, 85, 0, 0,
98, 16, 0, 3, 50, 16,
16, 0, 1, 0, 0, 0,
101, 0, 0, 3, 242, 32,
16, 0, 0, 0, 0, 0,
104, 0, 0, 2, 1, 0,
0, 0, 69, 0, 0, 9,
242, 0, 16, 0, 0, 0,
0, 0, 70, 16, 16, 0,
1, 0, 0, 0, 70, 126,
16, 0, 0, 0, 0, 0,
0, 96, 16, 0, 0, 0,
0, 0, 56, 0, 0, 8,
114, 32, 16, 0, 0, 0,
0, 0, 70, 2, 16, 0,
0, 0, 0, 0, 6, 128,
32, 0, 0, 0, 0, 0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 0,
0, 0, 16, 0, 0, 0,
0, 0, 0, 0, 144, 1,
0, 0, 0, 0, 0, 0,
160, 1, 0, 0, 16, 0,
0, 0, 4, 0, 0, 0,
2, 0, 0, 0, 176, 1,
0, 0, 0, 0, 0, 0,
192, 1, 0, 0, 48, 0,
0, 0, 4, 0, 0, 0,
0, 0, 0, 0, 176, 1,
0, 0, 0, 0, 0, 0,
205, 1, 0, 0, 64, 0,
0, 0, 44, 0, 0, 0,
0, 0, 0, 0, 224, 1,
0, 0, 0, 0, 0, 0,
240, 1, 0, 0, 112, 0,
0, 0, 64, 0, 0, 0,
0, 0, 0, 0, 0, 2,
0, 0, 0, 0, 0, 0,
16, 2, 0, 0, 176, 0,
0, 0, 64, 0, 0, 0,
0, 0, 0, 0, 0, 2,
0, 0, 0, 0, 0, 0,
28, 2, 0, 0, 240, 0,
0, 0, 16, 0, 0, 0,
0, 0, 0, 0, 144, 1,
0, 0, 0, 0, 0, 0,
48, 2, 0, 0, 0, 1,
0, 0, 16, 0, 0, 0,
0, 0, 0, 0, 64, 2,
0, 0, 0, 0, 0, 0,
80, 2, 0, 0, 16, 1,
0, 0, 16, 0, 0, 0,
0, 0, 0, 0, 64, 2,
0, 0, 0, 0, 0, 0,
102, 76, 97, 121, 101, 114,
67, 111, 108, 111, 114, 0,
1, 0, 3, 0, 1, 0,
4, 0, 0, 0, 0, 0,
0, 0, 0, 0, 102, 76,
97, 121, 101, 114, 79, 112,
97, 99, 105, 116, 121, 0,
171, 171, 0, 0, 3, 0,
1, 0, 1, 0, 0, 0,
0, 0, 0, 0, 0, 0,
102, 67, 111, 101, 102, 102,
105, 99, 105, 101, 110, 116,
0, 109, 89, 117, 118, 67,
111, 108, 111, 114, 77, 97,
116, 114, 105, 120, 0, 171,
171, 171, 2, 0, 3, 0,
3, 0, 3, 0, 0, 0,
0, 0, 0, 0, 0, 0,
109, 76, 97, 121, 101, 114,
84, 114, 97, 110, 115, 102,
111, 114, 109, 0, 3, 0,
3, 0, 4, 0, 4, 0,
0, 0, 0, 0, 0, 0,
0, 0, 109, 80, 114, 111,
106, 101, 99, 116, 105, 111,
110, 0, 118, 82, 101, 110,
100, 101, 114, 84, 97, 114,
103, 101, 116, 79, 102, 102,
115, 101, 116, 0, 118, 84,
101, 120, 116, 117, 114, 101,
67, 111, 111, 114, 100, 115,
0, 171, 1, 0, 3, 0,
1, 0, 4, 0, 0, 0,
0, 0, 0, 0, 0, 0,
118, 76, 97, 121, 101, 114,
81, 117, 97, 100, 0, 77,
105, 99, 114, 111, 115, 111,
102, 116, 32, 40, 82, 41,
32, 72, 76, 83, 76, 32,
83, 104, 97, 100, 101, 114,
32, 67, 111, 109, 112, 105,
108, 101, 114, 32, 49, 48,
46, 49, 0, 171, 73, 83,
71, 78, 80, 0, 0, 0,
2, 0, 0, 0, 8, 0,
0, 0, 56, 0, 0, 0,
0, 0, 0, 0, 1, 0,
0, 0, 3, 0, 0, 0,
0, 0, 0, 0, 15, 0,
0, 0, 68, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 3, 0, 0, 0,
1, 0, 0, 0, 3, 3,
0, 0, 83, 86, 95, 80,
111, 115, 105, 116, 105, 111,
110, 0, 84, 69, 88, 67,
79, 79, 82, 68, 0, 171,
171, 171, 79, 83, 71, 78,
44, 0, 0, 0, 1, 0,
0, 0, 8, 0, 0, 0,
32, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
3, 0, 0, 0, 0, 0,
0, 0, 15, 0, 0, 0,
83, 86, 95, 84, 97, 114,
103, 101, 116, 0, 171, 171
};
ShaderBytes sRGBShader = { RGBShader, sizeof(RGBShader) };
#if 0
//
// Generated by Microsoft (R) HLSL Shader Compiler 10.1
//
//
// Buffer Definitions:
//
// cbuffer $Globals
// {
//
// float4 fLayerColor; // Offset: 0 Size: 16 [unused]
// float fLayerOpacity; // Offset: 16 Size: 4
// float fCoefficient; // Offset: 48 Size: 4 [unused]
// row_major float3x3 mYuvColorMatrix;// Offset: 64 Size: 44 [unused]
// float4x4 mLayerTransform; // Offset: 112 Size: 64 [unused]
// float4x4 mProjection; // Offset: 176 Size: 64 [unused]
// float4 vRenderTargetOffset; // Offset: 240 Size: 16 [unused]
// float4 vTextureCoords; // Offset: 256 Size: 16 [unused]
// float4 vLayerQuad; // Offset: 272 Size: 16 [unused]
//
// }
//
//
// Resource Bindings:
//
// Name Type Format Dim HLSL Bind Count
// ------------------------------ ---------- ------- ----------- -------------- ------
// sSampler sampler NA NA s0 1
// tRGB texture float4 2d t0 1
// $Globals cbuffer NA NA cb0 1
//
//
//
// Input signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// SV_Position 0 xyzw 0 POS float
// TEXCOORD 0 xy 1 NONE float xy
//
//
// 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 1 1 ( FLT, FLT, FLT, FLT)
//
//
// Sampler/Resource to DX9 shader sampler mappings:
//
// Target Sampler Source Sampler Source Resource
// -------------- --------------- ----------------
// s0 s0 t0
//
//
// Level9 shader bytecode:
//
ps_2_x
dcl t0.xy
dcl_2d s0
texld r0, t0, s0
mul r0, r0, c0.x
mov oC0, r0
// approximately 3 instruction slots used (1 texture, 2 arithmetic)
ps_4_0
dcl_constantbuffer CB0[2], immediateIndexed
dcl_sampler s0, mode_default
dcl_resource_texture2d (float,float,float,float) t0
dcl_input_ps linear v1.xy
dcl_output o0.xyzw
dcl_temps 1
sample r0.xyzw, v1.xyxx, t0.xyzw, s0
mul o0.xyzw, r0.xyzw, cb0[1].xxxx
ret
// Approximately 3 instruction slots used
#endif
const BYTE RGBAShader[] =
{
68, 88, 66, 67, 255, 4,
78, 178, 143, 196, 237, 221,
31, 25, 195, 224, 235, 164,
40, 39, 1, 0, 0, 0,
248, 4, 0, 0, 6, 0,
0, 0, 56, 0, 0, 0,
192, 0, 0, 0, 100, 1,
0, 0, 224, 1, 0, 0,
108, 4, 0, 0, 196, 4,
0, 0, 65, 111, 110, 57,
128, 0, 0, 0, 128, 0,
0, 0, 0, 2, 255, 255,
76, 0, 0, 0, 52, 0,
0, 0, 1, 0, 40, 0,
0, 0, 52, 0, 0, 0,
52, 0, 1, 0, 36, 0,
0, 0, 52, 0, 0, 0,
0, 0, 0, 0, 1, 0,
1, 0, 0, 0, 0, 0,
0, 0, 1, 2, 255, 255,
31, 0, 0, 2, 0, 0,
0, 128, 0, 0, 3, 176,
31, 0, 0, 2, 0, 0,
0, 144, 0, 8, 15, 160,
66, 0, 0, 3, 0, 0,
15, 128, 0, 0, 228, 176,
0, 8, 228, 160, 5, 0,
0, 3, 0, 0, 15, 128,
0, 0, 228, 128, 0, 0,
0, 160, 1, 0, 0, 2,
0, 8, 15, 128, 0, 0,
228, 128, 255, 255, 0, 0,
83, 72, 68, 82, 156, 0,
0, 0, 64, 0, 0, 0,
39, 0, 0, 0, 89, 0,
0, 4, 70, 142, 32, 0,
0, 0, 0, 0, 2, 0,
0, 0, 90, 0, 0, 3,
0, 96, 16, 0, 0, 0,
0, 0, 88, 24, 0, 4,
0, 112, 16, 0, 0, 0,
0, 0, 85, 85, 0, 0,
98, 16, 0, 3, 50, 16,
16, 0, 1, 0, 0, 0,
101, 0, 0, 3, 242, 32,
16, 0, 0, 0, 0, 0,
104, 0, 0, 2, 1, 0,
0, 0, 69, 0, 0, 9,
242, 0, 16, 0, 0, 0,
0, 0, 70, 16, 16, 0,
1, 0, 0, 0, 70, 126,
16, 0, 0, 0, 0, 0,
0, 96, 16, 0, 0, 0,
0, 0, 56, 0, 0, 8,
242, 32, 16, 0, 0, 0,
0, 0, 70, 14, 16, 0,
0, 0, 0, 0, 6, 128,
32, 0, 0, 0, 0, 0,
1, 0, 0, 0, 62, 0,
0, 1, 83, 84, 65, 84,
116, 0, 0, 0, 3, 0,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0,
192, 1, 0, 0, 48, 0,
0, 0, 4, 0, 0, 0,
0, 0, 0, 0, 176, 1,
0, 0, 0, 0, 0, 0,
205, 1, 0, 0, 64, 0,
0, 0, 44, 0, 0, 0,
0, 0, 0, 0, 224, 1,
0, 0, 0, 0, 0, 0,
240, 1, 0, 0, 112, 0,
0, 0, 64, 0, 0, 0,
0, 0, 0, 0, 0, 2,
0, 0, 0, 0, 0, 0,
16, 2, 0, 0, 176, 0,
0, 0, 64, 0, 0, 0,
0, 0, 0, 0, 0, 2,
0, 0, 0, 0, 0, 0,
28, 2, 0, 0, 240, 0,
0, 0, 16, 0, 0, 0,
0, 0, 0, 0, 144, 1,
0, 0, 0, 0, 0, 0,
48, 2, 0, 0, 0, 1,
0, 0, 16, 0, 0, 0,
0, 0, 0, 0, 64, 2,
0, 0, 0, 0, 0, 0,
80, 2, 0, 0, 16, 1,
0, 0, 16, 0, 0, 0,
0, 0, 0, 0, 64, 2,
0, 0, 0, 0, 0, 0,
102, 76, 97, 121, 101, 114,
67, 111, 108, 111, 114, 0,
1, 0, 3, 0, 1, 0,
4, 0, 0, 0, 0, 0,
0, 0, 0, 0, 102, 76,
97, 121, 101, 114, 79, 112,
97, 99, 105, 116, 121, 0,
171, 171, 0, 0, 3, 0,
1, 0, 1, 0, 0, 0,
0, 0, 0, 0, 0, 0,
102, 67, 111, 101, 102, 102,
105, 99, 105, 101, 110, 116,
0, 109, 89, 117, 118, 67,
111, 108, 111, 114, 77, 97,
116, 114, 105, 120, 0, 171,
171, 171, 2, 0, 3, 0,
3, 0, 3, 0, 0, 0,
0, 0, 0, 0, 0, 0,
109, 76, 97, 121, 101, 114,
84, 114, 97, 110, 115, 102,
111, 114, 109, 0, 3, 0,
3, 0, 4, 0, 4, 0,
0, 0, 0, 0, 0, 0,
0, 0, 109, 80, 114, 111,
106, 101, 99, 116, 105, 111,
110, 0, 118, 82, 101, 110,
100, 101, 114, 84, 97, 114,
103, 101, 116, 79, 102, 102,
115, 101, 116, 0, 118, 84,
101, 120, 116, 117, 114, 101,
67, 111, 111, 114, 100, 115,
0, 171, 1, 0, 3, 0,
1, 0, 4, 0, 0, 0,
0, 0, 0, 0, 0, 0,
118, 76, 97, 121, 101, 114,
81, 117, 97, 100, 0, 77,
105, 99, 114, 111, 115, 111,
102, 116, 32, 40, 82, 41,
32, 72, 76, 83, 76, 32,
83, 104, 97, 100, 101, 114,
32, 67, 111, 109, 112, 105,
108, 101, 114, 32, 49, 48,
46, 49, 0, 171, 73, 83,
71, 78, 80, 0, 0, 0,
2, 0, 0, 0, 8, 0,
0, 0, 56, 0, 0, 0,
0, 0, 0, 0, 1, 0,
0, 0, 3, 0, 0, 0,
0, 0, 0, 0, 15, 0,
0, 0, 68, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 3, 0, 0, 0,
1, 0, 0, 0, 3, 3,
0, 0, 83, 86, 95, 80,
111, 115, 105, 116, 105, 111,
110, 0, 84, 69, 88, 67,
79, 79, 82, 68, 0, 171,
171, 171, 79, 83, 71, 78,
44, 0, 0, 0, 1, 0,
0, 0, 8, 0, 0, 0,
32, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
3, 0, 0, 0, 0, 0,
0, 0, 15, 0, 0, 0,
83, 86, 95, 84, 97, 114,
103, 101, 116, 0, 171, 171
};
ShaderBytes sRGBAShader = { RGBAShader, sizeof(RGBAShader) };
#if 0
//
// Generated by Microsoft (R) HLSL Shader Compiler 10.1
//
//
// Buffer Definitions:
//
// cbuffer $Globals
// {
//
// float4 fLayerColor; // Offset: 0 Size: 16 [unused]
// float fLayerOpacity; // Offset: 16 Size: 4
// float fCoefficient; // Offset: 48 Size: 4
// row_major float3x3 mYuvColorMatrix;// Offset: 64 Size: 44
// float4x4 mLayerTransform; // Offset: 112 Size: 64 [unused]
// float4x4 mProjection; // Offset: 176 Size: 64 [unused]
// float4 vRenderTargetOffset; // Offset: 240 Size: 16 [unused]
// float4 vTextureCoords; // Offset: 256 Size: 16 [unused]
// float4 vLayerQuad; // Offset: 272 Size: 16 [unused]
//
// }
//
//
// Resource Bindings:
//
// Name Type Format Dim HLSL Bind Count
// ------------------------------ ---------- ------- ----------- -------------- ------
// sSampler sampler NA NA s0 1
// tY texture float4 2d t1 1
// tCb texture float4 2d t2 1
// tCr texture float4 2d t3 1
// $Globals cbuffer NA NA cb0 1
//
//
//
// Input signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// SV_Position 0 xyzw 0 POS float
// TEXCOORD 0 xy 1 NONE float xy
//
//
// 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 1 1 ( FLT, FLT, FLT, FLT)
// c1 cb0 3 4 ( FLT, FLT, FLT, FLT)
//
//
// Sampler/Resource to DX9 shader sampler mappings:
//
// Target Sampler Source Sampler Source Resource
// -------------- --------------- ----------------
// s0 s0 t1
// s1 s0 t2
// s2 s0 t3
//
//
// Level9 shader bytecode:
//
ps_2_x
def c5, -0.0627499968, -0.50195998, 1, 0
dcl t0.xy
dcl_2d s0
dcl_2d s1
dcl_2d s2
texld r0, t0, s1
texld r1, t0, s0
mov r1.y, r0.x
texld r0, t0, s2
mov r1.z, r0.x
mov r0.xy, c5
mad r0.xyz, r1, c1.x, r0.xyyw
dp3 r1.x, c2, r0
dp3 r1.y, c3, r0
dp3 r1.z, c4, r0
mov r1.w, c5.z
mul r0, r1, c0.x
mov oC0, r0
// approximately 13 instruction slots used (3 texture, 10 arithmetic)
ps_4_0
dcl_constantbuffer CB0[7], immediateIndexed
dcl_sampler s0, mode_default
dcl_resource_texture2d (float,float,float,float) t1
dcl_resource_texture2d (float,float,float,float) t2
dcl_resource_texture2d (float,float,float,float) t3
dcl_input_ps linear v1.xy
dcl_output o0.xyzw
dcl_temps 2
sample r0.xyzw, v1.xyxx, t1.xyzw, s0
sample r1.xyzw, v1.xyxx, t2.xyzw, s0
mov r0.y, r1.x
sample r1.xyzw, v1.xyxx, t3.xyzw, s0
mov r0.z, r1.x
mad r0.xyz, r0.xyzx, cb0[3].xxxx, l(-0.062750, -0.501960, -0.501960, 0.000000)
dp3 r1.x, cb0[4].xyzx, r0.xyzx
dp3 r1.y, cb0[5].xyzx, r0.xyzx
dp3 r1.z, cb0[6].xyzx, r0.xyzx
mov r1.w, l(1.000000)
mul o0.xyzw, r1.xyzw, cb0[1].xxxx
ret
// Approximately 12 instruction slots used
#endif
const BYTE YCbCrShader[] =
{
68, 88, 66, 67, 243, 51,
105, 185, 125, 185, 56, 149,
128, 120, 98, 99, 111, 177,
161, 61, 1, 0, 0, 0,
80, 7, 0, 0, 6, 0,
0, 0, 56, 0, 0, 0,
152, 1, 0, 0, 116, 3,
0, 0, 240, 3, 0, 0,
196, 6, 0, 0, 28, 7,
0, 0, 65, 111, 110, 57,
88, 1, 0, 0, 88, 1,
0, 0, 0, 2, 255, 255,
16, 1, 0, 0, 72, 0,
0, 0, 2, 0, 48, 0,
0, 0, 72, 0, 0, 0,
72, 0, 3, 0, 36, 0,
0, 0, 72, 0, 1, 0,
0, 0, 2, 0, 1, 0,
3, 0, 2, 0, 0, 0,
1, 0, 1, 0, 0, 0,
0, 0, 0, 0, 0, 0,
3, 0, 4, 0, 1, 0,
0, 0, 0, 0, 1, 2,
255, 255, 81, 0, 0, 5,
5, 0, 15, 160, 18, 131,
128, 189, 115, 128, 0, 191,
0, 0, 128, 63, 0, 0,
0, 0, 31, 0, 0, 2,
0, 0, 0, 128, 0, 0,
3, 176, 31, 0, 0, 2,
0, 0, 0, 144, 0, 8,
15, 160, 31, 0, 0, 2,
0, 0, 0, 144, 1, 8,
15, 160, 31, 0, 0, 2,
0, 0, 0, 144, 2, 8,
15, 160, 66, 0, 0, 3,
0, 0, 15, 128, 0, 0,
228, 176, 1, 8, 228, 160,
66, 0, 0, 3, 1, 0,
15, 128, 0, 0, 228, 176,
0, 8, 228, 160, 1, 0,
0, 2, 1, 0, 2, 128,
0, 0, 0, 128, 66, 0,
0, 3, 0, 0, 15, 128,
0, 0, 228, 176, 2, 8,
228, 160, 1, 0, 0, 2,
1, 0, 4, 128, 0, 0,
0, 128, 1, 0, 0, 2,
0, 0, 3, 128, 5, 0,
228, 160, 4, 0, 0, 4,
0, 0, 7, 128, 1, 0,
228, 128, 1, 0, 0, 160,
0, 0, 212, 128, 8, 0,
0, 3, 1, 0, 1, 128,
2, 0, 228, 160, 0, 0,
228, 128, 8, 0, 0, 3,
1, 0, 2, 128, 3, 0,
228, 160, 0, 0, 228, 128,
8, 0, 0, 3, 1, 0,
4, 128, 4, 0, 228, 160,
0, 0, 228, 128, 1, 0,
0, 2, 1, 0, 8, 128,
5, 0, 170, 160, 5, 0,
0, 3, 0, 0, 15, 128,
1, 0, 228, 128, 0, 0,
0, 160, 1, 0, 0, 2,
0, 8, 15, 128, 0, 0,
228, 128, 255, 255, 0, 0,
83, 72, 68, 82, 212, 1,
0, 0, 64, 0, 0, 0,
117, 0, 0, 0, 89, 0,
0, 4, 70, 142, 32, 0,
0, 0, 0, 0, 7, 0,
0, 0, 90, 0, 0, 3,
0, 96, 16, 0, 0, 0,
0, 0, 88, 24, 0, 4,
0, 112, 16, 0, 1, 0,
0, 0, 85, 85, 0, 0,
88, 24, 0, 4, 0, 112,
16, 0, 2, 0, 0, 0,
85, 85, 0, 0, 88, 24,
0, 4, 0, 112, 16, 0,
3, 0, 0, 0, 85, 85,
0, 0, 98, 16, 0, 3,
50, 16, 16, 0, 1, 0,
0, 0, 101, 0, 0, 3,
242, 32, 16, 0, 0, 0,
0, 0, 104, 0, 0, 2,
2, 0, 0, 0, 69, 0,
0, 9, 242, 0, 16, 0,
0, 0, 0, 0, 70, 16,
16, 0, 1, 0, 0, 0,
70, 126, 16, 0, 1, 0,
0, 0, 0, 96, 16, 0,
0, 0, 0, 0, 69, 0,
0, 9, 242, 0, 16, 0,
1, 0, 0, 0, 70, 16,
16, 0, 1, 0, 0, 0,
70, 126, 16, 0, 2, 0,
0, 0, 0, 96, 16, 0,
0, 0, 0, 0, 54, 0,
0, 5, 34, 0, 16, 0,
0, 0, 0, 0, 10, 0,
16, 0, 1, 0, 0, 0,
69, 0, 0, 9, 242, 0,
16, 0, 1, 0, 0, 0,
70, 16, 16, 0, 1, 0,
0, 0, 70, 126, 16, 0,
3, 0, 0, 0, 0, 96,
16, 0, 0, 0, 0, 0,
54, 0, 0, 5, 66, 0,
16, 0, 0, 0, 0, 0,
10, 0, 16, 0, 1, 0,
0, 0, 50, 0, 0, 13,
114, 0, 16, 0, 0, 0,
0, 0, 70, 2, 16, 0,
0, 0, 0, 0, 6, 128,
32, 0, 0, 0, 0, 0,
3, 0, 0, 0, 2, 64,
0, 0, 18, 131, 128, 189,
115, 128, 0, 191, 115, 128,
0, 191, 0, 0, 0, 0,
16, 0, 0, 8, 18, 0,
16, 0, 1, 0, 0, 0,
70, 130, 32, 0, 0, 0,
0, 0, 4, 0, 0, 0,
70, 2, 16, 0, 0, 0,
0, 0, 16, 0, 0, 8,
34, 0, 16, 0, 1, 0,
0, 0, 70, 130, 32, 0,
0, 0, 0, 0, 5, 0,
0, 0, 70, 2, 16, 0,
0, 0, 0, 0, 16, 0,
0, 8, 66, 0, 16, 0,
1, 0, 0, 0, 70, 130,
32, 0, 0, 0, 0, 0,
6, 0, 0, 0, 70, 2,
16, 0, 0, 0, 0, 0,
54, 0, 0, 5, 130, 0,
16, 0, 1, 0, 0, 0,
1, 64, 0, 0, 0, 0,
128, 63, 56, 0, 0, 8,
242, 32, 16, 0, 0, 0,
0, 0, 70, 14, 16, 0,
1, 0, 0, 0, 6, 128,
32, 0, 0, 0, 0, 0,
1, 0, 0, 0, 62, 0,
0, 1, 83, 84, 65, 84,
116, 0, 0, 0, 12, 0,
0, 0, 2, 0, 0, 0,
0, 0, 0, 0, 2, 0,
0, 0, 5, 0, 0, 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, 0,
0, 0, 0, 0, 0, 0,
204, 1, 0, 0, 0, 0,
0, 0, 16, 0, 0, 0,
0, 0, 0, 0, 216, 1,
0, 0, 0, 0, 0, 0,
232, 1, 0, 0, 16, 0,
0, 0, 4, 0, 0, 0,
2, 0, 0, 0, 248, 1,
0, 0, 0, 0, 0, 0,
8, 2, 0, 0, 48, 0,
0, 0, 4, 0, 0, 0,
2, 0, 0, 0, 248, 1,
0, 0, 0, 0, 0, 0,
21, 2, 0, 0, 64, 0,
0, 0, 44, 0, 0, 0,
2, 0, 0, 0, 40, 2,
0, 0, 0, 0, 0, 0,
56, 2, 0, 0, 112, 0,
0, 0, 64, 0, 0, 0,
0, 0, 0, 0, 72, 2,
0, 0, 0, 0, 0, 0,
88, 2, 0, 0, 176, 0,
0, 0, 64, 0, 0, 0,
0, 0, 0, 0, 72, 2,
0, 0, 0, 0, 0, 0,
100, 2, 0, 0, 240, 0,
0, 0, 16, 0, 0, 0,
0, 0, 0, 0, 216, 1,
0, 0, 0, 0, 0, 0,
120, 2, 0, 0, 0, 1,
0, 0, 16, 0, 0, 0,
0, 0, 0, 0, 136, 2,
0, 0, 0, 0, 0, 0,
152, 2, 0, 0, 16, 1,
0, 0, 16, 0, 0, 0,
0, 0, 0, 0, 136, 2,
0, 0, 0, 0, 0, 0,
102, 76, 97, 121, 101, 114,
67, 111, 108, 111, 114, 0,
1, 0, 3, 0, 1, 0,
4, 0, 0, 0, 0, 0,
0, 0, 0, 0, 102, 76,
97, 121, 101, 114, 79, 112,
97, 99, 105, 116, 121, 0,
171, 171, 0, 0, 3, 0,
1, 0, 1, 0, 0, 0,
0, 0, 0, 0, 0, 0,
102, 67, 111, 101, 102, 102,
105, 99, 105, 101, 110, 116,
0, 109, 89, 117, 118, 67,
111, 108, 111, 114, 77, 97,
116, 114, 105, 120, 0, 171,
171, 171, 2, 0, 3, 0,
3, 0, 3, 0, 0, 0,
0, 0, 0, 0, 0, 0,
109, 76, 97, 121, 101, 114,
84, 114, 97, 110, 115, 102,
111, 114, 109, 0, 3, 0,
3, 0, 4, 0, 4, 0,
0, 0, 0, 0, 0, 0,
0, 0, 109, 80, 114, 111,
106, 101, 99, 116, 105, 111,
110, 0, 118, 82, 101, 110,
100, 101, 114, 84, 97, 114,
103, 101, 116, 79, 102, 102,
115, 101, 116, 0, 118, 84,
101, 120, 116, 117, 114, 101,
67, 111, 111, 114, 100, 115,
0, 171, 1, 0, 3, 0,
1, 0, 4, 0, 0, 0,
0, 0, 0, 0, 0, 0,
118, 76, 97, 121, 101, 114,
81, 117, 97, 100, 0, 77,
105, 99, 114, 111, 115, 111,
102, 116, 32, 40, 82, 41,
32, 72, 76, 83, 76, 32,
83, 104, 97, 100, 101, 114,
32, 67, 111, 109, 112, 105,
108, 101, 114, 32, 49, 48,
46, 49, 0, 171, 73, 83,
71, 78, 80, 0, 0, 0,
2, 0, 0, 0, 8, 0,
0, 0, 56, 0, 0, 0,
0, 0, 0, 0, 1, 0,
0, 0, 3, 0, 0, 0,
0, 0, 0, 0, 15, 0,
0, 0, 68, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 3, 0, 0, 0,
1, 0, 0, 0, 3, 3,
0, 0, 83, 86, 95, 80,
111, 115, 105, 116, 105, 111,
110, 0, 84, 69, 88, 67,
79, 79, 82, 68, 0, 171,
171, 171, 79, 83, 71, 78,
44, 0, 0, 0, 1, 0,
0, 0, 8, 0, 0, 0,
32, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
3, 0, 0, 0, 0, 0,
0, 0, 15, 0, 0, 0,
83, 86, 95, 84, 97, 114,
103, 101, 116, 0, 171, 171
};
ShaderBytes sYCbCrShader = { YCbCrShader, sizeof(YCbCrShader) };
#if 0
//
// Generated by Microsoft (R) HLSL Shader Compiler 10.1
//
//
// Buffer Definitions:
//
// cbuffer $Globals
// {
//
// float4 fLayerColor; // Offset: 0 Size: 16 [unused]
// float fLayerOpacity; // Offset: 16 Size: 4
// float fCoefficient; // Offset: 48 Size: 4
// row_major float3x3 mYuvColorMatrix;// Offset: 64 Size: 44
// float4x4 mLayerTransform; // Offset: 112 Size: 64 [unused]
// float4x4 mProjection; // Offset: 176 Size: 64 [unused]
// float4 vRenderTargetOffset; // Offset: 240 Size: 16 [unused]
// float4 vTextureCoords; // Offset: 256 Size: 16 [unused]
// float4 vLayerQuad; // Offset: 272 Size: 16 [unused]
//
// }
//
//
// Resource Bindings:
//
// Name Type Format Dim HLSL Bind Count
// ------------------------------ ---------- ------- ----------- -------------- ------
// sSampler sampler NA NA s0 1
// tY texture float4 2d t1 1
// tCb texture float4 2d t2 1
// $Globals cbuffer NA NA cb0 1
//
//
//
// Input signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// SV_Position 0 xyzw 0 POS float
// TEXCOORD 0 xy 1 NONE float xy
//
//
// 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 1 1 ( FLT, FLT, FLT, FLT)
// c1 cb0 3 4 ( FLT, FLT, FLT, FLT)
//
//
// Sampler/Resource to DX9 shader sampler mappings:
//
// Target Sampler Source Sampler Source Resource
// -------------- --------------- ----------------
// s0 s0 t1
// s1 s0 t2
//
//
// Level9 shader bytecode:
//
ps_2_x
def c5, -0.0627499968, -0.50195998, 1, 0
dcl t0.xy
dcl_2d s0
dcl_2d s1
texld r0, t0, s1
texld r1, t0, s0
mov r1.yz, r0.xxyw
mov r0.xy, c5
mad r0.xyz, r1, c1.x, r0.xyyw
dp3 r1.x, c2, r0
dp3 r1.y, c3, r0
dp3 r1.z, c4, r0
mov r1.w, c5.z
mul r0, r1, c0.x
mov oC0, r0
// approximately 11 instruction slots used (2 texture, 9 arithmetic)
ps_4_0
dcl_constantbuffer CB0[7], immediateIndexed
dcl_sampler s0, mode_default
dcl_resource_texture2d (float,float,float,float) t1
dcl_resource_texture2d (float,float,float,float) t2
dcl_input_ps linear v1.xy
dcl_output o0.xyzw
dcl_temps 2
sample r0.xyzw, v1.xyxx, t1.xyzw, s0
sample r1.xyzw, v1.xyxx, t2.xyzw, s0
mov r0.yz, r1.xxyx
mad r0.xyz, r0.xyzx, cb0[3].xxxx, l(-0.062750, -0.501960, -0.501960, 0.000000)
dp3 r1.x, cb0[4].xyzx, r0.xyzx
dp3 r1.y, cb0[5].xyzx, r0.xyzx
dp3 r1.z, cb0[6].xyzx, r0.xyzx
mov r1.w, l(1.000000)
mul o0.xyzw, r1.xyzw, cb0[1].xxxx
ret
// Approximately 10 instruction slots used
#endif
const BYTE NV12Shader[] =
{
68, 88, 66, 67, 0, 195,
177, 203, 128, 6, 214, 246,
217, 132, 97, 149, 19, 76,
145, 23, 1, 0, 0, 0,
184, 6, 0, 0, 6, 0,
0, 0, 56, 0, 0, 0,
108, 1, 0, 0, 0, 3,
0, 0, 124, 3, 0, 0,
44, 6, 0, 0, 132, 6,
0, 0, 65, 111, 110, 57,
44, 1, 0, 0, 44, 1,
0, 0, 0, 2, 255, 255,
232, 0, 0, 0, 68, 0,
0, 0, 2, 0, 44, 0,
0, 0, 68, 0, 0, 0,
68, 0, 2, 0, 36, 0,
0, 0, 68, 0, 1, 0,
0, 0, 2, 0, 1, 0,
0, 0, 1, 0, 1, 0,
0, 0, 0, 0, 0, 0,
0, 0, 3, 0, 4, 0,
1, 0, 0, 0, 0, 0,
1, 2, 255, 255, 81, 0,
0, 5, 5, 0, 15, 160,
18, 131, 128, 189, 115, 128,
0, 191, 0, 0, 128, 63,
0, 0, 0, 0, 31, 0,
0, 2, 0, 0, 0, 128,
0, 0, 3, 176, 31, 0,
0, 2, 0, 0, 0, 144,
0, 8, 15, 160, 31, 0,
0, 2, 0, 0, 0, 144,
1, 8, 15, 160, 66, 0,
0, 3, 0, 0, 15, 128,
0, 0, 228, 176, 1, 8,
228, 160, 66, 0, 0, 3,
1, 0, 15, 128, 0, 0,
228, 176, 0, 8, 228, 160,
1, 0, 0, 2, 1, 0,
6, 128, 0, 0, 208, 128,
1, 0, 0, 2, 0, 0,
3, 128, 5, 0, 228, 160,
4, 0, 0, 4, 0, 0,
7, 128, 1, 0, 228, 128,
1, 0, 0, 160, 0, 0,
212, 128, 8, 0, 0, 3,
1, 0, 1, 128, 2, 0,
228, 160, 0, 0, 228, 128,
8, 0, 0, 3, 1, 0,
2, 128, 3, 0, 228, 160,
0, 0, 228, 128, 8, 0,
0, 3, 1, 0, 4, 128,
4, 0, 228, 160, 0, 0,
228, 128, 1, 0, 0, 2,
1, 0, 8, 128, 5, 0,
170, 160, 5, 0, 0, 3,
0, 0, 15, 128, 1, 0,
228, 128, 0, 0, 0, 160,
1, 0, 0, 2, 0, 8,
15, 128, 0, 0, 228, 128,
255, 255, 0, 0, 83, 72,
68, 82, 140, 1, 0, 0,
64, 0, 0, 0, 99, 0,
0, 0, 89, 0, 0, 4,
70, 142, 32, 0, 0, 0,
0, 0, 7, 0, 0, 0,
90, 0, 0, 3, 0, 96,
16, 0, 0, 0, 0, 0,
88, 24, 0, 4, 0, 112,
16, 0, 1, 0, 0, 0,
85, 85, 0, 0, 88, 24,
0, 4, 0, 112, 16, 0,
2, 0, 0, 0, 85, 85,
0, 0, 98, 16, 0, 3,
50, 16, 16, 0, 1, 0,
0, 0, 101, 0, 0, 3,
242, 32, 16, 0, 0, 0,
0, 0, 104, 0, 0, 2,
2, 0, 0, 0, 69, 0,
0, 9, 242, 0, 16, 0,
0, 0, 0, 0, 70, 16,
16, 0, 1, 0, 0, 0,
70, 126, 16, 0, 1, 0,
0, 0, 0, 96, 16, 0,
0, 0, 0, 0, 69, 0,
0, 9, 242, 0, 16, 0,
1, 0, 0, 0, 70, 16,
16, 0, 1, 0, 0, 0,
70, 126, 16, 0, 2, 0,
0, 0, 0, 96, 16, 0,
0, 0, 0, 0, 54, 0,
0, 5, 98, 0, 16, 0,
0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
69, 70, 168, 2, 0, 0,
1, 0, 0, 0, 184, 0,
0, 0, 4, 0, 0, 0,
28, 0, 0, 0, 0, 4,
255, 255, 0, 1, 0, 0,
127, 2, 0, 0, 156, 0,
0, 0, 3, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 1, 0,
0, 0, 1, 0, 0, 0,
165, 0, 0, 0, 2, 0,
0, 0, 5, 0, 0, 0,
4, 0, 0, 0, 255, 255,
255, 255, 1, 0, 0, 0,
1, 0, 0, 0, 13, 0,
0, 0, 168, 0, 0, 0,
2, 0, 0, 0, 5, 0,
0, 0, 4, 0, 0, 0,
255, 255, 255, 255, 2, 0,
0, 0, 1, 0, 0, 0,
13, 0, 0, 0, 172, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 1, 0,
0, 0, 0, 0, 0, 0,
115, 83, 97, 109, 112, 108,
101, 114, 0, 116, 89, 0,
116, 67, 98, 0, 36, 71,
108, 111, 98, 97, 108, 115,
0, 171, 171, 171, 172, 0,
0, 0, 9, 0, 0, 0,
208, 0, 0, 0, 32, 1,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 168, 1,
0, 0, 0, 0, 0, 0,
16, 0, 0, 0, 0, 0,
0, 0, 180, 1, 0, 0,
0, 0, 0, 0, 196, 1,
0, 0, 16, 0, 0, 0,
4, 0, 0, 0, 2, 0,
0, 0, 212, 1, 0, 0,
0, 0, 0, 0, 228, 1,
0, 0, 48, 0, 0, 0,
4, 0, 0, 0, 2, 0,
0, 0, 212, 1, 0, 0,
0, 0, 0, 0, 241, 1,
0, 0, 64, 0, 0, 0,
44, 0, 0, 0, 2, 0,
0, 0, 4, 2, 0, 0,
0, 0, 0, 0, 20, 2,
0, 0, 112, 0, 0, 0,
64, 0, 0, 0, 0, 0,
0, 0, 36, 2, 0, 0,
0, 0, 0, 0, 52, 2,
0, 0, 176, 0, 0, 0,
64, 0, 0, 0, 0, 0,
0, 0, 36, 2, 0, 0,
0, 0, 0, 0, 64, 2,
0, 0, 240, 0, 0, 0,
16, 0, 0, 0, 0, 0,
0, 0, 180, 1, 0, 0,
0, 0, 0, 0, 84, 2,
0, 0, 0, 1, 0, 0,
16, 0, 0, 0, 0, 0,
0, 0, 100, 2, 0, 0,
0, 0, 0, 0, 116, 2,
0, 0, 16, 1, 0, 0,
16, 0, 0, 0, 0, 0,
0, 0, 100, 2, 0, 0,
0, 0, 0, 0, 102, 76,
97, 121, 101, 114, 67, 111,
108, 111, 114, 0, 1, 0,
3, 0, 1, 0, 4, 0,
0, 0, 0, 0, 0, 0,
0, 0, 102, 76, 97, 121,
101, 114, 79, 112, 97, 99,
105, 116, 121, 0, 171, 171,
0, 0, 3, 0, 1, 0,
1, 0, 0, 0, 0, 0,
0, 0, 0, 0, 102, 67,
111, 101, 102, 102, 105, 99,
105, 101, 110, 116, 0, 109,
89, 117, 118, 67, 111, 108,
111, 114, 77, 97, 116, 114,
105, 120, 0, 171, 171, 171,
2, 0, 3, 0, 3, 0,
3, 0, 0, 0, 0, 0,
0, 0, 0, 0, 109, 76,
97, 121, 101, 114, 84, 114,
97, 110, 115, 102, 111, 114,
109, 0, 3, 0, 3, 0,
4, 0, 4, 0, 0, 0,
0, 0, 0, 0, 0, 0,
109, 80, 114, 111, 106, 101,
99, 116, 105, 111, 110, 0,
118, 82, 101, 110, 100, 101,
114, 84, 97, 114, 103, 101,
116, 79, 102, 102, 115, 101,
116, 0, 118, 84, 101, 120,
116, 117, 114, 101, 67, 111,
111, 114, 100, 115, 0, 171,
1, 0, 3, 0, 1, 0,
4, 0, 0, 0, 0, 0,
0, 0, 0, 0, 118, 76,
97, 121, 101, 114, 81, 117,
97, 100, 0, 77, 105, 99,
114, 111, 115, 111, 102, 116,
32, 40, 82, 41, 32, 72,
76, 83, 76, 32, 83, 104,
97, 100, 101, 114, 32, 67,
111, 109, 112, 105, 108, 101,
114, 32, 49, 48, 46, 49,
0, 171, 73, 83, 71, 78,
80, 0, 0, 0, 2, 0,
0, 0, 8, 0, 0, 0,
56, 0, 0, 0, 0, 0,
0, 0, 1, 0, 0, 0,
3, 0, 0, 0, 0, 0,
0, 0, 15, 0, 0, 0,
68, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
3, 0, 0, 0, 1, 0,
0, 0, 3, 3, 0, 0,
83, 86, 95, 80, 111, 115,
105, 116, 105, 111, 110, 0,
84, 69, 88, 67, 79, 79,
82, 68, 0, 171, 171, 171,
79, 83, 71, 78, 44, 0,
0, 0, 1, 0, 0, 0,
8, 0, 0, 0, 32, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 3, 0,
0, 0, 0, 0, 0, 0,
15, 0, 0, 0, 83, 86,
95, 84, 97, 114, 103, 101,
116, 0, 171, 171
};
ShaderBytes sNV12Shader = { NV12Shader, sizeof(NV12Shader) };
} // namespace layers
} // namespace mozilla