gfx/layers/d3d11/CompositorD3D11Shaders.h

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

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 //
     6 //   fxc CompositorD3D11.fx -ELayerQuadVS -nologo -Tvs_4_0_level_9_3
     7 //    -FhtmpShaderHeader -VnLayerQuadVS
     8 //
     9 //
    10 // Buffer Definitions: 
    11 //
    12 // cbuffer $Globals
    13 // {
    14 //
    15 //   float4x4 mLayerTransform;          // Offset:    0 Size:    64
    16 //   float4x4 mProjection;              // Offset:   64 Size:    64
    17 //   float4 vRenderTargetOffset;        // Offset:  128 Size:    16
    18 //   float4 vTextureCoords;             // Offset:  144 Size:    16
    19 //   float4 vLayerQuad;                 // Offset:  160 Size:    16
    20 //   float4 vMaskQuad;                  // Offset:  176 Size:    16 [unused]
    21 //   float4 fLayerColor;                // Offset:  192 Size:    16 [unused]
    22 //   float fLayerOpacity;               // Offset:  208 Size:     4 [unused]
    23 //
    24 // }
    25 //
    26 //
    27 // Resource Bindings:
    28 //
    29 // Name                                 Type  Format         Dim Slot Elements
    30 // ------------------------------ ---------- ------- ----------- ---- --------
    31 // $Globals                          cbuffer      NA          NA    0        1
    32 //
    33 //
    34 //
    35 // Input signature:
    36 //
    37 // Name                 Index   Mask Register SysValue Format   Used
    38 // -------------------- ----- ------ -------- -------- ------ ------
    39 // POSITION                 0   xy          0     NONE  float   xy  
    40 //
    41 //
    42 // Output signature:
    43 //
    44 // Name                 Index   Mask Register SysValue Format   Used
    45 // -------------------- ----- ------ -------- -------- ------ ------
    46 // SV_Position              0   xyzw        0      POS  float   xyzw
    47 // TEXCOORD                 0   xy          1     NONE  float   xy  
    48 //
    49 //
    50 // Constant buffer to DX9 shader constant mappings:
    51 //
    52 // Target Reg Buffer  Start Reg # of Regs        Data Conversion
    53 // ---------- ------- --------- --------- ----------------------
    54 // c1         cb0             0         2  ( FLT, FLT, FLT, FLT)
    55 // c3         cb0             3         8  ( FLT, FLT, FLT, FLT)
    56 //
    57 //
    58 // Runtime generated constant mappings:
    59 //
    60 // Target Reg                               Constant Description
    61 // ---------- --------------------------------------------------
    62 // c0                              Vertex Shader position offset
    63 //
    64 //
    65 // Level9 shader bytecode:
    66 //
    67     vs_2_x
    68     dcl_texcoord v0
    69     mad oT0.xy, v0, c9.zwzw, c9
    70     mad r0.xy, v0, c10.zwzw, c10
    71     mul r1, r0.y, c2
    72     mad r0, c1, r0.x, r1
    73     add r0, r0, c3
    74     rcp r1.x, r0.w
    75     mul r0.xyz, r0, r1.x
    76     add r0, r0, -c8
    77     mul r0.xyz, r0.w, r0
    78     mul r1, r0.y, c5
    79     mad r1, c4, r0.x, r1
    80     mad r1, c6, r0.z, r1
    81     mad r0, c7, r0.w, r1
    82     mad oPos.xy, r0.w, c0, r0
    83     mov oPos.zw, r0
    85 // approximately 15 instruction slots used
    86 vs_4_0
    87 dcl_constantbuffer cb0[11], immediateIndexed
    88 dcl_input v0.xy
    89 dcl_output_siv o0.xyzw, position
    90 dcl_output o1.xy
    91 dcl_temps 2
    92 mad r0.xy, v0.xyxx, cb0[10].zwzz, cb0[10].xyxx
    93 mul r1.xyzw, r0.yyyy, cb0[1].xyzw
    94 mad r0.xyzw, cb0[0].xyzw, r0.xxxx, r1.xyzw
    95 add r0.xyzw, r0.xyzw, cb0[3].xyzw
    96 div r0.xyz, r0.xyzx, r0.wwww
    97 add r0.xyzw, r0.xyzw, -cb0[8].xyzw
    98 mul r0.xyz, r0.wwww, r0.xyzx
    99 mul r1.xyzw, r0.yyyy, cb0[5].xyzw
   100 mad r1.xyzw, cb0[4].xyzw, r0.xxxx, r1.xyzw
   101 mad r1.xyzw, cb0[6].xyzw, r0.zzzz, r1.xyzw
   102 mad o0.xyzw, cb0[7].xyzw, r0.wwww, r1.xyzw
   103 mad o1.xy, v0.xyxx, cb0[9].zwzz, cb0[9].xyxx
   104 ret 
   105 // Approximately 13 instruction slots used
   106 #endif
   108 const BYTE LayerQuadVS[] =
   109 {
   110      68,  88,  66,  67,  26, 156, 
   111      32, 249,  73, 220,  32,  91, 
   112      64, 185, 136, 143, 133, 249, 
   113     140, 206,   1,   0,   0,   0, 
   114     180,   6,   0,   0,   6,   0, 
   115       0,   0,  56,   0,   0,   0, 
   116     152,   1,   0,   0, 160,   3, 
   117       0,   0,  28,   4,   0,   0, 
   118      40,   6,   0,   0,  92,   6, 
   119       0,   0,  65, 111, 110,  57, 
   120      88,   1,   0,   0,  88,   1, 
   121       0,   0,   0,   2, 254, 255, 
   122      24,   1,   0,   0,  64,   0, 
   123       0,   0,   2,   0,  36,   0, 
   124       0,   0,  60,   0,   0,   0, 
   125      60,   0,   0,   0,  36,   0, 
   126       1,   0,  60,   0,   0,   0, 
   127       0,   0,   2,   0,   1,   0, 
   128       0,   0,   0,   0,   0,   0, 
   129       3,   0,   8,   0,   3,   0, 
   130       0,   0,   0,   0,   0,   0, 
   131       0,   0,   1,   2, 254, 255, 
   132      31,   0,   0,   2,   5,   0, 
   133       0, 128,   0,   0,  15, 144, 
   134       4,   0,   0,   4,   0,   0, 
   135       3, 224,   0,   0, 228, 144, 
   136       9,   0, 238, 160,   9,   0, 
   137     228, 160,   4,   0,   0,   4, 
   138       0,   0,   3, 128,   0,   0, 
   139     228, 144,  10,   0, 238, 160, 
   140      10,   0, 228, 160,   5,   0, 
   141       0,   3,   1,   0,  15, 128, 
   142       0,   0,  85, 128,   2,   0, 
   143     228, 160,   4,   0,   0,   4, 
   144       0,   0,  15, 128,   1,   0, 
   145     228, 160,   0,   0,   0, 128, 
   146       1,   0, 228, 128,   2,   0, 
   147       0,   3,   0,   0,  15, 128, 
   148       0,   0, 228, 128,   3,   0, 
   149     228, 160,   6,   0,   0,   2, 
   150       1,   0,   1, 128,   0,   0, 
   151     255, 128,   5,   0,   0,   3, 
   152       0,   0,   7, 128,   0,   0, 
   153     228, 128,   1,   0,   0, 128, 
   154       2,   0,   0,   3,   0,   0, 
   155      15, 128,   0,   0, 228, 128, 
   156       8,   0, 228, 161,   5,   0, 
   157       0,   3,   0,   0,   7, 128, 
   158       0,   0, 255, 128,   0,   0, 
   159     228, 128,   5,   0,   0,   3, 
   160       1,   0,  15, 128,   0,   0, 
   161      85, 128,   5,   0, 228, 160, 
   162       4,   0,   0,   4,   1,   0, 
   163      15, 128,   4,   0, 228, 160, 
   164       0,   0,   0, 128,   1,   0, 
   165     228, 128,   4,   0,   0,   4, 
   166       1,   0,  15, 128,   6,   0, 
   167     228, 160,   0,   0, 170, 128, 
   168       1,   0, 228, 128,   4,   0, 
   169       0,   4,   0,   0,  15, 128, 
   170       7,   0, 228, 160,   0,   0, 
   171     255, 128,   1,   0, 228, 128, 
   172       4,   0,   0,   4,   0,   0, 
   173       3, 192,   0,   0, 255, 128, 
   174       0,   0, 228, 160,   0,   0, 
   175     228, 128,   1,   0,   0,   2, 
   176       0,   0,  12, 192,   0,   0, 
   177     228, 128, 255, 255,   0,   0, 
   178      83,  72,  68,  82,   0,   2, 
   179       0,   0,  64,   0,   1,   0, 
   180     128,   0,   0,   0,  89,   0, 
   181       0,   4,  70, 142,  32,   0, 
   182       0,   0,   0,   0,  11,   0, 
   183       0,   0,  95,   0,   0,   3, 
   184      50,  16,  16,   0,   0,   0, 
   185       0,   0, 103,   0,   0,   4, 
   186     242,  32,  16,   0,   0,   0, 
   187       0,   0,   1,   0,   0,   0, 
   188     101,   0,   0,   3,  50,  32, 
   189      16,   0,   1,   0,   0,   0, 
   190     104,   0,   0,   2,   2,   0, 
   191       0,   0,  50,   0,   0,  11, 
   192      50,   0,  16,   0,   0,   0, 
   193       0,   0,  70,  16,  16,   0, 
   194       0,   0,   0,   0, 230, 138, 
   195      32,   0,   0,   0,   0,   0, 
   196      10,   0,   0,   0,  70, 128, 
   197      32,   0,   0,   0,   0,   0, 
   198      10,   0,   0,   0,  56,   0, 
   199       0,   8, 242,   0,  16,   0, 
   200       1,   0,   0,   0,  86,   5, 
   201      16,   0,   0,   0,   0,   0, 
   202      70, 142,  32,   0,   0,   0, 
   203       0,   0,   1,   0,   0,   0, 
   204      50,   0,   0,  10, 242,   0, 
   205      16,   0,   0,   0,   0,   0, 
   206      70, 142,  32,   0,   0,   0, 
   207       0,   0,   0,   0,   0,   0, 
   208       6,   0,  16,   0,   0,   0, 
   209       0,   0,  70,  14,  16,   0, 
   210       1,   0,   0,   0,   0,   0, 
   211       0,   8, 242,   0,  16,   0, 
   212       0,   0,   0,   0,  70,  14, 
   213      16,   0,   0,   0,   0,   0, 
   214      70, 142,  32,   0,   0,   0, 
   215       0,   0,   3,   0,   0,   0, 
   216      14,   0,   0,   7, 114,   0, 
   217      16,   0,   0,   0,   0,   0, 
   218      70,   2,  16,   0,   0,   0, 
   219       0,   0, 246,  15,  16,   0, 
   220       0,   0,   0,   0,   0,   0, 
   221       0,   9, 242,   0,  16,   0, 
   222       0,   0,   0,   0,  70,  14, 
   223      16,   0,   0,   0,   0,   0, 
   224      70, 142,  32, 128,  65,   0, 
   225       0,   0,   0,   0,   0,   0, 
   226       8,   0,   0,   0,  56,   0, 
   227       0,   7, 114,   0,  16,   0, 
   228       0,   0,   0,   0, 246,  15, 
   229      16,   0,   0,   0,   0,   0, 
   230      70,   2,  16,   0,   0,   0, 
   231       0,   0,  56,   0,   0,   8, 
   232     242,   0,  16,   0,   1,   0, 
   233       0,   0,  86,   5,  16,   0, 
   234       0,   0,   0,   0,  70, 142, 
   235      32,   0,   0,   0,   0,   0, 
   236       5,   0,   0,   0,  50,   0, 
   237       0,  10, 242,   0,  16,   0, 
   238       1,   0,   0,   0,  70, 142, 
   239      32,   0,   0,   0,   0,   0, 
   240       4,   0,   0,   0,   6,   0, 
   241      16,   0,   0,   0,   0,   0, 
   242      70,  14,  16,   0,   1,   0, 
   243       0,   0,  50,   0,   0,  10, 
   244     242,   0,  16,   0,   1,   0, 
   245       0,   0,  70, 142,  32,   0, 
   246       0,   0,   0,   0,   6,   0, 
   247       0,   0, 166,  10,  16,   0, 
   248       0,   0,   0,   0,  70,  14, 
   249      16,   0,   1,   0,   0,   0, 
   250      50,   0,   0,  10, 242,  32, 
   251      16,   0,   0,   0,   0,   0, 
   252      70, 142,  32,   0,   0,   0, 
   253       0,   0,   7,   0,   0,   0, 
   254     246,  15,  16,   0,   0,   0, 
   255       0,   0,  70,  14,  16,   0, 
   256       1,   0,   0,   0,  50,   0, 
   257       0,  11,  50,  32,  16,   0, 
   258       1,   0,   0,   0,  70,  16, 
   259      16,   0,   0,   0,   0,   0, 
   260     230, 138,  32,   0,   0,   0, 
   261       0,   0,   9,   0,   0,   0, 
   262      70, 128,  32,   0,   0,   0, 
   263       0,   0,   9,   0,   0,   0, 
   264      62,   0,   0,   1,  83,  84, 
   265      65,  84, 116,   0,   0,   0, 
   266      13,   0,   0,   0,   2,   0, 
   267       0,   0,   0,   0,   0,   0, 
   268       3,   0,   0,   0,   6,   0, 
   269       0,   0,   0,   0,   0,   0, 
   270       0,   0,   0,   0,   1,   0, 
   271       0,   0,   0,   0,   0,   0, 
   272       0,   0,   0,   0,   0,   0, 
   273       0,   0,   0,   0,   0,   0, 
   274       0,   0,   0,   0,   0,   0, 
   275       0,   0,   0,   0,   0,   0, 
   276       0,   0,   0,   0,   0,   0, 
   277       0,   0,   0,   0,   0,   0, 
   278       0,   0,   0,   0,   1,   0, 
   279       0,   0,   0,   0,   0,   0, 
   280       0,   0,   0,   0,   0,   0, 
   281       0,   0,   0,   0,   0,   0, 
   282       0,   0,   0,   0,   0,   0, 
   283       0,   0,   0,   0,   0,   0, 
   284       0,   0,   0,   0,   0,   0, 
   285       0,   0,  82,  68,  69,  70, 
   286       4,   2,   0,   0,   1,   0, 
   287       0,   0,  72,   0,   0,   0, 
   288       1,   0,   0,   0,  28,   0, 
   289       0,   0,   0,   4, 254, 255, 
   290       0,   1,   0,   0, 208,   1, 
   291       0,   0,  60,   0,   0,   0, 
   292       0,   0,   0,   0,   0,   0, 
   293       0,   0,   0,   0,   0,   0, 
   294       0,   0,   0,   0,   0,   0, 
   295       0,   0,   1,   0,   0,   0, 
   296       0,   0,   0,   0,  36,  71, 
   297     108, 111,  98,  97, 108, 115, 
   298       0, 171, 171, 171,  60,   0, 
   299       0,   0,   8,   0,   0,   0, 
   300      96,   0,   0,   0, 224,   0, 
   301       0,   0,   0,   0,   0,   0, 
   302       0,   0,   0,   0,  32,   1, 
   303       0,   0,   0,   0,   0,   0, 
   304      64,   0,   0,   0,   2,   0, 
   305       0,   0,  48,   1,   0,   0, 
   306       0,   0,   0,   0,  64,   1, 
   307       0,   0,  64,   0,   0,   0, 
   308      64,   0,   0,   0,   2,   0, 
   309       0,   0,  48,   1,   0,   0, 
   310       0,   0,   0,   0,  76,   1, 
   311       0,   0, 128,   0,   0,   0, 
   312      16,   0,   0,   0,   2,   0, 
   313       0,   0,  96,   1,   0,   0, 
   314       0,   0,   0,   0, 112,   1, 
   315       0,   0, 144,   0,   0,   0, 
   316      16,   0,   0,   0,   2,   0, 
   317       0,   0, 128,   1,   0,   0, 
   318       0,   0,   0,   0, 144,   1, 
   319       0,   0, 160,   0,   0,   0, 
   320      16,   0,   0,   0,   2,   0, 
   321       0,   0, 128,   1,   0,   0, 
   322       0,   0,   0,   0, 155,   1, 
   323       0,   0, 176,   0,   0,   0, 
   324      16,   0,   0,   0,   0,   0, 
   325       0,   0, 128,   1,   0,   0, 
   326       0,   0,   0,   0, 165,   1, 
   327       0,   0, 192,   0,   0,   0, 
   328      16,   0,   0,   0,   0,   0, 
   329       0,   0,  96,   1,   0,   0, 
   330       0,   0,   0,   0, 177,   1, 
   331       0,   0, 208,   0,   0,   0, 
   332       4,   0,   0,   0,   0,   0, 
   333       0,   0, 192,   1,   0,   0, 
   334       0,   0,   0,   0, 109,  76, 
   335      97, 121, 101, 114,  84, 114, 
   336      97, 110, 115, 102, 111, 114, 
   337     109,   0,   3,   0,   3,   0, 
   338       4,   0,   4,   0,   0,   0, 
   339       0,   0,   0,   0,   0,   0, 
   340     109,  80, 114, 111, 106, 101, 
   341      99, 116, 105, 111, 110,   0, 
   342     118,  82, 101, 110, 100, 101, 
   343     114,  84,  97, 114, 103, 101, 
   344     116,  79, 102, 102, 115, 101, 
   345     116,   0,   1,   0,   3,   0, 
   346       1,   0,   4,   0,   0,   0, 
   347       0,   0,   0,   0,   0,   0, 
   348     118,  84, 101, 120, 116, 117, 
   349     114, 101,  67, 111, 111, 114, 
   350     100, 115,   0, 171,   1,   0, 
   351       3,   0,   1,   0,   4,   0, 
   352       0,   0,   0,   0,   0,   0, 
   353       0,   0, 118,  76,  97, 121, 
   354     101, 114,  81, 117,  97, 100, 
   355       0, 118,  77,  97, 115, 107, 
   356      81, 117,  97, 100,   0, 102, 
   357      76,  97, 121, 101, 114,  67, 
   358     111, 108, 111, 114,   0, 102, 
   359      76,  97, 121, 101, 114,  79, 
   360     112,  97,  99, 105, 116, 121, 
   361       0, 171,   0,   0,   3,   0, 
   362       1,   0,   1,   0,   0,   0, 
   363       0,   0,   0,   0,   0,   0, 
   364      77, 105,  99, 114, 111, 115, 
   365     111, 102, 116,  32,  40,  82, 
   366      41,  32,  72,  76,  83,  76, 
   367      32,  83, 104,  97, 100, 101, 
   368     114,  32,  67, 111, 109, 112, 
   369     105, 108, 101, 114,  32,  57, 
   370      46,  50,  57,  46,  57,  53, 
   371      50,  46,  51,  49,  49,  49, 
   372       0, 171, 171, 171,  73,  83, 
   373      71,  78,  44,   0,   0,   0, 
   374       1,   0,   0,   0,   8,   0, 
   375       0,   0,  32,   0,   0,   0, 
   376       0,   0,   0,   0,   0,   0, 
   377       0,   0,   3,   0,   0,   0, 
   378       0,   0,   0,   0,   3,   3, 
   379       0,   0,  80,  79,  83,  73, 
   380      84,  73,  79,  78,   0, 171, 
   381     171, 171,  79,  83,  71,  78, 
   382      80,   0,   0,   0,   2,   0, 
   383       0,   0,   8,   0,   0,   0, 
   384      56,   0,   0,   0,   0,   0, 
   385       0,   0,   1,   0,   0,   0, 
   386       3,   0,   0,   0,   0,   0, 
   387       0,   0,  15,   0,   0,   0, 
   388      68,   0,   0,   0,   0,   0, 
   389       0,   0,   0,   0,   0,   0, 
   390       3,   0,   0,   0,   1,   0, 
   391       0,   0,   3,  12,   0,   0, 
   392      83,  86,  95,  80, 111, 115, 
   393     105, 116, 105, 111, 110,   0, 
   394      84,  69,  88,  67,  79,  79, 
   395      82,  68,   0, 171, 171, 171
   396 };
   397 #if 0
   398 //
   399 // Generated by Microsoft (R) HLSL Shader Compiler 9.29.952.3111
   400 //
   401 //
   402 //   fxc CompositorD3D11.fx -ESolidColorShader -Tps_4_0_level_9_3 -nologo
   403 //    -FhtmpShaderHeader -VnSolidColorShader
   404 //
   405 //
   406 // Buffer Definitions: 
   407 //
   408 // cbuffer $Globals
   409 // {
   410 //
   411 //   float4 fLayerColor;                // Offset:    0 Size:    16
   412 //   float fLayerOpacity;               // Offset:   16 Size:     4 [unused]
   413 //   float4x4 mLayerTransform;          // Offset:   32 Size:    64 [unused]
   414 //   float4x4 mProjection;              // Offset:   96 Size:    64 [unused]
   415 //   float4 vRenderTargetOffset;        // Offset:  160 Size:    16 [unused]
   416 //   float4 vTextureCoords;             // Offset:  176 Size:    16 [unused]
   417 //   float4 vLayerQuad;                 // Offset:  192 Size:    16 [unused]
   418 //   float4 vMaskQuad;                  // Offset:  208 Size:    16 [unused]
   419 //
   420 // }
   421 //
   422 //
   423 // Resource Bindings:
   424 //
   425 // Name                                 Type  Format         Dim Slot Elements
   426 // ------------------------------ ---------- ------- ----------- ---- --------
   427 // $Globals                          cbuffer      NA          NA    0        1
   428 //
   429 //
   430 //
   431 // Input signature:
   432 //
   433 // Name                 Index   Mask Register SysValue Format   Used
   434 // -------------------- ----- ------ -------- -------- ------ ------
   435 // SV_Position              0   xyzw        0      POS  float       
   436 // TEXCOORD                 0   xy          1     NONE  float       
   437 //
   438 //
   439 // Output signature:
   440 //
   441 // Name                 Index   Mask Register SysValue Format   Used
   442 // -------------------- ----- ------ -------- -------- ------ ------
   443 // SV_Target                0   xyzw        0   TARGET  float   xyzw
   444 //
   445 //
   446 // Constant buffer to DX9 shader constant mappings:
   447 //
   448 // Target Reg Buffer  Start Reg # of Regs        Data Conversion
   449 // ---------- ------- --------- --------- ----------------------
   450 // c0         cb0             0         1  ( FLT, FLT, FLT, FLT)
   451 //
   452 //
   453 // Level9 shader bytecode:
   454 //
   455     ps_2_x
   456     mov oC0, c0
   458 // approximately 1 instruction slot used
   459 ps_4_0
   460 dcl_constantbuffer cb0[1], immediateIndexed
   461 dcl_output o0.xyzw
   462 mov o0.xyzw, cb0[0].xyzw
   463 ret 
   464 // Approximately 2 instruction slots used
   465 #endif
   467 const BYTE SolidColorShader[] =
   468 {
   469      68,  88,  66,  67, 204,   8, 
   470       5, 100,  51,  20, 107, 176, 
   471     111, 165, 149, 245, 134, 187, 
   472      83,  96,   1,   0,   0,   0, 
   473     224,   3,   0,   0,   6,   0, 
   474       0,   0,  56,   0,   0,   0, 
   475     132,   0,   0,   0, 204,   0, 
   476       0,   0,  72,   1,   0,   0, 
   477      84,   3,   0,   0, 172,   3, 
   478       0,   0,  65, 111, 110,  57, 
   479      68,   0,   0,   0,  68,   0, 
   480       0,   0,   0,   2, 255, 255, 
   481      20,   0,   0,   0,  48,   0, 
   482       0,   0,   1,   0,  36,   0, 
   483       0,   0,  48,   0,   0,   0, 
   484      48,   0,   0,   0,  36,   0, 
   485       0,   0,  48,   0,   0,   0, 
   486       0,   0,   1,   0,   0,   0, 
   487       0,   0,   0,   0,   1,   2, 
   488     255, 255,   1,   0,   0,   2, 
   489       0,   8,  15, 128,   0,   0, 
   490     228, 160, 255, 255,   0,   0, 
   491      83,  72,  68,  82,  64,   0, 
   492       0,   0,  64,   0,   0,   0, 
   493      16,   0,   0,   0,  89,   0, 
   494       0,   4,  70, 142,  32,   0, 
   495       0,   0,   0,   0,   1,   0, 
   496       0,   0, 101,   0,   0,   3, 
   497     242,  32,  16,   0,   0,   0, 
   498       0,   0,  54,   0,   0,   6, 
   499     242,  32,  16,   0,   0,   0, 
   500       0,   0,  70, 142,  32,   0, 
   501       0,   0,   0,   0,   0,   0, 
   502       0,   0,  62,   0,   0,   1, 
   503      83,  84,  65,  84, 116,   0, 
   504       0,   0,   2,   0,   0,   0, 
   505       0,   0,   0,   0,   0,   0, 
   506       0,   0,   1,   0,   0,   0, 
   507       0,   0,   0,   0,   0,   0, 
   508       0,   0,   0,   0,   0,   0, 
   509       1,   0,   0,   0,   0,   0, 
   510       0,   0,   0,   0,   0,   0, 
   511       0,   0,   0,   0,   0,   0, 
   512       0,   0,   0,   0,   0,   0, 
   513       0,   0,   0,   0,   0,   0, 
   514       0,   0,   0,   0,   0,   0, 
   515       0,   0,   0,   0,   0,   0, 
   516       0,   0,   0,   0,   0,   0, 
   517       1,   0,   0,   0,   0,   0, 
   518       0,   0,   0,   0,   0,   0, 
   519       0,   0,   0,   0,   0,   0, 
   520       0,   0,   0,   0,   0,   0, 
   521       0,   0,   0,   0,   0,   0, 
   522       0,   0,   0,   0,   0,   0, 
   523       0,   0,   0,   0,  82,  68, 
   524      69,  70,   4,   2,   0,   0, 
   525       1,   0,   0,   0,  72,   0, 
   526       0,   0,   1,   0,   0,   0, 
   527      28,   0,   0,   0,   0,   4, 
   528     255, 255,   0,   1,   0,   0, 
   529     209,   1,   0,   0,  60,   0, 
   530       0,   0,   0,   0,   0,   0, 
   531       0,   0,   0,   0,   0,   0, 
   532       0,   0,   0,   0,   0,   0, 
   533       0,   0,   0,   0,   1,   0, 
   534       0,   0,   0,   0,   0,   0, 
   535      36,  71, 108, 111,  98,  97, 
   536     108, 115,   0, 171, 171, 171, 
   537      60,   0,   0,   0,   8,   0, 
   538       0,   0,  96,   0,   0,   0, 
   539     224,   0,   0,   0,   0,   0, 
   540       0,   0,   0,   0,   0,   0, 
   541      32,   1,   0,   0,   0,   0, 
   542       0,   0,  16,   0,   0,   0, 
   543       2,   0,   0,   0,  44,   1, 
   544       0,   0,   0,   0,   0,   0, 
   545      60,   1,   0,   0,  16,   0, 
   546       0,   0,   4,   0,   0,   0, 
   547       0,   0,   0,   0,  76,   1, 
   548       0,   0,   0,   0,   0,   0, 
   549      92,   1,   0,   0,  32,   0, 
   550       0,   0,  64,   0,   0,   0, 
   551       0,   0,   0,   0, 108,   1, 
   552       0,   0,   0,   0,   0,   0, 
   553     124,   1,   0,   0,  96,   0, 
   554       0,   0,  64,   0,   0,   0, 
   555       0,   0,   0,   0, 108,   1, 
   556       0,   0,   0,   0,   0,   0, 
   557     136,   1,   0,   0, 160,   0, 
   558       0,   0,  16,   0,   0,   0, 
   559       0,   0,   0,   0,  44,   1, 
   560       0,   0,   0,   0,   0,   0, 
   561     156,   1,   0,   0, 176,   0, 
   562       0,   0,  16,   0,   0,   0, 
   563       0,   0,   0,   0, 172,   1, 
   564       0,   0,   0,   0,   0,   0, 
   565     188,   1,   0,   0, 192,   0, 
   566       0,   0,  16,   0,   0,   0, 
   567       0,   0,   0,   0, 172,   1, 
   568       0,   0,   0,   0,   0,   0, 
   569     199,   1,   0,   0, 208,   0, 
   570       0,   0,  16,   0,   0,   0, 
   571       0,   0,   0,   0, 172,   1, 
   572       0,   0,   0,   0,   0,   0, 
   573     102,  76,  97, 121, 101, 114, 
   574      67, 111, 108, 111, 114,   0, 
   575       1,   0,   3,   0,   1,   0, 
   576       4,   0,   0,   0,   0,   0, 
   577       0,   0,   0,   0, 102,  76, 
   578      97, 121, 101, 114,  79, 112, 
   579      97,  99, 105, 116, 121,   0, 
   580     171, 171,   0,   0,   3,   0, 
   581       1,   0,   1,   0,   0,   0, 
   582       0,   0,   0,   0,   0,   0, 
   583     109,  76,  97, 121, 101, 114, 
   584      84, 114,  97, 110, 115, 102, 
   585     111, 114, 109,   0,   3,   0, 
   586       3,   0,   4,   0,   4,   0, 
   587       0,   0,   0,   0,   0,   0, 
   588       0,   0, 109,  80, 114, 111, 
   589     106, 101,  99, 116, 105, 111, 
   590     110,   0, 118,  82, 101, 110, 
   591     100, 101, 114,  84,  97, 114, 
   592     103, 101, 116,  79, 102, 102, 
   593     115, 101, 116,   0, 118,  84, 
   594     101, 120, 116, 117, 114, 101, 
   595      67, 111, 111, 114, 100, 115, 
   596       0, 171,   1,   0,   3,   0, 
   597       1,   0,   4,   0,   0,   0, 
   598       0,   0,   0,   0,   0,   0, 
   599     118,  76,  97, 121, 101, 114, 
   600      81, 117,  97, 100,   0, 118, 
   601      77,  97, 115, 107,  81, 117, 
   602      97, 100,   0,  77, 105,  99, 
   603     114, 111, 115, 111, 102, 116, 
   604      32,  40,  82,  41,  32,  72, 
   605      76,  83,  76,  32,  83, 104, 
   606      97, 100, 101, 114,  32,  67, 
   607     111, 109, 112, 105, 108, 101, 
   608     114,  32,  57,  46,  50,  57, 
   609      46,  57,  53,  50,  46,  51, 
   610      49,  49,  49,   0, 171, 171, 
   611      73,  83,  71,  78,  80,   0, 
   612       0,   0,   2,   0,   0,   0, 
   613       8,   0,   0,   0,  56,   0, 
   614       0,   0,   0,   0,   0,   0, 
   615       1,   0,   0,   0,   3,   0, 
   616       0,   0,   0,   0,   0,   0, 
   617      15,   0,   0,   0,  68,   0, 
   618       0,   0,   0,   0,   0,   0, 
   619       0,   0,   0,   0,   3,   0, 
   620       0,   0,   1,   0,   0,   0, 
   621       3,   0,   0,   0,  83,  86, 
   622      95,  80, 111, 115, 105, 116, 
   623     105, 111, 110,   0,  84,  69, 
   624      88,  67,  79,  79,  82,  68, 
   625       0, 171, 171, 171,  79,  83, 
   626      71,  78,  44,   0,   0,   0, 
   627       1,   0,   0,   0,   8,   0, 
   628       0,   0,  32,   0,   0,   0, 
   629       0,   0,   0,   0,   0,   0, 
   630       0,   0,   3,   0,   0,   0, 
   631       0,   0,   0,   0,  15,   0, 
   632       0,   0,  83,  86,  95,  84, 
   633      97, 114, 103, 101, 116,   0, 
   634     171, 171
   635 };
   636 #if 0
   637 //
   638 // Generated by Microsoft (R) HLSL Shader Compiler 9.29.952.3111
   639 //
   640 //
   641 //   fxc CompositorD3D11.fx -ERGBShader -Tps_4_0_level_9_3 -nologo
   642 //    -FhtmpShaderHeader -VnRGBShader
   643 //
   644 //
   645 // Buffer Definitions: 
   646 //
   647 // cbuffer $Globals
   648 // {
   649 //
   650 //   float4 fLayerColor;                // Offset:    0 Size:    16 [unused]
   651 //   float fLayerOpacity;               // Offset:   16 Size:     4
   652 //   float4x4 mLayerTransform;          // Offset:   32 Size:    64 [unused]
   653 //   float4x4 mProjection;              // Offset:   96 Size:    64 [unused]
   654 //   float4 vRenderTargetOffset;        // Offset:  160 Size:    16 [unused]
   655 //   float4 vTextureCoords;             // Offset:  176 Size:    16 [unused]
   656 //   float4 vLayerQuad;                 // Offset:  192 Size:    16 [unused]
   657 //   float4 vMaskQuad;                  // Offset:  208 Size:    16 [unused]
   658 //
   659 // }
   660 //
   661 //
   662 // Resource Bindings:
   663 //
   664 // Name                                 Type  Format         Dim Slot Elements
   665 // ------------------------------ ---------- ------- ----------- ---- --------
   666 // sSampler                          sampler      NA          NA    0        1
   667 // tRGB                              texture  float4          2d    0        1
   668 // $Globals                          cbuffer      NA          NA    0        1
   669 //
   670 //
   671 //
   672 // Input signature:
   673 //
   674 // Name                 Index   Mask Register SysValue Format   Used
   675 // -------------------- ----- ------ -------- -------- ------ ------
   676 // SV_Position              0   xyzw        0      POS  float       
   677 // TEXCOORD                 0   xy          1     NONE  float   xy  
   678 //
   679 //
   680 // Output signature:
   681 //
   682 // Name                 Index   Mask Register SysValue Format   Used
   683 // -------------------- ----- ------ -------- -------- ------ ------
   684 // SV_Target                0   xyzw        0   TARGET  float   xyzw
   685 //
   686 //
   687 // Constant buffer to DX9 shader constant mappings:
   688 //
   689 // Target Reg Buffer  Start Reg # of Regs        Data Conversion
   690 // ---------- ------- --------- --------- ----------------------
   691 // c0         cb0             1         1  ( FLT, FLT, FLT, FLT)
   692 //
   693 //
   694 // Sampler/Resource to DX9 shader sampler mappings:
   695 //
   696 // Target Sampler Source Sampler  Source Resource
   697 // -------------- --------------- ----------------
   698 // s0             s0              t0               
   699 //
   700 //
   701 // Level9 shader bytecode:
   702 //
   703     ps_2_x
   704     dcl t0.xy
   705     dcl_2d s0
   706     texld r0, t0, s0
   707     mul r0.xyz, r0, c0.x
   708     mov r0.w, c0.x
   709     mov oC0, r0
   711 // approximately 4 instruction slots used (1 texture, 3 arithmetic)
   712 ps_4_0
   713 dcl_constantbuffer cb0[2], immediateIndexed
   714 dcl_sampler s0, mode_default
   715 dcl_resource_texture2d (float,float,float,float) t0
   716 dcl_input_ps linear v1.xy
   717 dcl_output o0.xyzw
   718 dcl_temps 1
   719 sample r0.xyzw, v1.xyxx, t0.xyzw, s0
   720 mul o0.xyz, r0.xyzx, cb0[1].xxxx
   721 mov o0.w, cb0[1].x
   722 ret 
   723 // Approximately 4 instruction slots used
   724 #endif
   726 const BYTE RGBShader[] =
   727 {
   728      68,  88,  66,  67,  20, 109, 
   729     176, 198,  26, 112, 108, 185, 
   730     246, 240, 143,  18,  57, 236, 
   731     126,  68,   1,   0,   0,   0, 
   732     232,   4,   0,   0,   6,   0, 
   733       0,   0,  56,   0,   0,   0, 
   734     204,   0,   0,   0, 136,   1, 
   735       0,   0,   4,   2,   0,   0, 
   736      92,   4,   0,   0, 180,   4, 
   737       0,   0,  65, 111, 110,  57, 
   738     140,   0,   0,   0, 140,   0, 
   739       0,   0,   0,   2, 255, 255, 
   740      88,   0,   0,   0,  52,   0, 
   741       0,   0,   1,   0,  40,   0, 
   742       0,   0,  52,   0,   0,   0, 
   743      52,   0,   1,   0,  36,   0, 
   744       0,   0,  52,   0,   0,   0, 
   745       0,   0,   0,   0,   1,   0, 
   746       1,   0,   0,   0,   0,   0, 
   747       0,   0,   1,   2, 255, 255, 
   748      31,   0,   0,   2,   0,   0, 
   749       0, 128,   0,   0,   3, 176, 
   750      31,   0,   0,   2,   0,   0, 
   751       0, 144,   0,   8,  15, 160, 
   752      66,   0,   0,   3,   0,   0, 
   753      15, 128,   0,   0, 228, 176, 
   754       0,   8, 228, 160,   5,   0, 
   755       0,   3,   0,   0,   7, 128, 
   756       0,   0, 228, 128,   0,   0, 
   757       0, 160,   1,   0,   0,   2, 
   758       0,   0,   8, 128,   0,   0, 
   759       0, 160,   1,   0,   0,   2, 
   760       0,   8,  15, 128,   0,   0, 
   761     228, 128, 255, 255,   0,   0, 
   762      83,  72,  68,  82, 180,   0, 
   763       0,   0,  64,   0,   0,   0, 
   764      45,   0,   0,   0,  89,   0, 
   765       0,   4,  70, 142,  32,   0, 
   766       0,   0,   0,   0,   2,   0, 
   767       0,   0,  90,   0,   0,   3, 
   768       0,  96,  16,   0,   0,   0, 
   769       0,   0,  88,  24,   0,   4, 
   770       0, 112,  16,   0,   0,   0, 
   771       0,   0,  85,  85,   0,   0, 
   772      98,  16,   0,   3,  50,  16, 
   773      16,   0,   1,   0,   0,   0, 
   774     101,   0,   0,   3, 242,  32, 
   775      16,   0,   0,   0,   0,   0, 
   776     104,   0,   0,   2,   1,   0, 
   777       0,   0,  69,   0,   0,   9, 
   778     242,   0,  16,   0,   0,   0, 
   779       0,   0,  70,  16,  16,   0, 
   780       1,   0,   0,   0,  70, 126, 
   781      16,   0,   0,   0,   0,   0, 
   782       0,  96,  16,   0,   0,   0, 
   783       0,   0,  56,   0,   0,   8, 
   784     114,  32,  16,   0,   0,   0, 
   785       0,   0,  70,   2,  16,   0, 
   786       0,   0,   0,   0,   6, 128, 
   787      32,   0,   0,   0,   0,   0, 
   788       1,   0,   0,   0,  54,   0, 
   789       0,   6, 130,  32,  16,   0, 
   790       0,   0,   0,   0,  10, 128, 
   791      32,   0,   0,   0,   0,   0, 
   792       1,   0,   0,   0,  62,   0, 
   793       0,   1,  83,  84,  65,  84, 
   794     116,   0,   0,   0,   4,   0, 
   795       0,   0,   1,   0,   0,   0, 
   796       0,   0,   0,   0,   2,   0, 
   797       0,   0,   1,   0,   0,   0, 
   798       0,   0,   0,   0,   0,   0, 
   799       0,   0,   1,   0,   0,   0, 
   800       0,   0,   0,   0,   0,   0, 
   801       0,   0,   0,   0,   0,   0, 
   802       0,   0,   0,   0,   0,   0, 
   803       0,   0,   0,   0,   0,   0, 
   804       1,   0,   0,   0,   0,   0, 
   805       0,   0,   0,   0,   0,   0, 
   806       0,   0,   0,   0,   0,   0, 
   807       0,   0,   1,   0,   0,   0, 
   808       0,   0,   0,   0,   0,   0, 
   809       0,   0,   0,   0,   0,   0, 
   810       0,   0,   0,   0,   0,   0, 
   811       0,   0,   0,   0,   0,   0, 
   812       0,   0,   0,   0,   0,   0, 
   813       0,   0,   0,   0,   0,   0, 
   814      82,  68,  69,  70,  80,   2, 
   815       0,   0,   1,   0,   0,   0, 
   816     148,   0,   0,   0,   3,   0, 
   817       0,   0,  28,   0,   0,   0, 
   818       0,   4, 255, 255,   0,   1, 
   819       0,   0,  29,   2,   0,   0, 
   820     124,   0,   0,   0,   3,   0, 
   821       0,   0,   0,   0,   0,   0, 
   822       0,   0,   0,   0,   0,   0, 
   823       0,   0,   0,   0,   0,   0, 
   824       1,   0,   0,   0,   1,   0, 
   825       0,   0, 133,   0,   0,   0, 
   826       2,   0,   0,   0,   5,   0, 
   827       0,   0,   4,   0,   0,   0, 
   828     255, 255, 255, 255,   0,   0, 
   829       0,   0,   1,   0,   0,   0, 
   830      12,   0,   0,   0, 138,   0, 
   831       0,   0,   0,   0,   0,   0, 
   832       0,   0,   0,   0,   0,   0, 
   833       0,   0,   0,   0,   0,   0, 
   834       0,   0,   0,   0,   1,   0, 
   835       0,   0,   0,   0,   0,   0, 
   836     115,  83,  97, 109, 112, 108, 
   837     101, 114,   0, 116,  82,  71, 
   838      66,   0,  36,  71, 108, 111, 
   839      98,  97, 108, 115,   0, 171, 
   840     138,   0,   0,   0,   8,   0, 
   841       0,   0, 172,   0,   0,   0, 
   842     224,   0,   0,   0,   0,   0, 
   843       0,   0,   0,   0,   0,   0, 
   844     108,   1,   0,   0,   0,   0, 
   845       0,   0,  16,   0,   0,   0, 
   846       0,   0,   0,   0, 120,   1, 
   847       0,   0,   0,   0,   0,   0, 
   848     136,   1,   0,   0,  16,   0, 
   849       0,   0,   4,   0,   0,   0, 
   850       2,   0,   0,   0, 152,   1, 
   851       0,   0,   0,   0,   0,   0, 
   852     168,   1,   0,   0,  32,   0, 
   853       0,   0,  64,   0,   0,   0, 
   854       0,   0,   0,   0, 184,   1, 
   855       0,   0,   0,   0,   0,   0, 
   856     200,   1,   0,   0,  96,   0, 
   857       0,   0,  64,   0,   0,   0, 
   858       0,   0,   0,   0, 184,   1, 
   859       0,   0,   0,   0,   0,   0, 
   860     212,   1,   0,   0, 160,   0, 
   861       0,   0,  16,   0,   0,   0, 
   862       0,   0,   0,   0, 120,   1, 
   863       0,   0,   0,   0,   0,   0, 
   864     232,   1,   0,   0, 176,   0, 
   865       0,   0,  16,   0,   0,   0, 
   866       0,   0,   0,   0, 248,   1, 
   867       0,   0,   0,   0,   0,   0, 
   868       8,   2,   0,   0, 192,   0, 
   869       0,   0,  16,   0,   0,   0, 
   870       0,   0,   0,   0, 248,   1, 
   871       0,   0,   0,   0,   0,   0, 
   872      19,   2,   0,   0, 208,   0, 
   873       0,   0,  16,   0,   0,   0, 
   874       0,   0,   0,   0, 248,   1, 
   875       0,   0,   0,   0,   0,   0, 
   876     102,  76,  97, 121, 101, 114, 
   877      67, 111, 108, 111, 114,   0, 
   878       1,   0,   3,   0,   1,   0, 
   879       4,   0,   0,   0,   0,   0, 
   880       0,   0,   0,   0, 102,  76, 
   881      97, 121, 101, 114,  79, 112, 
   882      97,  99, 105, 116, 121,   0, 
   883     171, 171,   0,   0,   3,   0, 
   884       1,   0,   1,   0,   0,   0, 
   885       0,   0,   0,   0,   0,   0, 
   886     109,  76,  97, 121, 101, 114, 
   887      84, 114,  97, 110, 115, 102, 
   888     111, 114, 109,   0,   3,   0, 
   889       3,   0,   4,   0,   4,   0, 
   890       0,   0,   0,   0,   0,   0, 
   891       0,   0, 109,  80, 114, 111, 
   892     106, 101,  99, 116, 105, 111, 
   893     110,   0, 118,  82, 101, 110, 
   894     100, 101, 114,  84,  97, 114, 
   895     103, 101, 116,  79, 102, 102, 
   896     115, 101, 116,   0, 118,  84, 
   897     101, 120, 116, 117, 114, 101, 
   898      67, 111, 111, 114, 100, 115, 
   899       0, 171,   1,   0,   3,   0, 
   900       1,   0,   4,   0,   0,   0, 
   901       0,   0,   0,   0,   0,   0, 
   902     118,  76,  97, 121, 101, 114, 
   903      81, 117,  97, 100,   0, 118, 
   904      77,  97, 115, 107,  81, 117, 
   905      97, 100,   0,  77, 105,  99, 
   906     114, 111, 115, 111, 102, 116, 
   907      32,  40,  82,  41,  32,  72, 
   908      76,  83,  76,  32,  83, 104, 
   909      97, 100, 101, 114,  32,  67, 
   910     111, 109, 112, 105, 108, 101, 
   911     114,  32,  57,  46,  50,  57, 
   912      46,  57,  53,  50,  46,  51, 
   913      49,  49,  49,   0, 171, 171, 
   914      73,  83,  71,  78,  80,   0, 
   915       0,   0,   2,   0,   0,   0, 
   916       8,   0,   0,   0,  56,   0, 
   917       0,   0,   0,   0,   0,   0, 
   918       1,   0,   0,   0,   3,   0, 
   919       0,   0,   0,   0,   0,   0, 
   920      15,   0,   0,   0,  68,   0, 
   921       0,   0,   0,   0,   0,   0, 
   922       0,   0,   0,   0,   3,   0, 
   923       0,   0,   1,   0,   0,   0, 
   924       3,   3,   0,   0,  83,  86, 
   925      95,  80, 111, 115, 105, 116, 
   926     105, 111, 110,   0,  84,  69, 
   927      88,  67,  79,  79,  82,  68, 
   928       0, 171, 171, 171,  79,  83, 
   929      71,  78,  44,   0,   0,   0, 
   930       1,   0,   0,   0,   8,   0, 
   931       0,   0,  32,   0,   0,   0, 
   932       0,   0,   0,   0,   0,   0, 
   933       0,   0,   3,   0,   0,   0, 
   934       0,   0,   0,   0,  15,   0, 
   935       0,   0,  83,  86,  95,  84, 
   936      97, 114, 103, 101, 116,   0, 
   937     171, 171
   938 };
   939 #if 0
   940 //
   941 // Generated by Microsoft (R) HLSL Shader Compiler 9.29.952.3111
   942 //
   943 //
   944 //   fxc CompositorD3D11.fx -ERGBAShader -Tps_4_0_level_9_3 -nologo
   945 //    -FhtmpShaderHeader -VnRGBAShader
   946 //
   947 //
   948 // Buffer Definitions: 
   949 //
   950 // cbuffer $Globals
   951 // {
   952 //
   953 //   float4 fLayerColor;                // Offset:    0 Size:    16 [unused]
   954 //   float fLayerOpacity;               // Offset:   16 Size:     4
   955 //   float4x4 mLayerTransform;          // Offset:   32 Size:    64 [unused]
   956 //   float4x4 mProjection;              // Offset:   96 Size:    64 [unused]
   957 //   float4 vRenderTargetOffset;        // Offset:  160 Size:    16 [unused]
   958 //   float4 vTextureCoords;             // Offset:  176 Size:    16 [unused]
   959 //   float4 vLayerQuad;                 // Offset:  192 Size:    16 [unused]
   960 //   float4 vMaskQuad;                  // Offset:  208 Size:    16 [unused]
   961 //
   962 // }
   963 //
   964 //
   965 // Resource Bindings:
   966 //
   967 // Name                                 Type  Format         Dim Slot Elements
   968 // ------------------------------ ---------- ------- ----------- ---- --------
   969 // sSampler                          sampler      NA          NA    0        1
   970 // tRGB                              texture  float4          2d    0        1
   971 // $Globals                          cbuffer      NA          NA    0        1
   972 //
   973 //
   974 //
   975 // Input signature:
   976 //
   977 // Name                 Index   Mask Register SysValue Format   Used
   978 // -------------------- ----- ------ -------- -------- ------ ------
   979 // SV_Position              0   xyzw        0      POS  float       
   980 // TEXCOORD                 0   xy          1     NONE  float   xy  
   981 //
   982 //
   983 // Output signature:
   984 //
   985 // Name                 Index   Mask Register SysValue Format   Used
   986 // -------------------- ----- ------ -------- -------- ------ ------
   987 // SV_Target                0   xyzw        0   TARGET  float   xyzw
   988 //
   989 //
   990 // Constant buffer to DX9 shader constant mappings:
   991 //
   992 // Target Reg Buffer  Start Reg # of Regs        Data Conversion
   993 // ---------- ------- --------- --------- ----------------------
   994 // c0         cb0             1         1  ( FLT, FLT, FLT, FLT)
   995 //
   996 //
   997 // Sampler/Resource to DX9 shader sampler mappings:
   998 //
   999 // Target Sampler Source Sampler  Source Resource
  1000 // -------------- --------------- ----------------
  1001 // s0             s0              t0               
  1002 //
  1003 //
  1004 // Level9 shader bytecode:
  1005 //
  1006     ps_2_x
  1007     dcl t0.xy
  1008     dcl_2d s0
  1009     texld r0, t0, s0
  1010     mul r0, r0, c0.x
  1011     mov oC0, r0
  1013 // approximately 3 instruction slots used (1 texture, 2 arithmetic)
  1014 ps_4_0
  1015 dcl_constantbuffer cb0[2], immediateIndexed
  1016 dcl_sampler s0, mode_default
  1017 dcl_resource_texture2d (float,float,float,float) t0
  1018 dcl_input_ps linear v1.xy
  1019 dcl_output o0.xyzw
  1020 dcl_temps 1
  1021 sample r0.xyzw, v1.xyxx, t0.xyzw, s0
  1022 mul o0.xyzw, r0.xyzw, cb0[1].xxxx
  1023 ret 
  1024 // Approximately 3 instruction slots used
  1025 #endif
  1027 const BYTE RGBAShader[] =
  1029      68,  88,  66,  67, 214,  26, 
  1030     168, 112,  65, 151,  75,  99, 
  1031     196,  63, 136, 104, 158, 202, 
  1032     217,   7,   1,   0,   0,   0, 
  1033     196,   4,   0,   0,   6,   0, 
  1034       0,   0,  56,   0,   0,   0, 
  1035     192,   0,   0,   0, 100,   1, 
  1036       0,   0, 224,   1,   0,   0, 
  1037      56,   4,   0,   0, 144,   4, 
  1038       0,   0,  65, 111, 110,  57, 
  1039     128,   0,   0,   0, 128,   0, 
  1040       0,   0,   0,   2, 255, 255, 
  1041      76,   0,   0,   0,  52,   0, 
  1042       0,   0,   1,   0,  40,   0, 
  1043       0,   0,  52,   0,   0,   0, 
  1044      52,   0,   1,   0,  36,   0, 
  1045       0,   0,  52,   0,   0,   0, 
  1046       0,   0,   0,   0,   1,   0, 
  1047       1,   0,   0,   0,   0,   0, 
  1048       0,   0,   1,   2, 255, 255, 
  1049      31,   0,   0,   2,   0,   0, 
  1050       0, 128,   0,   0,   3, 176, 
  1051      31,   0,   0,   2,   0,   0, 
  1052       0, 144,   0,   8,  15, 160, 
  1053      66,   0,   0,   3,   0,   0, 
  1054      15, 128,   0,   0, 228, 176, 
  1055       0,   8, 228, 160,   5,   0, 
  1056       0,   3,   0,   0,  15, 128, 
  1057       0,   0, 228, 128,   0,   0, 
  1058       0, 160,   1,   0,   0,   2, 
  1059       0,   8,  15, 128,   0,   0, 
  1060     228, 128, 255, 255,   0,   0, 
  1061      83,  72,  68,  82, 156,   0, 
  1062       0,   0,  64,   0,   0,   0, 
  1063      39,   0,   0,   0,  89,   0, 
  1064       0,   4,  70, 142,  32,   0, 
  1065       0,   0,   0,   0,   2,   0, 
  1066       0,   0,  90,   0,   0,   3, 
  1067       0,  96,  16,   0,   0,   0, 
  1068       0,   0,  88,  24,   0,   4, 
  1069       0, 112,  16,   0,   0,   0, 
  1070       0,   0,  85,  85,   0,   0, 
  1071      98,  16,   0,   3,  50,  16, 
  1072      16,   0,   1,   0,   0,   0, 
  1073     101,   0,   0,   3, 242,  32, 
  1074      16,   0,   0,   0,   0,   0, 
  1075     104,   0,   0,   2,   1,   0, 
  1076       0,   0,  69,   0,   0,   9, 
  1077     242,   0,  16,   0,   0,   0, 
  1078       0,   0,  70,  16,  16,   0, 
  1079       1,   0,   0,   0,  70, 126, 
  1080      16,   0,   0,   0,   0,   0, 
  1081       0,  96,  16,   0,   0,   0, 
  1082       0,   0,  56,   0,   0,   8, 
  1083     242,  32,  16,   0,   0,   0, 
  1084       0,   0,  70,  14,  16,   0, 
  1085       0,   0,   0,   0,   6, 128, 
  1086      32,   0,   0,   0,   0,   0, 
  1087       1,   0,   0,   0,  62,   0, 
  1088       0,   1,  83,  84,  65,  84, 
  1089     116,   0,   0,   0,   3,   0, 
  1090       0,   0,   1,   0,   0,   0, 
  1091       0,   0,   0,   0,   2,   0, 
  1092       0,   0,   1,   0,   0,   0, 
  1093       0,   0,   0,   0,   0,   0, 
  1094       0,   0,   1,   0,   0,   0, 
  1095       0,   0,   0,   0,   0,   0, 
  1096       0,   0,   0,   0,   0,   0, 
  1097       0,   0,   0,   0,   0,   0, 
  1098       0,   0,   0,   0,   0,   0, 
  1099       1,   0,   0,   0,   0,   0, 
  1100       0,   0,   0,   0,   0,   0, 
  1101       0,   0,   0,   0,   0,   0, 
  1102       0,   0,   0,   0,   0,   0, 
  1103       0,   0,   0,   0,   0,   0, 
  1104       0,   0,   0,   0,   0,   0, 
  1105       0,   0,   0,   0,   0,   0, 
  1106       0,   0,   0,   0,   0,   0, 
  1107       0,   0,   0,   0,   0,   0, 
  1108       0,   0,   0,   0,   0,   0, 
  1109      82,  68,  69,  70,  80,   2, 
  1110       0,   0,   1,   0,   0,   0, 
  1111     148,   0,   0,   0,   3,   0, 
  1112       0,   0,  28,   0,   0,   0, 
  1113       0,   4, 255, 255,   0,   1, 
  1114       0,   0,  29,   2,   0,   0, 
  1115     124,   0,   0,   0,   3,   0, 
  1116       0,   0,   0,   0,   0,   0, 
  1117       0,   0,   0,   0,   0,   0, 
  1118       0,   0,   0,   0,   0,   0, 
  1119       1,   0,   0,   0,   1,   0, 
  1120       0,   0, 133,   0,   0,   0, 
  1121       2,   0,   0,   0,   5,   0, 
  1122       0,   0,   4,   0,   0,   0, 
  1123     255, 255, 255, 255,   0,   0, 
  1124       0,   0,   1,   0,   0,   0, 
  1125      12,   0,   0,   0, 138,   0, 
  1126       0,   0,   0,   0,   0,   0, 
  1127       0,   0,   0,   0,   0,   0, 
  1128       0,   0,   0,   0,   0,   0, 
  1129       0,   0,   0,   0,   1,   0, 
  1130       0,   0,   0,   0,   0,   0, 
  1131     115,  83,  97, 109, 112, 108, 
  1132     101, 114,   0, 116,  82,  71, 
  1133      66,   0,  36,  71, 108, 111, 
  1134      98,  97, 108, 115,   0, 171, 
  1135     138,   0,   0,   0,   8,   0, 
  1136       0,   0, 172,   0,   0,   0, 
  1137     224,   0,   0,   0,   0,   0, 
  1138       0,   0,   0,   0,   0,   0, 
  1139     108,   1,   0,   0,   0,   0, 
  1140       0,   0,  16,   0,   0,   0, 
  1141       0,   0,   0,   0, 120,   1, 
  1142       0,   0,   0,   0,   0,   0, 
  1143     136,   1,   0,   0,  16,   0, 
  1144       0,   0,   4,   0,   0,   0, 
  1145       2,   0,   0,   0, 152,   1, 
  1146       0,   0,   0,   0,   0,   0, 
  1147     168,   1,   0,   0,  32,   0, 
  1148       0,   0,  64,   0,   0,   0, 
  1149       0,   0,   0,   0, 184,   1, 
  1150       0,   0,   0,   0,   0,   0, 
  1151     200,   1,   0,   0,  96,   0, 
  1152       0,   0,  64,   0,   0,   0, 
  1153       0,   0,   0,   0, 184,   1, 
  1154       0,   0,   0,   0,   0,   0, 
  1155     212,   1,   0,   0, 160,   0, 
  1156       0,   0,  16,   0,   0,   0, 
  1157       0,   0,   0,   0, 120,   1, 
  1158       0,   0,   0,   0,   0,   0, 
  1159     232,   1,   0,   0, 176,   0, 
  1160       0,   0,  16,   0,   0,   0, 
  1161       0,   0,   0,   0, 248,   1, 
  1162       0,   0,   0,   0,   0,   0, 
  1163       8,   2,   0,   0, 192,   0, 
  1164       0,   0,  16,   0,   0,   0, 
  1165       0,   0,   0,   0, 248,   1, 
  1166       0,   0,   0,   0,   0,   0, 
  1167      19,   2,   0,   0, 208,   0, 
  1168       0,   0,  16,   0,   0,   0, 
  1169       0,   0,   0,   0, 248,   1, 
  1170       0,   0,   0,   0,   0,   0, 
  1171     102,  76,  97, 121, 101, 114, 
  1172      67, 111, 108, 111, 114,   0, 
  1173       1,   0,   3,   0,   1,   0, 
  1174       4,   0,   0,   0,   0,   0, 
  1175       0,   0,   0,   0, 102,  76, 
  1176      97, 121, 101, 114,  79, 112, 
  1177      97,  99, 105, 116, 121,   0, 
  1178     171, 171,   0,   0,   3,   0, 
  1179       1,   0,   1,   0,   0,   0, 
  1180       0,   0,   0,   0,   0,   0, 
  1181     109,  76,  97, 121, 101, 114, 
  1182      84, 114,  97, 110, 115, 102, 
  1183     111, 114, 109,   0,   3,   0, 
  1184       3,   0,   4,   0,   4,   0, 
  1185       0,   0,   0,   0,   0,   0, 
  1186       0,   0, 109,  80, 114, 111, 
  1187     106, 101,  99, 116, 105, 111, 
  1188     110,   0, 118,  82, 101, 110, 
  1189     100, 101, 114,  84,  97, 114, 
  1190     103, 101, 116,  79, 102, 102, 
  1191     115, 101, 116,   0, 118,  84, 
  1192     101, 120, 116, 117, 114, 101, 
  1193      67, 111, 111, 114, 100, 115, 
  1194       0, 171,   1,   0,   3,   0, 
  1195       1,   0,   4,   0,   0,   0, 
  1196       0,   0,   0,   0,   0,   0, 
  1197     118,  76,  97, 121, 101, 114, 
  1198      81, 117,  97, 100,   0, 118, 
  1199      77,  97, 115, 107,  81, 117, 
  1200      97, 100,   0,  77, 105,  99, 
  1201     114, 111, 115, 111, 102, 116, 
  1202      32,  40,  82,  41,  32,  72, 
  1203      76,  83,  76,  32,  83, 104, 
  1204      97, 100, 101, 114,  32,  67, 
  1205     111, 109, 112, 105, 108, 101, 
  1206     114,  32,  57,  46,  50,  57, 
  1207      46,  57,  53,  50,  46,  51, 
  1208      49,  49,  49,   0, 171, 171, 
  1209      73,  83,  71,  78,  80,   0, 
  1210       0,   0,   2,   0,   0,   0, 
  1211       8,   0,   0,   0,  56,   0, 
  1212       0,   0,   0,   0,   0,   0, 
  1213       1,   0,   0,   0,   3,   0, 
  1214       0,   0,   0,   0,   0,   0, 
  1215      15,   0,   0,   0,  68,   0, 
  1216       0,   0,   0,   0,   0,   0, 
  1217       0,   0,   0,   0,   3,   0, 
  1218       0,   0,   1,   0,   0,   0, 
  1219       3,   3,   0,   0,  83,  86, 
  1220      95,  80, 111, 115, 105, 116, 
  1221     105, 111, 110,   0,  84,  69, 
  1222      88,  67,  79,  79,  82,  68, 
  1223       0, 171, 171, 171,  79,  83, 
  1224      71,  78,  44,   0,   0,   0, 
  1225       1,   0,   0,   0,   8,   0, 
  1226       0,   0,  32,   0,   0,   0, 
  1227       0,   0,   0,   0,   0,   0, 
  1228       0,   0,   3,   0,   0,   0, 
  1229       0,   0,   0,   0,  15,   0, 
  1230       0,   0,  83,  86,  95,  84, 
  1231      97, 114, 103, 101, 116,   0, 
  1232     171, 171
  1233 };
  1234 #if 0
  1235 //
  1236 // Generated by Microsoft (R) HLSL Shader Compiler 9.29.952.3111
  1237 //
  1238 //
  1239 //   fxc CompositorD3D11.fx -EComponentAlphaShader -Tps_4_0_level_9_3 -nologo
  1240 //    -FhtmpShaderHeader -VnComponentAlphaShader
  1241 //
  1242 //
  1243 // Buffer Definitions: 
  1244 //
  1245 // cbuffer $Globals
  1246 // {
  1247 //
  1248 //   float4 fLayerColor;                // Offset:    0 Size:    16 [unused]
  1249 //   float fLayerOpacity;               // Offset:   16 Size:     4
  1250 //   float4x4 mLayerTransform;          // Offset:   32 Size:    64 [unused]
  1251 //   float4x4 mProjection;              // Offset:   96 Size:    64 [unused]
  1252 //   float4 vRenderTargetOffset;        // Offset:  160 Size:    16 [unused]
  1253 //   float4 vTextureCoords;             // Offset:  176 Size:    16 [unused]
  1254 //   float4 vLayerQuad;                 // Offset:  192 Size:    16 [unused]
  1255 //   float4 vMaskQuad;                  // Offset:  208 Size:    16 [unused]
  1256 //
  1257 // }
  1258 //
  1259 //
  1260 // Resource Bindings:
  1261 //
  1262 // Name                                 Type  Format         Dim Slot Elements
  1263 // ------------------------------ ---------- ------- ----------- ---- --------
  1264 // sSampler                          sampler      NA          NA    0        1
  1265 // tRGB                              texture  float4          2d    0        1
  1266 // tRGBWhite                         texture  float4          2d    1        1
  1267 // $Globals                          cbuffer      NA          NA    0        1
  1268 //
  1269 //
  1270 //
  1271 // Input signature:
  1272 //
  1273 // Name                 Index   Mask Register SysValue Format   Used
  1274 // -------------------- ----- ------ -------- -------- ------ ------
  1275 // SV_Position              0   xyzw        0      POS  float       
  1276 // TEXCOORD                 0   xy          1     NONE  float   xy  
  1277 //
  1278 //
  1279 // Output signature:
  1280 //
  1281 // Name                 Index   Mask Register SysValue Format   Used
  1282 // -------------------- ----- ------ -------- -------- ------ ------
  1283 // SV_Target                0   xyzw        0   TARGET  float   xyzw
  1284 // SV_Target                1   xyzw        1   TARGET  float   xyzw
  1285 //
  1286 //
  1287 // Constant buffer to DX9 shader constant mappings:
  1288 //
  1289 // Target Reg Buffer  Start Reg # of Regs        Data Conversion
  1290 // ---------- ------- --------- --------- ----------------------
  1291 // c0         cb0             1         1  ( FLT, FLT, FLT, FLT)
  1292 //
  1293 //
  1294 // Sampler/Resource to DX9 shader sampler mappings:
  1295 //
  1296 // Target Sampler Source Sampler  Source Resource
  1297 // -------------- --------------- ----------------
  1298 // s0             s0              t0               
  1299 // s1             s0              t1               
  1300 //
  1301 //
  1302 // Level9 shader bytecode:
  1303 //
  1304     ps_2_x
  1305     def c1, 1, 0, 0, 0
  1306     dcl t0.xy
  1307     dcl_2d s0
  1308     dcl_2d s1
  1309     texld r0, t0, s0
  1310     texld r1, t0, s1
  1311     add r1, r0, -r1
  1312     add r1, r1, c1.x
  1313     mov r0.w, r1.y
  1314     mul r1, r1, c0.x
  1315     mov oC1, r1
  1316     mul r0, r0, c0.x
  1317     mov oC0, r0
  1319 // approximately 9 instruction slots used (2 texture, 7 arithmetic)
  1320 ps_4_0
  1321 dcl_constantbuffer cb0[2], immediateIndexed
  1322 dcl_sampler s0, mode_default
  1323 dcl_resource_texture2d (float,float,float,float) t0
  1324 dcl_resource_texture2d (float,float,float,float) t1
  1325 dcl_input_ps linear v1.xy
  1326 dcl_output o0.xyzw
  1327 dcl_output o1.xyzw
  1328 dcl_temps 2
  1329 sample r0.xyzw, v1.xyxx, t1.xyzw, s0
  1330 sample r1.xyzw, v1.xyxx, t0.xyzw, s0
  1331 add r0.xyzw, -r0.xyzw, r1.xyzw
  1332 add r0.xyzw, r0.xyzw, l(1.000000, 1.000000, 1.000000, 1.000000)
  1333 mov r1.w, r0.y
  1334 mul o1.xyzw, r0.xyzw, cb0[1].xxxx
  1335 mul o0.xyzw, r1.xyzw, cb0[1].xxxx
  1336 ret 
  1337 // Approximately 8 instruction slots used
  1338 #endif
  1340 const BYTE ComponentAlphaShader[] =
  1342      68,  88,  66,  67, 207, 238, 
  1343     180, 151, 111,  52, 137,   3, 
  1344      45, 243, 229, 223,  99, 172, 
  1345      89,   3,   1,   0,   0,   0, 
  1346      68,   6,   0,   0,   6,   0, 
  1347       0,   0,  56,   0,   0,   0, 
  1348      64,   1,   0,   0, 160,   2, 
  1349       0,   0,  28,   3,   0,   0, 
  1350     160,   5,   0,   0, 248,   5, 
  1351       0,   0,  65, 111, 110,  57, 
  1352       0,   1,   0,   0,   0,   1, 
  1353       0,   0,   0,   2, 255, 255, 
  1354     200,   0,   0,   0,  56,   0, 
  1355       0,   0,   1,   0,  44,   0, 
  1356       0,   0,  56,   0,   0,   0, 
  1357      56,   0,   2,   0,  36,   0, 
  1358       0,   0,  56,   0,   0,   0, 
  1359       0,   0,   1,   0,   1,   0, 
  1360       0,   0,   1,   0,   1,   0, 
  1361       0,   0,   0,   0,   0,   0, 
  1362       1,   2, 255, 255,  81,   0, 
  1363       0,   5,   1,   0,  15, 160, 
  1364       0,   0, 128,  63,   0,   0, 
  1365       0,   0,   0,   0,   0,   0, 
  1366       0,   0,   0,   0,  31,   0, 
  1367       0,   2,   0,   0,   0, 128, 
  1368       0,   0,   3, 176,  31,   0, 
  1369       0,   2,   0,   0,   0, 144, 
  1370       0,   8,  15, 160,  31,   0, 
  1371       0,   2,   0,   0,   0, 144, 
  1372       1,   8,  15, 160,  66,   0, 
  1373       0,   3,   0,   0,  15, 128, 
  1374       0,   0, 228, 176,   0,   8, 
  1375     228, 160,  66,   0,   0,   3, 
  1376       1,   0,  15, 128,   0,   0, 
  1377     228, 176,   1,   8, 228, 160, 
  1378       2,   0,   0,   3,   1,   0, 
  1379      15, 128,   0,   0, 228, 128, 
  1380       1,   0, 228, 129,   2,   0, 
  1381       0,   3,   1,   0,  15, 128, 
  1382       1,   0, 228, 128,   1,   0, 
  1383       0, 160,   1,   0,   0,   2, 
  1384       0,   0,   8, 128,   1,   0, 
  1385      85, 128,   5,   0,   0,   3, 
  1386       1,   0,  15, 128,   1,   0, 
  1387     228, 128,   0,   0,   0, 160, 
  1388       1,   0,   0,   2,   1,   8, 
  1389      15, 128,   1,   0, 228, 128, 
  1390       5,   0,   0,   3,   0,   0, 
  1391      15, 128,   0,   0, 228, 128, 
  1392       0,   0,   0, 160,   1,   0, 
  1393       0,   2,   0,   8,  15, 128, 
  1394       0,   0, 228, 128, 255, 255, 
  1395       0,   0,  83,  72,  68,  82, 
  1396      88,   1,   0,   0,  64,   0, 
  1397       0,   0,  86,   0,   0,   0, 
  1398      89,   0,   0,   4,  70, 142, 
  1399      32,   0,   0,   0,   0,   0, 
  1400       2,   0,   0,   0,  90,   0, 
  1401       0,   3,   0,  96,  16,   0, 
  1402       0,   0,   0,   0,  88,  24, 
  1403       0,   4,   0, 112,  16,   0, 
  1404       0,   0,   0,   0,  85,  85, 
  1405       0,   0,  88,  24,   0,   4, 
  1406       0, 112,  16,   0,   1,   0, 
  1407       0,   0,  85,  85,   0,   0, 
  1408      98,  16,   0,   3,  50,  16, 
  1409      16,   0,   1,   0,   0,   0, 
  1410     101,   0,   0,   3, 242,  32, 
  1411      16,   0,   0,   0,   0,   0, 
  1412     101,   0,   0,   3, 242,  32, 
  1413      16,   0,   1,   0,   0,   0, 
  1414     104,   0,   0,   2,   2,   0, 
  1415       0,   0,  69,   0,   0,   9, 
  1416     242,   0,  16,   0,   0,   0, 
  1417       0,   0,  70,  16,  16,   0, 
  1418       1,   0,   0,   0,  70, 126, 
  1419      16,   0,   1,   0,   0,   0, 
  1420       0,  96,  16,   0,   0,   0, 
  1421       0,   0,  69,   0,   0,   9, 
  1422     242,   0,  16,   0,   1,   0, 
  1423       0,   0,  70,  16,  16,   0, 
  1424       1,   0,   0,   0,  70, 126, 
  1425      16,   0,   0,   0,   0,   0, 
  1426       0,  96,  16,   0,   0,   0, 
  1427       0,   0,   0,   0,   0,   8, 
  1428     242,   0,  16,   0,   0,   0, 
  1429       0,   0,  70,  14,  16, 128, 
  1430      65,   0,   0,   0,   0,   0, 
  1431       0,   0,  70,  14,  16,   0, 
  1432       1,   0,   0,   0,   0,   0, 
  1433       0,  10, 242,   0,  16,   0, 
  1434       0,   0,   0,   0,  70,  14, 
  1435      16,   0,   0,   0,   0,   0, 
  1436       2,  64,   0,   0,   0,   0, 
  1437     128,  63,   0,   0, 128,  63, 
  1438       0,   0, 128,  63,   0,   0, 
  1439     128,  63,  54,   0,   0,   5, 
  1440     130,   0,  16,   0,   1,   0, 
  1441       0,   0,  26,   0,  16,   0, 
  1442       0,   0,   0,   0,  56,   0, 
  1443       0,   8, 242,  32,  16,   0, 
  1444       1,   0,   0,   0,  70,  14, 
  1445      16,   0,   0,   0,   0,   0, 
  1446       6, 128,  32,   0,   0,   0, 
  1447       0,   0,   1,   0,   0,   0, 
  1448      56,   0,   0,   8, 242,  32, 
  1449      16,   0,   0,   0,   0,   0, 
  1450      70,  14,  16,   0,   1,   0, 
  1451       0,   0,   6, 128,  32,   0, 
  1452       0,   0,   0,   0,   1,   0, 
  1453       0,   0,  62,   0,   0,   1, 
  1454      83,  84,  65,  84, 116,   0, 
  1455       0,   0,   8,   0,   0,   0, 
  1456       2,   0,   0,   0,   0,   0, 
  1457       0,   0,   3,   0,   0,   0, 
  1458       4,   0,   0,   0,   0,   0, 
  1459       0,   0,   0,   0,   0,   0, 
  1460       1,   0,   0,   0,   0,   0, 
  1461       0,   0,   0,   0,   0,   0, 
  1462       0,   0,   0,   0,   0,   0, 
  1463       0,   0,   0,   0,   0,   0, 
  1464       0,   0,   0,   0,   2,   0, 
  1465       0,   0,   0,   0,   0,   0, 
  1466       0,   0,   0,   0,   0,   0, 
  1467       0,   0,   0,   0,   0,   0, 
  1468       2,   0,   0,   0,   0,   0, 
  1469       0,   0,   0,   0,   0,   0, 
  1470       0,   0,   0,   0,   0,   0, 
  1471       0,   0,   0,   0,   0,   0, 
  1472       0,   0,   0,   0,   0,   0, 
  1473       0,   0,   0,   0,   0,   0, 
  1474       0,   0,   0,   0,  82,  68, 
  1475      69,  70, 124,   2,   0,   0, 
  1476       1,   0,   0,   0, 192,   0, 
  1477       0,   0,   4,   0,   0,   0, 
  1478      28,   0,   0,   0,   0,   4, 
  1479     255, 255,   0,   1,   0,   0, 
  1480      73,   2,   0,   0, 156,   0, 
  1481       0,   0,   3,   0,   0,   0, 
  1482       0,   0,   0,   0,   0,   0, 
  1483       0,   0,   0,   0,   0,   0, 
  1484       0,   0,   0,   0,   1,   0, 
  1485       0,   0,   1,   0,   0,   0, 
  1486     165,   0,   0,   0,   2,   0, 
  1487       0,   0,   5,   0,   0,   0, 
  1488       4,   0,   0,   0, 255, 255, 
  1489     255, 255,   0,   0,   0,   0, 
  1490       1,   0,   0,   0,  12,   0, 
  1491       0,   0, 170,   0,   0,   0, 
  1492       2,   0,   0,   0,   5,   0, 
  1493       0,   0,   4,   0,   0,   0, 
  1494     255, 255, 255, 255,   1,   0, 
  1495       0,   0,   1,   0,   0,   0, 
  1496      12,   0,   0,   0, 180,   0, 
  1497       0,   0,   0,   0,   0,   0, 
  1498       0,   0,   0,   0,   0,   0, 
  1499       0,   0,   0,   0,   0,   0, 
  1500       0,   0,   0,   0,   1,   0, 
  1501       0,   0,   0,   0,   0,   0, 
  1502     115,  83,  97, 109, 112, 108, 
  1503     101, 114,   0, 116,  82,  71, 
  1504      66,   0, 116,  82,  71,  66, 
  1505      87, 104, 105, 116, 101,   0, 
  1506      36,  71, 108, 111,  98,  97, 
  1507     108, 115,   0, 171, 171, 171, 
  1508     180,   0,   0,   0,   8,   0, 
  1509       0,   0, 216,   0,   0,   0, 
  1510     224,   0,   0,   0,   0,   0, 
  1511       0,   0,   0,   0,   0,   0, 
  1512     152,   1,   0,   0,   0,   0, 
  1513       0,   0,  16,   0,   0,   0, 
  1514       0,   0,   0,   0, 164,   1, 
  1515       0,   0,   0,   0,   0,   0, 
  1516     180,   1,   0,   0,  16,   0, 
  1517       0,   0,   4,   0,   0,   0, 
  1518       2,   0,   0,   0, 196,   1, 
  1519       0,   0,   0,   0,   0,   0, 
  1520     212,   1,   0,   0,  32,   0, 
  1521       0,   0,  64,   0,   0,   0, 
  1522       0,   0,   0,   0, 228,   1, 
  1523       0,   0,   0,   0,   0,   0, 
  1524     244,   1,   0,   0,  96,   0, 
  1525       0,   0,  64,   0,   0,   0, 
  1526       0,   0,   0,   0, 228,   1, 
  1527       0,   0,   0,   0,   0,   0, 
  1528       0,   2,   0,   0, 160,   0, 
  1529       0,   0,  16,   0,   0,   0, 
  1530       0,   0,   0,   0, 164,   1, 
  1531       0,   0,   0,   0,   0,   0, 
  1532      20,   2,   0,   0, 176,   0, 
  1533       0,   0,  16,   0,   0,   0, 
  1534       0,   0,   0,   0,  36,   2, 
  1535       0,   0,   0,   0,   0,   0, 
  1536      52,   2,   0,   0, 192,   0, 
  1537       0,   0,  16,   0,   0,   0, 
  1538       0,   0,   0,   0,  36,   2, 
  1539       0,   0,   0,   0,   0,   0, 
  1540      63,   2,   0,   0, 208,   0, 
  1541       0,   0,  16,   0,   0,   0, 
  1542       0,   0,   0,   0,  36,   2, 
  1543       0,   0,   0,   0,   0,   0, 
  1544     102,  76,  97, 121, 101, 114, 
  1545      67, 111, 108, 111, 114,   0, 
  1546       1,   0,   3,   0,   1,   0, 
  1547       4,   0,   0,   0,   0,   0, 
  1548       0,   0,   0,   0, 102,  76, 
  1549      97, 121, 101, 114,  79, 112, 
  1550      97,  99, 105, 116, 121,   0, 
  1551     171, 171,   0,   0,   3,   0, 
  1552       1,   0,   1,   0,   0,   0, 
  1553       0,   0,   0,   0,   0,   0, 
  1554     109,  76,  97, 121, 101, 114, 
  1555      84, 114,  97, 110, 115, 102, 
  1556     111, 114, 109,   0,   3,   0, 
  1557       3,   0,   4,   0,   4,   0, 
  1558       0,   0,   0,   0,   0,   0, 
  1559       0,   0, 109,  80, 114, 111, 
  1560     106, 101,  99, 116, 105, 111, 
  1561     110,   0, 118,  82, 101, 110, 
  1562     100, 101, 114,  84,  97, 114, 
  1563     103, 101, 116,  79, 102, 102, 
  1564     115, 101, 116,   0, 118,  84, 
  1565     101, 120, 116, 117, 114, 101, 
  1566      67, 111, 111, 114, 100, 115, 
  1567       0, 171,   1,   0,   3,   0, 
  1568       1,   0,   4,   0,   0,   0, 
  1569       0,   0,   0,   0,   0,   0, 
  1570     118,  76,  97, 121, 101, 114, 
  1571      81, 117,  97, 100,   0, 118, 
  1572      77,  97, 115, 107,  81, 117, 
  1573      97, 100,   0,  77, 105,  99, 
  1574     114, 111, 115, 111, 102, 116, 
  1575      32,  40,  82,  41,  32,  72, 
  1576      76,  83,  76,  32,  83, 104, 
  1577      97, 100, 101, 114,  32,  67, 
  1578     111, 109, 112, 105, 108, 101, 
  1579     114,  32,  57,  46,  50,  57, 
  1580      46,  57,  53,  50,  46,  51, 
  1581      49,  49,  49,   0, 171, 171, 
  1582      73,  83,  71,  78,  80,   0, 
  1583       0,   0,   2,   0,   0,   0, 
  1584       8,   0,   0,   0,  56,   0, 
  1585       0,   0,   0,   0,   0,   0, 
  1586       1,   0,   0,   0,   3,   0, 
  1587       0,   0,   0,   0,   0,   0, 
  1588      15,   0,   0,   0,  68,   0, 
  1589       0,   0,   0,   0,   0,   0, 
  1590       0,   0,   0,   0,   3,   0, 
  1591       0,   0,   1,   0,   0,   0, 
  1592       3,   3,   0,   0,  83,  86, 
  1593      95,  80, 111, 115, 105, 116, 
  1594     105, 111, 110,   0,  84,  69, 
  1595      88,  67,  79,  79,  82,  68, 
  1596       0, 171, 171, 171,  79,  83, 
  1597      71,  78,  68,   0,   0,   0, 
  1598       2,   0,   0,   0,   8,   0, 
  1599       0,   0,  56,   0,   0,   0, 
  1600       0,   0,   0,   0,   0,   0, 
  1601       0,   0,   3,   0,   0,   0, 
  1602       0,   0,   0,   0,  15,   0, 
  1603       0,   0,  56,   0,   0,   0, 
  1604       1,   0,   0,   0,   0,   0, 
  1605       0,   0,   3,   0,   0,   0, 
  1606       1,   0,   0,   0,  15,   0, 
  1607       0,   0,  83,  86,  95,  84, 
  1608      97, 114, 103, 101, 116,   0, 
  1609     171, 171
  1610 };
  1611 #if 0
  1612 //
  1613 // Generated by Microsoft (R) HLSL Shader Compiler 9.29.952.3111
  1614 //
  1615 //
  1616 //   fxc CompositorD3D11.fx -EYCbCrShader -Tps_4_0_level_9_3 -nologo
  1617 //    -FhtmpShaderHeader -VnYCbCrShader
  1618 //
  1619 //
  1620 // Buffer Definitions: 
  1621 //
  1622 // cbuffer $Globals
  1623 // {
  1624 //
  1625 //   float4 fLayerColor;                // Offset:    0 Size:    16 [unused]
  1626 //   float fLayerOpacity;               // Offset:   16 Size:     4
  1627 //   float4x4 mLayerTransform;          // Offset:   32 Size:    64 [unused]
  1628 //   float4x4 mProjection;              // Offset:   96 Size:    64 [unused]
  1629 //   float4 vRenderTargetOffset;        // Offset:  160 Size:    16 [unused]
  1630 //   float4 vTextureCoords;             // Offset:  176 Size:    16 [unused]
  1631 //   float4 vLayerQuad;                 // Offset:  192 Size:    16 [unused]
  1632 //   float4 vMaskQuad;                  // Offset:  208 Size:    16 [unused]
  1633 //
  1634 // }
  1635 //
  1636 //
  1637 // Resource Bindings:
  1638 //
  1639 // Name                                 Type  Format         Dim Slot Elements
  1640 // ------------------------------ ---------- ------- ----------- ---- --------
  1641 // sSampler                          sampler      NA          NA    0        1
  1642 // tY                                texture  float4          2d    0        1
  1643 // tCb                               texture  float4          2d    1        1
  1644 // tCr                               texture  float4          2d    2        1
  1645 // $Globals                          cbuffer      NA          NA    0        1
  1646 //
  1647 //
  1648 //
  1649 // Input signature:
  1650 //
  1651 // Name                 Index   Mask Register SysValue Format   Used
  1652 // -------------------- ----- ------ -------- -------- ------ ------
  1653 // SV_Position              0   xyzw        0      POS  float       
  1654 // TEXCOORD                 0   xy          1     NONE  float   xy  
  1655 //
  1656 //
  1657 // Output signature:
  1658 //
  1659 // Name                 Index   Mask Register SysValue Format   Used
  1660 // -------------------- ----- ------ -------- -------- ------ ------
  1661 // SV_Target                0   xyzw        0   TARGET  float   xyzw
  1662 //
  1663 //
  1664 // Constant buffer to DX9 shader constant mappings:
  1665 //
  1666 // Target Reg Buffer  Start Reg # of Regs        Data Conversion
  1667 // ---------- ------- --------- --------- ----------------------
  1668 // c0         cb0             1         1  ( FLT, FLT, FLT, FLT)
  1669 //
  1670 //
  1671 // Sampler/Resource to DX9 shader sampler mappings:
  1672 //
  1673 // Target Sampler Source Sampler  Source Resource
  1674 // -------------- --------------- ----------------
  1675 // s0             s0              t0               
  1676 // s1             s0              t1               
  1677 // s2             s0              t2               
  1678 //
  1679 //
  1680 // Level9 shader bytecode:
  1681 //
  1682     ps_2_x
  1683     def c1, -0.5, -0.0625, 1.59599996, 0.813000023
  1684     def c2, 1.16400003, 2.01799989, 0.391000003, 1
  1685     dcl t0.xy
  1686     dcl_2d s0
  1687     dcl_2d s1
  1688     dcl_2d s2
  1689     texld r0, t0, s0
  1690     texld r1, t0, s2
  1691     add r0.x, r1.w, c1.x
  1692     mul r0.xy, r0.x, c1.zwzw
  1693     add r0.z, r0.w, c1.y
  1694     mad r0.y, r0.z, c2.x, -r0.y
  1695     mad r1.x, r0.z, c2.x, r0.x
  1696     texld r2, t0, s1
  1697     add r0.x, r2.w, c1.x
  1698     mad r1.y, r0.x, -c2.z, r0.y
  1699     mul r0.x, r0.x, c2.y
  1700     mad r1.z, r0.z, c2.x, r0.x
  1701     mov r1.w, c2.w
  1702     mul r0, r1, c0.x
  1703     mov oC0, r0
  1705 // approximately 15 instruction slots used (3 texture, 12 arithmetic)
  1706 ps_4_0
  1707 dcl_constantbuffer cb0[2], immediateIndexed
  1708 dcl_sampler s0, mode_default
  1709 dcl_resource_texture2d (float,float,float,float) t0
  1710 dcl_resource_texture2d (float,float,float,float) t1
  1711 dcl_resource_texture2d (float,float,float,float) t2
  1712 dcl_input_ps linear v1.xy
  1713 dcl_output o0.xyzw
  1714 dcl_temps 3
  1715 sample r0.xyzw, v1.xyxx, t2.xyzw, s0
  1716 add r0.x, r0.w, l(-0.500000)
  1717 mul r0.xy, r0.xxxx, l(1.596000, 0.813000, 0.000000, 0.000000)
  1718 sample r1.xyzw, v1.xyxx, t0.xyzw, s0
  1719 add r0.z, r1.w, l(-0.062500)
  1720 mad r0.y, r0.z, l(1.164000), -r0.y
  1721 mad r1.x, r0.z, l(1.164000), r0.x
  1722 sample r2.xyzw, v1.xyxx, t1.xyzw, s0
  1723 add r0.x, r2.w, l(-0.500000)
  1724 mad r1.y, -r0.x, l(0.391000), r0.y
  1725 mul r0.x, r0.x, l(2.018000)
  1726 mad r1.z, r0.z, l(1.164000), r0.x
  1727 mov r1.w, l(1.000000)
  1728 mul o0.xyzw, r1.xyzw, cb0[1].xxxx
  1729 ret 
  1730 // Approximately 15 instruction slots used
  1731 #endif
  1733 const BYTE YCbCrShader[] =
  1735      68,  88,  66,  67, 235,  16, 
  1736     121, 249, 238, 190, 171,  40, 
  1737     106,   5,  31,  27, 153,  48, 
  1738     114,  96,   1,   0,   0,   0, 
  1739     212,   7,   0,   0,   6,   0, 
  1740       0,   0,  56,   0,   0,   0, 
  1741     220,   1,   0,   0,  44,   4, 
  1742       0,   0, 168,   4,   0,   0, 
  1743      72,   7,   0,   0, 160,   7, 
  1744       0,   0,  65, 111, 110,  57, 
  1745     156,   1,   0,   0, 156,   1, 
  1746       0,   0,   0,   2, 255, 255, 
  1747      96,   1,   0,   0,  60,   0, 
  1748       0,   0,   1,   0,  48,   0, 
  1749       0,   0,  60,   0,   0,   0, 
  1750      60,   0,   3,   0,  36,   0, 
  1751       0,   0,  60,   0,   0,   0, 
  1752       0,   0,   1,   0,   1,   0, 
  1753       2,   0,   2,   0,   0,   0, 
  1754       1,   0,   1,   0,   0,   0, 
  1755       0,   0,   0,   0,   1,   2, 
  1756     255, 255,  81,   0,   0,   5, 
  1757       1,   0,  15, 160,   0,   0, 
  1758       0, 191,   0,   0, 128, 189, 
  1759     186,  73, 204,  63, 197,  32, 
  1760      80,  63,  81,   0,   0,   5, 
  1761       2,   0,  15, 160, 244, 253, 
  1762     148,  63, 233,  38,   1,  64, 
  1763      39,  49, 200,  62,   0,   0, 
  1764     128,  63,  31,   0,   0,   2, 
  1765       0,   0,   0, 128,   0,   0, 
  1766       3, 176,  31,   0,   0,   2, 
  1767       0,   0,   0, 144,   0,   8, 
  1768      15, 160,  31,   0,   0,   2, 
  1769       0,   0,   0, 144,   1,   8, 
  1770      15, 160,  31,   0,   0,   2, 
  1771       0,   0,   0, 144,   2,   8, 
  1772      15, 160,  66,   0,   0,   3, 
  1773       0,   0,  15, 128,   0,   0, 
  1774     228, 176,   0,   8, 228, 160, 
  1775      66,   0,   0,   3,   1,   0, 
  1776      15, 128,   0,   0, 228, 176, 
  1777       2,   8, 228, 160,   2,   0, 
  1778       0,   3,   0,   0,   1, 128, 
  1779       1,   0, 255, 128,   1,   0, 
  1780       0, 160,   5,   0,   0,   3, 
  1781       0,   0,   3, 128,   0,   0, 
  1782       0, 128,   1,   0, 238, 160, 
  1783       2,   0,   0,   3,   0,   0, 
  1784       4, 128,   0,   0, 255, 128, 
  1785       1,   0,  85, 160,   4,   0, 
  1786       0,   4,   0,   0,   2, 128, 
  1787       0,   0, 170, 128,   2,   0, 
  1788       0, 160,   0,   0,  85, 129, 
  1789       4,   0,   0,   4,   1,   0, 
  1790       1, 128,   0,   0, 170, 128, 
  1791       2,   0,   0, 160,   0,   0, 
  1792       0, 128,  66,   0,   0,   3, 
  1793       2,   0,  15, 128,   0,   0, 
  1794     228, 176,   1,   8, 228, 160, 
  1795       2,   0,   0,   3,   0,   0, 
  1796       1, 128,   2,   0, 255, 128, 
  1797       1,   0,   0, 160,   4,   0, 
  1798       0,   4,   1,   0,   2, 128, 
  1799       0,   0,   0, 128,   2,   0, 
  1800     170, 161,   0,   0,  85, 128, 
  1801       5,   0,   0,   3,   0,   0, 
  1802       1, 128,   0,   0,   0, 128, 
  1803       2,   0,  85, 160,   4,   0, 
  1804       0,   4,   1,   0,   4, 128, 
  1805       0,   0, 170, 128,   2,   0, 
  1806       0, 160,   0,   0,   0, 128, 
  1807       1,   0,   0,   2,   1,   0, 
  1808       8, 128,   2,   0, 255, 160, 
  1809       5,   0,   0,   3,   0,   0, 
  1810      15, 128,   1,   0, 228, 128, 
  1811       0,   0,   0, 160,   1,   0, 
  1812       0,   2,   0,   8,  15, 128, 
  1813       0,   0, 228, 128, 255, 255, 
  1814       0,   0,  83,  72,  68,  82, 
  1815      72,   2,   0,   0,  64,   0, 
  1816       0,   0, 146,   0,   0,   0, 
  1817      89,   0,   0,   4,  70, 142, 
  1818      32,   0,   0,   0,   0,   0, 
  1819       2,   0,   0,   0,  90,   0, 
  1820       0,   3,   0,  96,  16,   0, 
  1821       0,   0,   0,   0,  88,  24, 
  1822       0,   4,   0, 112,  16,   0, 
  1823       0,   0,   0,   0,  85,  85, 
  1824       0,   0,  88,  24,   0,   4, 
  1825       0, 112,  16,   0,   1,   0, 
  1826       0,   0,  85,  85,   0,   0, 
  1827      88,  24,   0,   4,   0, 112, 
  1828      16,   0,   2,   0,   0,   0, 
  1829      85,  85,   0,   0,  98,  16, 
  1830       0,   3,  50,  16,  16,   0, 
  1831       1,   0,   0,   0, 101,   0, 
  1832       0,   3, 242,  32,  16,   0, 
  1833       0,   0,   0,   0, 104,   0, 
  1834       0,   2,   3,   0,   0,   0, 
  1835      69,   0,   0,   9, 242,   0, 
  1836      16,   0,   0,   0,   0,   0, 
  1837      70,  16,  16,   0,   1,   0, 
  1838       0,   0,  70, 126,  16,   0, 
  1839       2,   0,   0,   0,   0,  96, 
  1840      16,   0,   0,   0,   0,   0, 
  1841       0,   0,   0,   7,  18,   0, 
  1842      16,   0,   0,   0,   0,   0, 
  1843      58,   0,  16,   0,   0,   0, 
  1844       0,   0,   1,  64,   0,   0, 
  1845       0,   0,   0, 191,  56,   0, 
  1846       0,  10,  50,   0,  16,   0, 
  1847       0,   0,   0,   0,   6,   0, 
  1848      16,   0,   0,   0,   0,   0, 
  1849       2,  64,   0,   0, 186,  73, 
  1850     204,  63, 197,  32,  80,  63, 
  1851       0,   0,   0,   0,   0,   0, 
  1852       0,   0,  69,   0,   0,   9, 
  1853     242,   0,  16,   0,   1,   0, 
  1854       0,   0,  70,  16,  16,   0, 
  1855       1,   0,   0,   0,  70, 126, 
  1856      16,   0,   0,   0,   0,   0, 
  1857       0,  96,  16,   0,   0,   0, 
  1858       0,   0,   0,   0,   0,   7, 
  1859      66,   0,  16,   0,   0,   0, 
  1860       0,   0,  58,   0,  16,   0, 
  1861       1,   0,   0,   0,   1,  64, 
  1862       0,   0,   0,   0, 128, 189, 
  1863      50,   0,   0,  10,  34,   0, 
  1864      16,   0,   0,   0,   0,   0, 
  1865      42,   0,  16,   0,   0,   0, 
  1866       0,   0,   1,  64,   0,   0, 
  1867     244, 253, 148,  63,  26,   0, 
  1868      16, 128,  65,   0,   0,   0, 
  1869       0,   0,   0,   0,  50,   0, 
  1870       0,   9,  18,   0,  16,   0, 
  1871       1,   0,   0,   0,  42,   0, 
  1872      16,   0,   0,   0,   0,   0, 
  1873       1,  64,   0,   0, 244, 253, 
  1874     148,  63,  10,   0,  16,   0, 
  1875       0,   0,   0,   0,  69,   0, 
  1876       0,   9, 242,   0,  16,   0, 
  1877       2,   0,   0,   0,  70,  16, 
  1878      16,   0,   1,   0,   0,   0, 
  1879      70, 126,  16,   0,   1,   0, 
  1880       0,   0,   0,  96,  16,   0, 
  1881       0,   0,   0,   0,   0,   0, 
  1882       0,   7,  18,   0,  16,   0, 
  1883       0,   0,   0,   0,  58,   0, 
  1884      16,   0,   2,   0,   0,   0, 
  1885       1,  64,   0,   0,   0,   0, 
  1886       0, 191,  50,   0,   0,  10, 
  1887      34,   0,  16,   0,   1,   0, 
  1888       0,   0,  10,   0,  16, 128, 
  1889      65,   0,   0,   0,   0,   0, 
  1890       0,   0,   1,  64,   0,   0, 
  1891      39,  49, 200,  62,  26,   0, 
  1892      16,   0,   0,   0,   0,   0, 
  1893      56,   0,   0,   7,  18,   0, 
  1894      16,   0,   0,   0,   0,   0, 
  1895      10,   0,  16,   0,   0,   0, 
  1896       0,   0,   1,  64,   0,   0, 
  1897     233,  38,   1,  64,  50,   0, 
  1898       0,   9,  66,   0,  16,   0, 
  1899       1,   0,   0,   0,  42,   0, 
  1900      16,   0,   0,   0,   0,   0, 
  1901       1,  64,   0,   0, 244, 253, 
  1902     148,  63,  10,   0,  16,   0, 
  1903       0,   0,   0,   0,  54,   0, 
  1904       0,   5, 130,   0,  16,   0, 
  1905       1,   0,   0,   0,   1,  64, 
  1906       0,   0,   0,   0, 128,  63, 
  1907      56,   0,   0,   8, 242,  32, 
  1908      16,   0,   0,   0,   0,   0, 
  1909      70,  14,  16,   0,   1,   0, 
  1910       0,   0,   6, 128,  32,   0, 
  1911       0,   0,   0,   0,   1,   0, 
  1912       0,   0,  62,   0,   0,   1, 
  1913      83,  84,  65,  84, 116,   0, 
  1914       0,   0,  15,   0,   0,   0, 
  1915       3,   0,   0,   0,   0,   0, 
  1916       0,   0,   2,   0,   0,   0, 
  1917       6,   0,   0,   0,   0,   0, 
  1918       0,   0,   0,   0,   0,   0, 
  1919       1,   0,   0,   0,   0,   0, 
  1920       0,   0,   0,   0,   0,   0, 
  1921       0,   0,   0,   0,   0,   0, 
  1922       0,   0,   0,   0,   0,   0, 
  1923       0,   0,   0,   0,   3,   0, 
  1924       0,   0,   0,   0,   0,   0, 
  1925       0,   0,   0,   0,   0,   0, 
  1926       0,   0,   0,   0,   0,   0, 
  1927       1,   0,   0,   0,   0,   0, 
  1928       0,   0,   0,   0,   0,   0, 
  1929       0,   0,   0,   0,   0,   0, 
  1930       0,   0,   0,   0,   0,   0, 
  1931       0,   0,   0,   0,   0,   0, 
  1932       0,   0,   0,   0,   0,   0, 
  1933       0,   0,   0,   0,  82,  68, 
  1934      69,  70, 152,   2,   0,   0, 
  1935       1,   0,   0,   0, 220,   0, 
  1936       0,   0,   5,   0,   0,   0, 
  1937      28,   0,   0,   0,   0,   4, 
  1938     255, 255,   0,   1,   0,   0, 
  1939     101,   2,   0,   0, 188,   0, 
  1940       0,   0,   3,   0,   0,   0, 
  1941       0,   0,   0,   0,   0,   0, 
  1942       0,   0,   0,   0,   0,   0, 
  1943       0,   0,   0,   0,   1,   0, 
  1944       0,   0,   1,   0,   0,   0, 
  1945     197,   0,   0,   0,   2,   0, 
  1946       0,   0,   5,   0,   0,   0, 
  1947       4,   0,   0,   0, 255, 255, 
  1948     255, 255,   0,   0,   0,   0, 
  1949       1,   0,   0,   0,  12,   0, 
  1950       0,   0, 200,   0,   0,   0, 
  1951       2,   0,   0,   0,   5,   0, 
  1952       0,   0,   4,   0,   0,   0, 
  1953     255, 255, 255, 255,   1,   0, 
  1954       0,   0,   1,   0,   0,   0, 
  1955      12,   0,   0,   0, 204,   0, 
  1956       0,   0,   2,   0,   0,   0, 
  1957       5,   0,   0,   0,   4,   0, 
  1958       0,   0, 255, 255, 255, 255, 
  1959       2,   0,   0,   0,   1,   0, 
  1960       0,   0,  12,   0,   0,   0, 
  1961     208,   0,   0,   0,   0,   0, 
  1962       0,   0,   0,   0,   0,   0, 
  1963       0,   0,   0,   0,   0,   0, 
  1964       0,   0,   0,   0,   0,   0, 
  1965       1,   0,   0,   0,   0,   0, 
  1966       0,   0, 115,  83,  97, 109, 
  1967     112, 108, 101, 114,   0, 116, 
  1968      89,   0, 116,  67,  98,   0, 
  1969     116,  67, 114,   0,  36,  71, 
  1970     108, 111,  98,  97, 108, 115, 
  1971       0, 171, 171, 171, 208,   0, 
  1972       0,   0,   8,   0,   0,   0, 
  1973     244,   0,   0,   0, 224,   0, 
  1974       0,   0,   0,   0,   0,   0, 
  1975       0,   0,   0,   0, 180,   1, 
  1976       0,   0,   0,   0,   0,   0, 
  1977      16,   0,   0,   0,   0,   0, 
  1978       0,   0, 192,   1,   0,   0, 
  1979       0,   0,   0,   0, 208,   1, 
  1980       0,   0,  16,   0,   0,   0, 
  1981       4,   0,   0,   0,   2,   0, 
  1982       0,   0, 224,   1,   0,   0, 
  1983       0,   0,   0,   0, 240,   1, 
  1984       0,   0,  32,   0,   0,   0, 
  1985      64,   0,   0,   0,   0,   0, 
  1986       0,   0,   0,   2,   0,   0, 
  1987       0,   0,   0,   0,  16,   2, 
  1988       0,   0,  96,   0,   0,   0, 
  1989      64,   0,   0,   0,   0,   0, 
  1990       0,   0,   0,   2,   0,   0, 
  1991       0,   0,   0,   0,  28,   2, 
  1992       0,   0, 160,   0,   0,   0, 
  1993      16,   0,   0,   0,   0,   0, 
  1994       0,   0, 192,   1,   0,   0, 
  1995       0,   0,   0,   0,  48,   2, 
  1996       0,   0, 176,   0,   0,   0, 
  1997      16,   0,   0,   0,   0,   0, 
  1998       0,   0,  64,   2,   0,   0, 
  1999       0,   0,   0,   0,  80,   2, 
  2000       0,   0, 192,   0,   0,   0, 
  2001      16,   0,   0,   0,   0,   0, 
  2002       0,   0,  64,   2,   0,   0, 
  2003       0,   0,   0,   0,  91,   2, 
  2004       0,   0, 208,   0,   0,   0, 
  2005      16,   0,   0,   0,   0,   0, 
  2006       0,   0,  64,   2,   0,   0, 
  2007       0,   0,   0,   0, 102,  76, 
  2008      97, 121, 101, 114,  67, 111, 
  2009     108, 111, 114,   0,   1,   0, 
  2010       3,   0,   1,   0,   4,   0, 
  2011       0,   0,   0,   0,   0,   0, 
  2012       0,   0, 102,  76,  97, 121, 
  2013     101, 114,  79, 112,  97,  99, 
  2014     105, 116, 121,   0, 171, 171, 
  2015       0,   0,   3,   0,   1,   0, 
  2016       1,   0,   0,   0,   0,   0, 
  2017       0,   0,   0,   0, 109,  76, 
  2018      97, 121, 101, 114,  84, 114, 
  2019      97, 110, 115, 102, 111, 114, 
  2020     109,   0,   3,   0,   3,   0, 
  2021       4,   0,   4,   0,   0,   0, 
  2022       0,   0,   0,   0,   0,   0, 
  2023     109,  80, 114, 111, 106, 101, 
  2024      99, 116, 105, 111, 110,   0, 
  2025     118,  82, 101, 110, 100, 101, 
  2026     114,  84,  97, 114, 103, 101, 
  2027     116,  79, 102, 102, 115, 101, 
  2028     116,   0, 118,  84, 101, 120, 
  2029     116, 117, 114, 101,  67, 111, 
  2030     111, 114, 100, 115,   0, 171, 
  2031       1,   0,   3,   0,   1,   0, 
  2032       4,   0,   0,   0,   0,   0, 
  2033       0,   0,   0,   0, 118,  76, 
  2034      97, 121, 101, 114,  81, 117, 
  2035      97, 100,   0, 118,  77,  97, 
  2036     115, 107,  81, 117,  97, 100, 
  2037       0,  77, 105,  99, 114, 111, 
  2038     115, 111, 102, 116,  32,  40, 
  2039      82,  41,  32,  72,  76,  83, 
  2040      76,  32,  83, 104,  97, 100, 
  2041     101, 114,  32,  67, 111, 109, 
  2042     112, 105, 108, 101, 114,  32, 
  2043      57,  46,  50,  57,  46,  57, 
  2044      53,  50,  46,  51,  49,  49, 
  2045      49,   0, 171, 171,  73,  83, 
  2046      71,  78,  80,   0,   0,   0, 
  2047       2,   0,   0,   0,   8,   0, 
  2048       0,   0,  56,   0,   0,   0, 
  2049       0,   0,   0,   0,   1,   0, 
  2050       0,   0,   3,   0,   0,   0, 
  2051       0,   0,   0,   0,  15,   0, 
  2052       0,   0,  68,   0,   0,   0, 
  2053       0,   0,   0,   0,   0,   0, 
  2054       0,   0,   3,   0,   0,   0, 
  2055       1,   0,   0,   0,   3,   3, 
  2056       0,   0,  83,  86,  95,  80, 
  2057     111, 115, 105, 116, 105, 111, 
  2058     110,   0,  84,  69,  88,  67, 
  2059      79,  79,  82,  68,   0, 171, 
  2060     171, 171,  79,  83,  71,  78, 
  2061      44,   0,   0,   0,   1,   0, 
  2062       0,   0,   8,   0,   0,   0, 
  2063      32,   0,   0,   0,   0,   0, 
  2064       0,   0,   0,   0,   0,   0, 
  2065       3,   0,   0,   0,   0,   0, 
  2066       0,   0,  15,   0,   0,   0, 
  2067      83,  86,  95,  84,  97, 114, 
  2068     103, 101, 116,   0, 171, 171
  2069 };
  2070 #if 0
  2071 //
  2072 // Generated by Microsoft (R) HLSL Shader Compiler 9.29.952.3111
  2073 //
  2074 //
  2075 //   fxc CompositorD3D11.fx -ELayerQuadMaskVS -nologo -Tvs_4_0_level_9_3
  2076 //    -FhtmpShaderHeader -VnLayerQuadMaskVS
  2077 //
  2078 //
  2079 // Buffer Definitions: 
  2080 //
  2081 // cbuffer $Globals
  2082 // {
  2083 //
  2084 //   float4x4 mLayerTransform;          // Offset:    0 Size:    64
  2085 //   float4x4 mProjection;              // Offset:   64 Size:    64
  2086 //   float4 vRenderTargetOffset;        // Offset:  128 Size:    16
  2087 //   float4 vTextureCoords;             // Offset:  144 Size:    16
  2088 //   float4 vLayerQuad;                 // Offset:  160 Size:    16
  2089 //   float4 vMaskQuad;                  // Offset:  176 Size:    16
  2090 //   float4 fLayerColor;                // Offset:  192 Size:    16 [unused]
  2091 //   float fLayerOpacity;               // Offset:  208 Size:     4 [unused]
  2092 //
  2093 // }
  2094 //
  2095 //
  2096 // Resource Bindings:
  2097 //
  2098 // Name                                 Type  Format         Dim Slot Elements
  2099 // ------------------------------ ---------- ------- ----------- ---- --------
  2100 // $Globals                          cbuffer      NA          NA    0        1
  2101 //
  2102 //
  2103 //
  2104 // Input signature:
  2105 //
  2106 // Name                 Index   Mask Register SysValue Format   Used
  2107 // -------------------- ----- ------ -------- -------- ------ ------
  2108 // POSITION                 0   xy          0     NONE  float   xy  
  2109 //
  2110 //
  2111 // Output signature:
  2112 //
  2113 // Name                 Index   Mask Register SysValue Format   Used
  2114 // -------------------- ----- ------ -------- -------- ------ ------
  2115 // SV_Position              0   xyzw        0      POS  float   xyzw
  2116 // TEXCOORD                 0   xy          1     NONE  float   xy  
  2117 // TEXCOORD                 1     zw        1     NONE  float     zw
  2118 //
  2119 //
  2120 // Constant buffer to DX9 shader constant mappings:
  2121 //
  2122 // Target Reg Buffer  Start Reg # of Regs        Data Conversion
  2123 // ---------- ------- --------- --------- ----------------------
  2124 // c1         cb0             0         2  ( FLT, FLT, FLT, FLT)
  2125 // c3         cb0             3         9  ( FLT, FLT, FLT, FLT)
  2126 //
  2127 //
  2128 // Runtime generated constant mappings:
  2129 //
  2130 // Target Reg                               Constant Description
  2131 // ---------- --------------------------------------------------
  2132 // c0                              Vertex Shader position offset
  2133 //
  2134 //
  2135 // Level9 shader bytecode:
  2136 //
  2137     vs_2_x
  2138     dcl_texcoord v0
  2139     rcp r0.x, c11.z
  2140     mad r0.yz, v0.xxyw, c10.xzww, c10.xxyw
  2141     mul r1, r0.z, c2
  2142     mad r1, c1, r0.y, r1
  2143     add r1, r1, c3
  2144     add r0.yz, r1.xxyw, -c11.xxyw
  2145     mul oT0.w, r0.x, r0.y
  2146     rcp r0.x, c11.w
  2147     mul oT0.z, r0.x, r0.z
  2148     mad oT0.xy, v0, c9.zwzw, c9
  2149     rcp r0.x, r1.w
  2150     mul r1.xyz, r0.x, r1
  2151     add r0, r1, -c8
  2152     mul r0.xyz, r0.w, r0
  2153     mul r1, r0.y, c5
  2154     mad r1, c4, r0.x, r1
  2155     mad r1, c6, r0.z, r1
  2156     mad r0, c7, r0.w, r1
  2157     mad oPos.xy, r0.w, c0, r0
  2158     mov oPos.zw, r0
  2160 // approximately 20 instruction slots used
  2161 vs_4_0
  2162 dcl_constantbuffer cb0[12], immediateIndexed
  2163 dcl_input v0.xy
  2164 dcl_output_siv o0.xyzw, position
  2165 dcl_output o1.xy
  2166 dcl_output o1.zw
  2167 dcl_temps 2
  2168 mad r0.xy, v0.xyxx, cb0[10].zwzz, cb0[10].xyxx
  2169 mul r1.xyzw, r0.yyyy, cb0[1].xyzw
  2170 mad r0.xyzw, cb0[0].xyzw, r0.xxxx, r1.xyzw
  2171 add r0.xyzw, r0.xyzw, cb0[3].xyzw
  2172 div r1.xyz, r0.xyzx, r0.wwww
  2173 mov r1.w, r0.w
  2174 add r0.xy, r0.xyxx, -cb0[11].xyxx
  2175 div o1.zw, r0.xxxy, cb0[11].zzzw
  2176 add r0.xyzw, r1.xyzw, -cb0[8].xyzw
  2177 mul r0.xyz, r0.wwww, r0.xyzx
  2178 mul r1.xyzw, r0.yyyy, cb0[5].xyzw
  2179 mad r1.xyzw, cb0[4].xyzw, r0.xxxx, r1.xyzw
  2180 mad r1.xyzw, cb0[6].xyzw, r0.zzzz, r1.xyzw
  2181 mad o0.xyzw, cb0[7].xyzw, r0.wwww, r1.xyzw
  2182 mad o1.xy, v0.xyxx, cb0[9].zwzz, cb0[9].xyxx
  2183 ret 
  2184 // Approximately 16 instruction slots used
  2185 #endif
  2187 const BYTE LayerQuadMaskVS[] =
  2189      68,  88,  66,  67,  15, 196, 
  2190     252, 199, 211, 188,  92,  26, 
  2191      46, 113, 249,  29, 135, 110, 
  2192      83, 119,   1,   0,   0,   0, 
  2193     120,   7,   0,   0,   6,   0, 
  2194       0,   0,  56,   0,   0,   0, 
  2195     224,   1,   0,   0,  76,   4, 
  2196       0,   0, 200,   4,   0,   0, 
  2197     212,   6,   0,   0,   8,   7, 
  2198       0,   0,  65, 111, 110,  57, 
  2199     160,   1,   0,   0, 160,   1, 
  2200       0,   0,   0,   2, 254, 255, 
  2201      96,   1,   0,   0,  64,   0, 
  2202       0,   0,   2,   0,  36,   0, 
  2203       0,   0,  60,   0,   0,   0, 
  2204      60,   0,   0,   0,  36,   0, 
  2205       1,   0,  60,   0,   0,   0, 
  2206       0,   0,   2,   0,   1,   0, 
  2207       0,   0,   0,   0,   0,   0, 
  2208       3,   0,   9,   0,   3,   0, 
  2209       0,   0,   0,   0,   0,   0, 
  2210       0,   0,   1,   2, 254, 255, 
  2211      31,   0,   0,   2,   5,   0, 
  2212       0, 128,   0,   0,  15, 144, 
  2213       6,   0,   0,   2,   0,   0, 
  2214       1, 128,  11,   0, 170, 160, 
  2215       4,   0,   0,   4,   0,   0, 
  2216       6, 128,   0,   0, 208, 144, 
  2217      10,   0, 248, 160,  10,   0, 
  2218     208, 160,   5,   0,   0,   3, 
  2219       1,   0,  15, 128,   0,   0, 
  2220     170, 128,   2,   0, 228, 160, 
  2221       4,   0,   0,   4,   1,   0, 
  2222      15, 128,   1,   0, 228, 160, 
  2223       0,   0,  85, 128,   1,   0, 
  2224     228, 128,   2,   0,   0,   3, 
  2225       1,   0,  15, 128,   1,   0, 
  2226     228, 128,   3,   0, 228, 160, 
  2227       2,   0,   0,   3,   0,   0, 
  2228       6, 128,   1,   0, 208, 128, 
  2229      11,   0, 208, 161,   5,   0, 
  2230       0,   3,   0,   0,   8, 224, 
  2231       0,   0,   0, 128,   0,   0, 
  2232      85, 128,   6,   0,   0,   2, 
  2233       0,   0,   1, 128,  11,   0, 
  2234     255, 160,   5,   0,   0,   3, 
  2235       0,   0,   4, 224,   0,   0, 
  2236       0, 128,   0,   0, 170, 128, 
  2237       4,   0,   0,   4,   0,   0, 
  2238       3, 224,   0,   0, 228, 144, 
  2239       9,   0, 238, 160,   9,   0, 
  2240     228, 160,   6,   0,   0,   2, 
  2241       0,   0,   1, 128,   1,   0, 
  2242     255, 128,   5,   0,   0,   3, 
  2243       1,   0,   7, 128,   0,   0, 
  2244       0, 128,   1,   0, 228, 128, 
  2245       2,   0,   0,   3,   0,   0, 
  2246      15, 128,   1,   0, 228, 128, 
  2247       8,   0, 228, 161,   5,   0, 
  2248       0,   3,   0,   0,   7, 128, 
  2249       0,   0, 255, 128,   0,   0, 
  2250     228, 128,   5,   0,   0,   3, 
  2251       1,   0,  15, 128,   0,   0, 
  2252      85, 128,   5,   0, 228, 160, 
  2253       4,   0,   0,   4,   1,   0, 
  2254      15, 128,   4,   0, 228, 160, 
  2255       0,   0,   0, 128,   1,   0, 
  2256     228, 128,   4,   0,   0,   4, 
  2257       1,   0,  15, 128,   6,   0, 
  2258     228, 160,   0,   0, 170, 128, 
  2259       1,   0, 228, 128,   4,   0, 
  2260       0,   4,   0,   0,  15, 128, 
  2261       7,   0, 228, 160,   0,   0, 
  2262     255, 128,   1,   0, 228, 128, 
  2263       4,   0,   0,   4,   0,   0, 
  2264       3, 192,   0,   0, 255, 128, 
  2265       0,   0, 228, 160,   0,   0, 
  2266     228, 128,   1,   0,   0,   2, 
  2267       0,   0,  12, 192,   0,   0, 
  2268     228, 128, 255, 255,   0,   0, 
  2269      83,  72,  68,  82, 100,   2, 
  2270       0,   0,  64,   0,   1,   0, 
  2271     153,   0,   0,   0,  89,   0, 
  2272       0,   4,  70, 142,  32,   0, 
  2273       0,   0,   0,   0,  12,   0, 
  2274       0,   0,  95,   0,   0,   3, 
  2275      50,  16,  16,   0,   0,   0, 
  2276       0,   0, 103,   0,   0,   4, 
  2277     242,  32,  16,   0,   0,   0, 
  2278       0,   0,   1,   0,   0,   0, 
  2279     101,   0,   0,   3,  50,  32, 
  2280      16,   0,   1,   0,   0,   0, 
  2281     101,   0,   0,   3, 194,  32, 
  2282      16,   0,   1,   0,   0,   0, 
  2283     104,   0,   0,   2,   2,   0, 
  2284       0,   0,  50,   0,   0,  11, 
  2285      50,   0,  16,   0,   0,   0, 
  2286       0,   0,  70,  16,  16,   0, 
  2287       0,   0,   0,   0, 230, 138, 
  2288      32,   0,   0,   0,   0,   0, 
  2289      10,   0,   0,   0,  70, 128, 
  2290      32,   0,   0,   0,   0,   0, 
  2291      10,   0,   0,   0,  56,   0, 
  2292       0,   8, 242,   0,  16,   0, 
  2293       1,   0,   0,   0,  86,   5, 
  2294      16,   0,   0,   0,   0,   0, 
  2295      70, 142,  32,   0,   0,   0, 
  2296       0,   0,   1,   0,   0,   0, 
  2297      50,   0,   0,  10, 242,   0, 
  2298      16,   0,   0,   0,   0,   0, 
  2299      70, 142,  32,   0,   0,   0, 
  2300       0,   0,   0,   0,   0,   0, 
  2301       6,   0,  16,   0,   0,   0, 
  2302       0,   0,  70,  14,  16,   0, 
  2303       1,   0,   0,   0,   0,   0, 
  2304       0,   8, 242,   0,  16,   0, 
  2305       0,   0,   0,   0,  70,  14, 
  2306      16,   0,   0,   0,   0,   0, 
  2307      70, 142,  32,   0,   0,   0, 
  2308       0,   0,   3,   0,   0,   0, 
  2309      14,   0,   0,   7, 114,   0, 
  2310      16,   0,   1,   0,   0,   0, 
  2311      70,   2,  16,   0,   0,   0, 
  2312       0,   0, 246,  15,  16,   0, 
  2313       0,   0,   0,   0,  54,   0, 
  2314       0,   5, 130,   0,  16,   0, 
  2315       1,   0,   0,   0,  58,   0, 
  2316      16,   0,   0,   0,   0,   0, 
  2317       0,   0,   0,   9,  50,   0, 
  2318      16,   0,   0,   0,   0,   0, 
  2319      70,   0,  16,   0,   0,   0, 
  2320       0,   0,  70, 128,  32, 128, 
  2321      65,   0,   0,   0,   0,   0, 
  2322       0,   0,  11,   0,   0,   0, 
  2323      14,   0,   0,   8, 194,  32, 
  2324      16,   0,   1,   0,   0,   0, 
  2325       6,   4,  16,   0,   0,   0, 
  2326       0,   0, 166, 142,  32,   0, 
  2327       0,   0,   0,   0,  11,   0, 
  2328       0,   0,   0,   0,   0,   9, 
  2329     242,   0,  16,   0,   0,   0, 
  2330       0,   0,  70,  14,  16,   0, 
  2331       1,   0,   0,   0,  70, 142, 
  2332      32, 128,  65,   0,   0,   0, 
  2333       0,   0,   0,   0,   8,   0, 
  2334       0,   0,  56,   0,   0,   7, 
  2335     114,   0,  16,   0,   0,   0, 
  2336       0,   0, 246,  15,  16,   0, 
  2337       0,   0,   0,   0,  70,   2, 
  2338      16,   0,   0,   0,   0,   0, 
  2339      56,   0,   0,   8, 242,   0, 
  2340      16,   0,   1,   0,   0,   0, 
  2341      86,   5,  16,   0,   0,   0, 
  2342       0,   0,  70, 142,  32,   0, 
  2343       0,   0,   0,   0,   5,   0, 
  2344       0,   0,  50,   0,   0,  10, 
  2345     242,   0,  16,   0,   1,   0, 
  2346       0,   0,  70, 142,  32,   0, 
  2347       0,   0,   0,   0,   4,   0, 
  2348       0,   0,   6,   0,  16,   0, 
  2349       0,   0,   0,   0,  70,  14, 
  2350      16,   0,   1,   0,   0,   0, 
  2351      50,   0,   0,  10, 242,   0, 
  2352      16,   0,   1,   0,   0,   0, 
  2353      70, 142,  32,   0,   0,   0, 
  2354       0,   0,   6,   0,   0,   0, 
  2355     166,  10,  16,   0,   0,   0, 
  2356       0,   0,  70,  14,  16,   0, 
  2357       1,   0,   0,   0,  50,   0, 
  2358       0,  10, 242,  32,  16,   0, 
  2359       0,   0,   0,   0,  70, 142, 
  2360      32,   0,   0,   0,   0,   0, 
  2361       7,   0,   0,   0, 246,  15, 
  2362      16,   0,   0,   0,   0,   0, 
  2363      70,  14,  16,   0,   1,   0, 
  2364       0,   0,  50,   0,   0,  11, 
  2365      50,  32,  16,   0,   1,   0, 
  2366       0,   0,  70,  16,  16,   0, 
  2367       0,   0,   0,   0, 230, 138, 
  2368      32,   0,   0,   0,   0,   0, 
  2369       9,   0,   0,   0,  70, 128, 
  2370      32,   0,   0,   0,   0,   0, 
  2371       9,   0,   0,   0,  62,   0, 
  2372       0,   1,  83,  84,  65,  84, 
  2373     116,   0,   0,   0,  16,   0, 
  2374       0,   0,   2,   0,   0,   0, 
  2375       0,   0,   0,   0,   4,   0, 
  2376       0,   0,   8,   0,   0,   0, 
  2377       0,   0,   0,   0,   0,   0, 
  2378       0,   0,   1,   0,   0,   0, 
  2379       0,   0,   0,   0,   0,   0, 
  2380       0,   0,   0,   0,   0,   0, 
  2381       0,   0,   0,   0,   0,   0, 
  2382       0,   0,   0,   0,   0,   0, 
  2383       0,   0,   0,   0,   0,   0, 
  2384       0,   0,   0,   0,   0,   0, 
  2385       0,   0,   0,   0,   0,   0, 
  2386       0,   0,   1,   0,   0,   0, 
  2387       0,   0,   0,   0,   0,   0, 
  2388       0,   0,   0,   0,   0,   0, 
  2389       0,   0,   0,   0,   0,   0, 
  2390       0,   0,   0,   0,   0,   0, 
  2391       0,   0,   0,   0,   0,   0, 
  2392       0,   0,   0,   0,   0,   0, 
  2393      82,  68,  69,  70,   4,   2, 
  2394       0,   0,   1,   0,   0,   0, 
  2395      72,   0,   0,   0,   1,   0, 
  2396       0,   0,  28,   0,   0,   0, 
  2397       0,   4, 254, 255,   0,   1, 
  2398       0,   0, 208,   1,   0,   0, 
  2399      60,   0,   0,   0,   0,   0, 
  2400       0,   0,   0,   0,   0,   0, 
  2401       0,   0,   0,   0,   0,   0, 
  2402       0,   0,   0,   0,   0,   0, 
  2403       1,   0,   0,   0,   0,   0, 
  2404       0,   0,  36,  71, 108, 111, 
  2405      98,  97, 108, 115,   0, 171, 
  2406     171, 171,  60,   0,   0,   0, 
  2407       8,   0,   0,   0,  96,   0, 
  2408       0,   0, 224,   0,   0,   0, 
  2409       0,   0,   0,   0,   0,   0, 
  2410       0,   0,  32,   1,   0,   0, 
  2411       0,   0,   0,   0,  64,   0, 
  2412       0,   0,   2,   0,   0,   0, 
  2413      48,   1,   0,   0,   0,   0, 
  2414       0,   0,  64,   1,   0,   0, 
  2415      64,   0,   0,   0,  64,   0, 
  2416       0,   0,   2,   0,   0,   0, 
  2417      48,   1,   0,   0,   0,   0, 
  2418       0,   0,  76,   1,   0,   0, 
  2419     128,   0,   0,   0,  16,   0, 
  2420       0,   0,   2,   0,   0,   0, 
  2421      96,   1,   0,   0,   0,   0, 
  2422       0,   0, 112,   1,   0,   0, 
  2423     144,   0,   0,   0,  16,   0, 
  2424       0,   0,   2,   0,   0,   0, 
  2425     128,   1,   0,   0,   0,   0, 
  2426       0,   0, 144,   1,   0,   0, 
  2427     160,   0,   0,   0,  16,   0, 
  2428       0,   0,   2,   0,   0,   0, 
  2429     128,   1,   0,   0,   0,   0, 
  2430       0,   0, 155,   1,   0,   0, 
  2431     176,   0,   0,   0,  16,   0, 
  2432       0,   0,   2,   0,   0,   0, 
  2433     128,   1,   0,   0,   0,   0, 
  2434       0,   0, 165,   1,   0,   0, 
  2435     192,   0,   0,   0,  16,   0, 
  2436       0,   0,   0,   0,   0,   0, 
  2437      96,   1,   0,   0,   0,   0, 
  2438       0,   0, 177,   1,   0,   0, 
  2439     208,   0,   0,   0,   4,   0, 
  2440       0,   0,   0,   0,   0,   0, 
  2441     192,   1,   0,   0,   0,   0, 
  2442       0,   0, 109,  76,  97, 121, 
  2443     101, 114,  84, 114,  97, 110, 
  2444     115, 102, 111, 114, 109,   0, 
  2445       3,   0,   3,   0,   4,   0, 
  2446       4,   0,   0,   0,   0,   0, 
  2447       0,   0,   0,   0, 109,  80, 
  2448     114, 111, 106, 101,  99, 116, 
  2449     105, 111, 110,   0, 118,  82, 
  2450     101, 110, 100, 101, 114,  84, 
  2451      97, 114, 103, 101, 116,  79, 
  2452     102, 102, 115, 101, 116,   0, 
  2453       1,   0,   3,   0,   1,   0, 
  2454       4,   0,   0,   0,   0,   0, 
  2455       0,   0,   0,   0, 118,  84, 
  2456     101, 120, 116, 117, 114, 101, 
  2457      67, 111, 111, 114, 100, 115, 
  2458       0, 171,   1,   0,   3,   0, 
  2459       1,   0,   4,   0,   0,   0, 
  2460       0,   0,   0,   0,   0,   0, 
  2461     118,  76,  97, 121, 101, 114, 
  2462      81, 117,  97, 100,   0, 118, 
  2463      77,  97, 115, 107,  81, 117, 
  2464      97, 100,   0, 102,  76,  97, 
  2465     121, 101, 114,  67, 111, 108, 
  2466     111, 114,   0, 102,  76,  97, 
  2467     121, 101, 114,  79, 112,  97, 
  2468      99, 105, 116, 121,   0, 171, 
  2469       0,   0,   3,   0,   1,   0, 
  2470       1,   0,   0,   0,   0,   0, 
  2471       0,   0,   0,   0,  77, 105, 
  2472      99, 114, 111, 115, 111, 102, 
  2473     116,  32,  40,  82,  41,  32, 
  2474      72,  76,  83,  76,  32,  83, 
  2475     104,  97, 100, 101, 114,  32, 
  2476      67, 111, 109, 112, 105, 108, 
  2477     101, 114,  32,  57,  46,  50, 
  2478      57,  46,  57,  53,  50,  46, 
  2479      51,  49,  49,  49,   0, 171, 
  2480     171, 171,  73,  83,  71,  78, 
  2481      44,   0,   0,   0,   1,   0, 
  2482       0,   0,   8,   0,   0,   0, 
  2483      32,   0,   0,   0,   0,   0, 
  2484       0,   0,   0,   0,   0,   0, 
  2485       3,   0,   0,   0,   0,   0, 
  2486       0,   0,   3,   3,   0,   0, 
  2487      80,  79,  83,  73,  84,  73, 
  2488      79,  78,   0, 171, 171, 171, 
  2489      79,  83,  71,  78, 104,   0, 
  2490       0,   0,   3,   0,   0,   0, 
  2491       8,   0,   0,   0,  80,   0, 
  2492       0,   0,   0,   0,   0,   0, 
  2493       1,   0,   0,   0,   3,   0, 
  2494       0,   0,   0,   0,   0,   0, 
  2495      15,   0,   0,   0,  92,   0, 
  2496       0,   0,   0,   0,   0,   0, 
  2497       0,   0,   0,   0,   3,   0, 
  2498       0,   0,   1,   0,   0,   0, 
  2499       3,  12,   0,   0,  92,   0, 
  2500       0,   0,   1,   0,   0,   0, 
  2501       0,   0,   0,   0,   3,   0, 
  2502       0,   0,   1,   0,   0,   0, 
  2503      12,   3,   0,   0,  83,  86, 
  2504      95,  80, 111, 115, 105, 116, 
  2505     105, 111, 110,   0,  84,  69, 
  2506      88,  67,  79,  79,  82,  68, 
  2507       0, 171, 171, 171
  2508 };
  2509 #if 0
  2510 //
  2511 // Generated by Microsoft (R) HLSL Shader Compiler 9.29.952.3111
  2512 //
  2513 //
  2514 //   fxc CompositorD3D11.fx -ELayerQuadMask3DVS -nologo -Tvs_4_0_level_9_3
  2515 //    -FhtmpShaderHeader -VnLayerQuadMask3DVS
  2516 //
  2517 //
  2518 // Buffer Definitions: 
  2519 //
  2520 // cbuffer $Globals
  2521 // {
  2522 //
  2523 //   float4x4 mLayerTransform;          // Offset:    0 Size:    64
  2524 //   float4x4 mProjection;              // Offset:   64 Size:    64
  2525 //   float4 vRenderTargetOffset;        // Offset:  128 Size:    16
  2526 //   float4 vTextureCoords;             // Offset:  144 Size:    16
  2527 //   float4 vLayerQuad;                 // Offset:  160 Size:    16
  2528 //   float4 vMaskQuad;                  // Offset:  176 Size:    16
  2529 //   float4 fLayerColor;                // Offset:  192 Size:    16 [unused]
  2530 //   float fLayerOpacity;               // Offset:  208 Size:     4 [unused]
  2531 //
  2532 // }
  2533 //
  2534 //
  2535 // Resource Bindings:
  2536 //
  2537 // Name                                 Type  Format         Dim Slot Elements
  2538 // ------------------------------ ---------- ------- ----------- ---- --------
  2539 // $Globals                          cbuffer      NA          NA    0        1
  2540 //
  2541 //
  2542 //
  2543 // Input signature:
  2544 //
  2545 // Name                 Index   Mask Register SysValue Format   Used
  2546 // -------------------- ----- ------ -------- -------- ------ ------
  2547 // POSITION                 0   xy          0     NONE  float   xy  
  2548 //
  2549 //
  2550 // Output signature:
  2551 //
  2552 // Name                 Index   Mask Register SysValue Format   Used
  2553 // -------------------- ----- ------ -------- -------- ------ ------
  2554 // SV_Position              0   xyzw        0      POS  float   xyzw
  2555 // TEXCOORD                 0   xy          1     NONE  float   xy  
  2556 // TEXCOORD                 1   xyz         2     NONE  float   xyz 
  2557 //
  2558 //
  2559 // Constant buffer to DX9 shader constant mappings:
  2560 //
  2561 // Target Reg Buffer  Start Reg # of Regs        Data Conversion
  2562 // ---------- ------- --------- --------- ----------------------
  2563 // c1         cb0             0         2  ( FLT, FLT, FLT, FLT)
  2564 // c3         cb0             3         9  ( FLT, FLT, FLT, FLT)
  2565 //
  2566 //
  2567 // Runtime generated constant mappings:
  2568 //
  2569 // Target Reg                               Constant Description
  2570 // ---------- --------------------------------------------------
  2571 // c0                              Vertex Shader position offset
  2572 //
  2573 //
  2574 // Level9 shader bytecode:
  2575 //
  2576     vs_2_x
  2577     def c12, 1, 0, 0, 0
  2578     dcl_texcoord v0
  2579     mov r0.z, c12.x
  2580     rcp r0.w, c11.z
  2581     mad r1.xy, v0, c10.zwzw, c10
  2582     mul r2, r1.y, c2
  2583     mad r1, c1, r1.x, r2
  2584     add r1, r1, c3
  2585     rcp r2.x, r1.w
  2586     mad r2.yz, r1.xxyw, r2.x, -c11.xxyw
  2587     mul r1.xyz, r1, r2.x
  2588     mul r0.x, r0.w, r2.y
  2589     rcp r0.w, c11.w
  2590     mul r0.y, r0.w, r2.z
  2591     mul oT1.xyz, r0, r1.w
  2592     add r0, r1, -c8
  2593     mad oT0.xy, v0, c9.zwzw, c9
  2594     mul r0.xyz, r0.w, r0
  2595     mul r1, r0.y, c5
  2596     mad r1, c4, r0.x, r1
  2597     mad r1, c6, r0.z, r1
  2598     mad r0, c7, r0.w, r1
  2599     mad oPos.xy, r0.w, c0, r0
  2600     mov oPos.zw, r0
  2602 // approximately 22 instruction slots used
  2603 vs_4_0
  2604 dcl_constantbuffer cb0[12], immediateIndexed
  2605 dcl_input v0.xy
  2606 dcl_output_siv o0.xyzw, position
  2607 dcl_output o1.xy
  2608 dcl_output o2.xyz
  2609 dcl_temps 3
  2610 mad r0.xy, v0.xyxx, cb0[10].zwzz, cb0[10].xyxx
  2611 mul r1.xyzw, r0.yyyy, cb0[1].xyzw
  2612 mad r0.xyzw, cb0[0].xyzw, r0.xxxx, r1.xyzw
  2613 add r0.xyzw, r0.xyzw, cb0[3].xyzw
  2614 div r0.xyz, r0.xyzx, r0.wwww
  2615 add r1.xyzw, r0.xyzw, -cb0[8].xyzw
  2616 add r0.xy, r0.xyxx, -cb0[11].xyxx
  2617 div r0.xy, r0.xyxx, cb0[11].zwzz
  2618 mul r1.xyz, r1.wwww, r1.xyzx
  2619 mul r2.xyzw, r1.yyyy, cb0[5].xyzw
  2620 mad r2.xyzw, cb0[4].xyzw, r1.xxxx, r2.xyzw
  2621 mad r2.xyzw, cb0[6].xyzw, r1.zzzz, r2.xyzw
  2622 mad o0.xyzw, cb0[7].xyzw, r1.wwww, r2.xyzw
  2623 mad o1.xy, v0.xyxx, cb0[9].zwzz, cb0[9].xyxx
  2624 mov r0.z, l(1.000000)
  2625 mul o2.xyz, r0.wwww, r0.xyzx
  2626 ret 
  2627 // Approximately 17 instruction slots used
  2628 #endif
  2630 const BYTE LayerQuadMask3DVS[] =
  2632      68,  88,  66,  67, 100,  40, 
  2633      55,  29, 238,  71, 107,  78, 
  2634     214, 182,  73, 149, 138,  22, 
  2635     163, 187,   1,   0,   0,   0, 
  2636     204,   7,   0,   0,   6,   0, 
  2637       0,   0,  56,   0,   0,   0, 
  2638      24,   2,   0,   0, 160,   4, 
  2639       0,   0,  28,   5,   0,   0, 
  2640      40,   7,   0,   0,  92,   7, 
  2641       0,   0,  65, 111, 110,  57, 
  2642     216,   1,   0,   0, 216,   1, 
  2643       0,   0,   0,   2, 254, 255, 
  2644     152,   1,   0,   0,  64,   0, 
  2645       0,   0,   2,   0,  36,   0, 
  2646       0,   0,  60,   0,   0,   0, 
  2647      60,   0,   0,   0,  36,   0, 
  2648       1,   0,  60,   0,   0,   0, 
  2649       0,   0,   2,   0,   1,   0, 
  2650       0,   0,   0,   0,   0,   0, 
  2651       3,   0,   9,   0,   3,   0, 
  2652       0,   0,   0,   0,   0,   0, 
  2653       0,   0,   1,   2, 254, 255, 
  2654      81,   0,   0,   5,  12,   0, 
  2655      15, 160,   0,   0, 128,  63, 
  2656       0,   0,   0,   0,   0,   0, 
  2657       0,   0,   0,   0,   0,   0, 
  2658      31,   0,   0,   2,   5,   0, 
  2659       0, 128,   0,   0,  15, 144, 
  2660       1,   0,   0,   2,   0,   0, 
  2661       4, 128,  12,   0,   0, 160, 
  2662       6,   0,   0,   2,   0,   0, 
  2663       8, 128,  11,   0, 170, 160, 
  2664       4,   0,   0,   4,   1,   0, 
  2665       3, 128,   0,   0, 228, 144, 
  2666      10,   0, 238, 160,  10,   0, 
  2667     228, 160,   5,   0,   0,   3, 
  2668       2,   0,  15, 128,   1,   0, 
  2669      85, 128,   2,   0, 228, 160, 
  2670       4,   0,   0,   4,   1,   0, 
  2671      15, 128,   1,   0, 228, 160, 
  2672       1,   0,   0, 128,   2,   0, 
  2673     228, 128,   2,   0,   0,   3, 
  2674       1,   0,  15, 128,   1,   0, 
  2675     228, 128,   3,   0, 228, 160, 
  2676       6,   0,   0,   2,   2,   0, 
  2677       1, 128,   1,   0, 255, 128, 
  2678       4,   0,   0,   4,   2,   0, 
  2679       6, 128,   1,   0, 208, 128, 
  2680       2,   0,   0, 128,  11,   0, 
  2681     208, 161,   5,   0,   0,   3, 
  2682       1,   0,   7, 128,   1,   0, 
  2683     228, 128,   2,   0,   0, 128, 
  2684       5,   0,   0,   3,   0,   0, 
  2685       1, 128,   0,   0, 255, 128, 
  2686       2,   0,  85, 128,   6,   0, 
  2687       0,   2,   0,   0,   8, 128, 
  2688      11,   0, 255, 160,   5,   0, 
  2689       0,   3,   0,   0,   2, 128, 
  2690       0,   0, 255, 128,   2,   0, 
  2691     170, 128,   5,   0,   0,   3, 
  2692       1,   0,   7, 224,   0,   0, 
  2693     228, 128,   1,   0, 255, 128, 
  2694       2,   0,   0,   3,   0,   0, 
  2695      15, 128,   1,   0, 228, 128, 
  2696       8,   0, 228, 161,   4,   0, 
  2697       0,   4,   0,   0,   3, 224, 
  2698       0,   0, 228, 144,   9,   0, 
  2699     238, 160,   9,   0, 228, 160, 
  2700       5,   0,   0,   3,   0,   0, 
  2701       7, 128,   0,   0, 255, 128, 
  2702       0,   0, 228, 128,   5,   0, 
  2703       0,   3,   1,   0,  15, 128, 
  2704       0,   0,  85, 128,   5,   0, 
  2705     228, 160,   4,   0,   0,   4, 
  2706       1,   0,  15, 128,   4,   0, 
  2707     228, 160,   0,   0,   0, 128, 
  2708       1,   0, 228, 128,   4,   0, 
  2709       0,   4,   1,   0,  15, 128, 
  2710       6,   0, 228, 160,   0,   0, 
  2711     170, 128,   1,   0, 228, 128, 
  2712       4,   0,   0,   4,   0,   0, 
  2713      15, 128,   7,   0, 228, 160, 
  2714       0,   0, 255, 128,   1,   0, 
  2715     228, 128,   4,   0,   0,   4, 
  2716       0,   0,   3, 192,   0,   0, 
  2717     255, 128,   0,   0, 228, 160, 
  2718       0,   0, 228, 128,   1,   0, 
  2719       0,   2,   0,   0,  12, 192, 
  2720       0,   0, 228, 128, 255, 255, 
  2721       0,   0,  83,  72,  68,  82, 
  2722     128,   2,   0,   0,  64,   0, 
  2723       1,   0, 160,   0,   0,   0, 
  2724      89,   0,   0,   4,  70, 142, 
  2725      32,   0,   0,   0,   0,   0, 
  2726      12,   0,   0,   0,  95,   0, 
  2727       0,   3,  50,  16,  16,   0, 
  2728       0,   0,   0,   0, 103,   0, 
  2729       0,   4, 242,  32,  16,   0, 
  2730       0,   0,   0,   0,   1,   0, 
  2731       0,   0, 101,   0,   0,   3, 
  2732      50,  32,  16,   0,   1,   0, 
  2733       0,   0, 101,   0,   0,   3, 
  2734     114,  32,  16,   0,   2,   0, 
  2735       0,   0, 104,   0,   0,   2, 
  2736       3,   0,   0,   0,  50,   0, 
  2737       0,  11,  50,   0,  16,   0, 
  2738       0,   0,   0,   0,  70,  16, 
  2739      16,   0,   0,   0,   0,   0, 
  2740     230, 138,  32,   0,   0,   0, 
  2741       0,   0,  10,   0,   0,   0, 
  2742      70, 128,  32,   0,   0,   0, 
  2743       0,   0,  10,   0,   0,   0, 
  2744      56,   0,   0,   8, 242,   0, 
  2745      16,   0,   1,   0,   0,   0, 
  2746      86,   5,  16,   0,   0,   0, 
  2747       0,   0,  70, 142,  32,   0, 
  2748       0,   0,   0,   0,   1,   0, 
  2749       0,   0,  50,   0,   0,  10, 
  2750     242,   0,  16,   0,   0,   0, 
  2751       0,   0,  70, 142,  32,   0, 
  2752       0,   0,   0,   0,   0,   0, 
  2753       0,   0,   6,   0,  16,   0, 
  2754       0,   0,   0,   0,  70,  14, 
  2755      16,   0,   1,   0,   0,   0, 
  2756       0,   0,   0,   8, 242,   0, 
  2757      16,   0,   0,   0,   0,   0, 
  2758      70,  14,  16,   0,   0,   0, 
  2759       0,   0,  70, 142,  32,   0, 
  2760       0,   0,   0,   0,   3,   0, 
  2761       0,   0,  14,   0,   0,   7, 
  2762     114,   0,  16,   0,   0,   0, 
  2763       0,   0,  70,   2,  16,   0, 
  2764       0,   0,   0,   0, 246,  15, 
  2765      16,   0,   0,   0,   0,   0, 
  2766       0,   0,   0,   9, 242,   0, 
  2767      16,   0,   1,   0,   0,   0, 
  2768      70,  14,  16,   0,   0,   0, 
  2769       0,   0,  70, 142,  32, 128, 
  2770      65,   0,   0,   0,   0,   0, 
  2771       0,   0,   8,   0,   0,   0, 
  2772       0,   0,   0,   9,  50,   0, 
  2773      16,   0,   0,   0,   0,   0, 
  2774      70,   0,  16,   0,   0,   0, 
  2775       0,   0,  70, 128,  32, 128, 
  2776      65,   0,   0,   0,   0,   0, 
  2777       0,   0,  11,   0,   0,   0, 
  2778      14,   0,   0,   8,  50,   0, 
  2779      16,   0,   0,   0,   0,   0, 
  2780      70,   0,  16,   0,   0,   0, 
  2781       0,   0, 230, 138,  32,   0, 
  2782       0,   0,   0,   0,  11,   0, 
  2783       0,   0,  56,   0,   0,   7, 
  2784     114,   0,  16,   0,   1,   0, 
  2785       0,   0, 246,  15,  16,   0, 
  2786       1,   0,   0,   0,  70,   2, 
  2787      16,   0,   1,   0,   0,   0, 
  2788      56,   0,   0,   8, 242,   0, 
  2789      16,   0,   2,   0,   0,   0, 
  2790      86,   5,  16,   0,   1,   0, 
  2791       0,   0,  70, 142,  32,   0, 
  2792       0,   0,   0,   0,   5,   0, 
  2793       0,   0,  50,   0,   0,  10, 
  2794     242,   0,  16,   0,   2,   0, 
  2795       0,   0,  70, 142,  32,   0, 
  2796       0,   0,   0,   0,   4,   0, 
  2797       0,   0,   6,   0,  16,   0, 
  2798       1,   0,   0,   0,  70,  14, 
  2799      16,   0,   2,   0,   0,   0, 
  2800      50,   0,   0,  10, 242,   0, 
  2801      16,   0,   2,   0,   0,   0, 
  2802      70, 142,  32,   0,   0,   0, 
  2803       0,   0,   6,   0,   0,   0, 
  2804     166,  10,  16,   0,   1,   0, 
  2805       0,   0,  70,  14,  16,   0, 
  2806       2,   0,   0,   0,  50,   0, 
  2807       0,  10, 242,  32,  16,   0, 
  2808       0,   0,   0,   0,  70, 142, 
  2809      32,   0,   0,   0,   0,   0, 
  2810       7,   0,   0,   0, 246,  15, 
  2811      16,   0,   1,   0,   0,   0, 
  2812      70,  14,  16,   0,   2,   0, 
  2813       0,   0,  50,   0,   0,  11, 
  2814      50,  32,  16,   0,   1,   0, 
  2815       0,   0,  70,  16,  16,   0, 
  2816       0,   0,   0,   0, 230, 138, 
  2817      32,   0,   0,   0,   0,   0, 
  2818       9,   0,   0,   0,  70, 128, 
  2819      32,   0,   0,   0,   0,   0, 
  2820       9,   0,   0,   0,  54,   0, 
  2821       0,   5,  66,   0,  16,   0, 
  2822       0,   0,   0,   0,   1,  64, 
  2823       0,   0,   0,   0, 128,  63, 
  2824      56,   0,   0,   7, 114,  32, 
  2825      16,   0,   2,   0,   0,   0, 
  2826     246,  15,  16,   0,   0,   0, 
  2827       0,   0,  70,   2,  16,   0, 
  2828       0,   0,   0,   0,  62,   0, 
  2829       0,   1,  83,  84,  65,  84, 
  2830     116,   0,   0,   0,  17,   0, 
  2831       0,   0,   3,   0,   0,   0, 
  2832       0,   0,   0,   0,   4,   0, 
  2833       0,   0,   9,   0,   0,   0, 
  2834       0,   0,   0,   0,   0,   0, 
  2835       0,   0,   1,   0,   0,   0, 
  2836       0,   0,   0,   0,   0,   0, 
  2837       0,   0,   0,   0,   0,   0, 
  2838       0,   0,   0,   0,   0,   0, 
  2839       0,   0,   0,   0,   0,   0, 
  2840       0,   0,   0,   0,   0,   0, 
  2841       0,   0,   0,   0,   0,   0, 
  2842       0,   0,   0,   0,   0,   0, 
  2843       0,   0,   2,   0,   0,   0, 
  2844       0,   0,   0,   0,   0,   0, 
  2845       0,   0,   0,   0,   0,   0, 
  2846       0,   0,   0,   0,   0,   0, 
  2847       0,   0,   0,   0,   0,   0, 
  2848       0,   0,   0,   0,   0,   0, 
  2849       0,   0,   0,   0,   0,   0, 
  2850      82,  68,  69,  70,   4,   2, 
  2851       0,   0,   1,   0,   0,   0, 
  2852      72,   0,   0,   0,   1,   0, 
  2853       0,   0,  28,   0,   0,   0, 
  2854       0,   4, 254, 255,   0,   1, 
  2855       0,   0, 208,   1,   0,   0, 
  2856      60,   0,   0,   0,   0,   0, 
  2857       0,   0,   0,   0,   0,   0, 
  2858       0,   0,   0,   0,   0,   0, 
  2859       0,   0,   0,   0,   0,   0, 
  2860       1,   0,   0,   0,   0,   0, 
  2861       0,   0,  36,  71, 108, 111, 
  2862      98,  97, 108, 115,   0, 171, 
  2863     171, 171,  60,   0,   0,   0, 
  2864       8,   0,   0,   0,  96,   0, 
  2865       0,   0, 224,   0,   0,   0, 
  2866       0,   0,   0,   0,   0,   0, 
  2867       0,   0,  32,   1,   0,   0, 
  2868       0,   0,   0,   0,  64,   0, 
  2869       0,   0,   2,   0,   0,   0, 
  2870      48,   1,   0,   0,   0,   0, 
  2871       0,   0,  64,   1,   0,   0, 
  2872      64,   0,   0,   0,  64,   0, 
  2873       0,   0,   2,   0,   0,   0, 
  2874      48,   1,   0,   0,   0,   0, 
  2875       0,   0,  76,   1,   0,   0, 
  2876     128,   0,   0,   0,  16,   0, 
  2877       0,   0,   2,   0,   0,   0, 
  2878      96,   1,   0,   0,   0,   0, 
  2879       0,   0, 112,   1,   0,   0, 
  2880     144,   0,   0,   0,  16,   0, 
  2881       0,   0,   2,   0,   0,   0, 
  2882     128,   1,   0,   0,   0,   0, 
  2883       0,   0, 144,   1,   0,   0, 
  2884     160,   0,   0,   0,  16,   0, 
  2885       0,   0,   2,   0,   0,   0, 
  2886     128,   1,   0,   0,   0,   0, 
  2887       0,   0, 155,   1,   0,   0, 
  2888     176,   0,   0,   0,  16,   0, 
  2889       0,   0,   2,   0,   0,   0, 
  2890     128,   1,   0,   0,   0,   0, 
  2891       0,   0, 165,   1,   0,   0, 
  2892     192,   0,   0,   0,  16,   0, 
  2893       0,   0,   0,   0,   0,   0, 
  2894      96,   1,   0,   0,   0,   0, 
  2895       0,   0, 177,   1,   0,   0, 
  2896     208,   0,   0,   0,   4,   0, 
  2897       0,   0,   0,   0,   0,   0, 
  2898     192,   1,   0,   0,   0,   0, 
  2899       0,   0, 109,  76,  97, 121, 
  2900     101, 114,  84, 114,  97, 110, 
  2901     115, 102, 111, 114, 109,   0, 
  2902       3,   0,   3,   0,   4,   0, 
  2903       4,   0,   0,   0,   0,   0, 
  2904       0,   0,   0,   0, 109,  80, 
  2905     114, 111, 106, 101,  99, 116, 
  2906     105, 111, 110,   0, 118,  82, 
  2907     101, 110, 100, 101, 114,  84, 
  2908      97, 114, 103, 101, 116,  79, 
  2909     102, 102, 115, 101, 116,   0, 
  2910       1,   0,   3,   0,   1,   0, 
  2911       4,   0,   0,   0,   0,   0, 
  2912       0,   0,   0,   0, 118,  84, 
  2913     101, 120, 116, 117, 114, 101, 
  2914      67, 111, 111, 114, 100, 115, 
  2915       0, 171,   1,   0,   3,   0, 
  2916       1,   0,   4,   0,   0,   0, 
  2917       0,   0,   0,   0,   0,   0, 
  2918     118,  76,  97, 121, 101, 114, 
  2919      81, 117,  97, 100,   0, 118, 
  2920      77,  97, 115, 107,  81, 117, 
  2921      97, 100,   0, 102,  76,  97, 
  2922     121, 101, 114,  67, 111, 108, 
  2923     111, 114,   0, 102,  76,  97, 
  2924     121, 101, 114,  79, 112,  97, 
  2925      99, 105, 116, 121,   0, 171, 
  2926       0,   0,   3,   0,   1,   0, 
  2927       1,   0,   0,   0,   0,   0, 
  2928       0,   0,   0,   0,  77, 105, 
  2929      99, 114, 111, 115, 111, 102, 
  2930     116,  32,  40,  82,  41,  32, 
  2931      72,  76,  83,  76,  32,  83, 
  2932     104,  97, 100, 101, 114,  32, 
  2933      67, 111, 109, 112, 105, 108, 
  2934     101, 114,  32,  57,  46,  50, 
  2935      57,  46,  57,  53,  50,  46, 
  2936      51,  49,  49,  49,   0, 171, 
  2937     171, 171,  73,  83,  71,  78, 
  2938      44,   0,   0,   0,   1,   0, 
  2939       0,   0,   8,   0,   0,   0, 
  2940      32,   0,   0,   0,   0,   0, 
  2941       0,   0,   0,   0,   0,   0, 
  2942       3,   0,   0,   0,   0,   0, 
  2943       0,   0,   3,   3,   0,   0, 
  2944      80,  79,  83,  73,  84,  73, 
  2945      79,  78,   0, 171, 171, 171, 
  2946      79,  83,  71,  78, 104,   0, 
  2947       0,   0,   3,   0,   0,   0, 
  2948       8,   0,   0,   0,  80,   0, 
  2949       0,   0,   0,   0,   0,   0, 
  2950       1,   0,   0,   0,   3,   0, 
  2951       0,   0,   0,   0,   0,   0, 
  2952      15,   0,   0,   0,  92,   0, 
  2953       0,   0,   0,   0,   0,   0, 
  2954       0,   0,   0,   0,   3,   0, 
  2955       0,   0,   1,   0,   0,   0, 
  2956       3,  12,   0,   0,  92,   0, 
  2957       0,   0,   1,   0,   0,   0, 
  2958       0,   0,   0,   0,   3,   0, 
  2959       0,   0,   2,   0,   0,   0, 
  2960       7,   8,   0,   0,  83,  86, 
  2961      95,  80, 111, 115, 105, 116, 
  2962     105, 111, 110,   0,  84,  69, 
  2963      88,  67,  79,  79,  82,  68, 
  2964       0, 171, 171, 171
  2965 };
  2966 #if 0
  2967 //
  2968 // Generated by Microsoft (R) HLSL Shader Compiler 9.29.952.3111
  2969 //
  2970 //
  2971 //   fxc CompositorD3D11.fx -ESolidColorShaderMask -Tps_4_0_level_9_3 -nologo
  2972 //    -FhtmpShaderHeader -VnSolidColorShaderMask
  2973 //
  2974 //
  2975 // Buffer Definitions: 
  2976 //
  2977 // cbuffer $Globals
  2978 // {
  2979 //
  2980 //   float4 fLayerColor;                // Offset:    0 Size:    16
  2981 //   float fLayerOpacity;               // Offset:   16 Size:     4 [unused]
  2982 //   float4x4 mLayerTransform;          // Offset:   32 Size:    64 [unused]
  2983 //   float4x4 mProjection;              // Offset:   96 Size:    64 [unused]
  2984 //   float4 vRenderTargetOffset;        // Offset:  160 Size:    16 [unused]
  2985 //   float4 vTextureCoords;             // Offset:  176 Size:    16 [unused]
  2986 //   float4 vLayerQuad;                 // Offset:  192 Size:    16 [unused]
  2987 //   float4 vMaskQuad;                  // Offset:  208 Size:    16 [unused]
  2988 //
  2989 // }
  2990 //
  2991 //
  2992 // Resource Bindings:
  2993 //
  2994 // Name                                 Type  Format         Dim Slot Elements
  2995 // ------------------------------ ---------- ------- ----------- ---- --------
  2996 // sSampler                          sampler      NA          NA    0        1
  2997 // tMask                             texture  float4          2d    3        1
  2998 // $Globals                          cbuffer      NA          NA    0        1
  2999 //
  3000 //
  3001 //
  3002 // Input signature:
  3003 //
  3004 // Name                 Index   Mask Register SysValue Format   Used
  3005 // -------------------- ----- ------ -------- -------- ------ ------
  3006 // SV_Position              0   xyzw        0      POS  float       
  3007 // TEXCOORD                 0   xy          1     NONE  float       
  3008 // TEXCOORD                 1     zw        1     NONE  float     zw
  3009 //
  3010 //
  3011 // Output signature:
  3012 //
  3013 // Name                 Index   Mask Register SysValue Format   Used
  3014 // -------------------- ----- ------ -------- -------- ------ ------
  3015 // SV_Target                0   xyzw        0   TARGET  float   xyzw
  3016 //
  3017 //
  3018 // Constant buffer to DX9 shader constant mappings:
  3019 //
  3020 // Target Reg Buffer  Start Reg # of Regs        Data Conversion
  3021 // ---------- ------- --------- --------- ----------------------
  3022 // c0         cb0             0         1  ( FLT, FLT, FLT, FLT)
  3023 //
  3024 //
  3025 // Sampler/Resource to DX9 shader sampler mappings:
  3026 //
  3027 // Target Sampler Source Sampler  Source Resource
  3028 // -------------- --------------- ----------------
  3029 // s0             s0              t3               
  3030 //
  3031 //
  3032 // Level9 shader bytecode:
  3033 //
  3034     ps_2_x
  3035     dcl t0
  3036     dcl_2d s0
  3037     mov r0.xy, t0.wzzw
  3038     texld r0, r0, s0
  3039     mul r0, r0.w, c0
  3040     mov oC0, r0
  3042 // approximately 4 instruction slots used (1 texture, 3 arithmetic)
  3043 ps_4_0
  3044 dcl_constantbuffer cb0[1], immediateIndexed
  3045 dcl_sampler s0, mode_default
  3046 dcl_resource_texture2d (float,float,float,float) t3
  3047 dcl_input_ps linear v1.zw
  3048 dcl_output o0.xyzw
  3049 dcl_temps 1
  3050 sample r0.xyzw, v1.zwzz, t3.xyzw, s0
  3051 mul o0.xyzw, r0.wwww, cb0[0].xyzw
  3052 ret 
  3053 // Approximately 3 instruction slots used
  3054 #endif
  3056 const BYTE SolidColorShaderMask[] =
  3058      68,  88,  66,  67,  92, 193, 
  3059     158, 159, 177, 150, 196, 208, 
  3060     237,  57,  66,  98,  44, 248, 
  3061     148, 128,   1,   0,   0,   0, 
  3062     232,   4,   0,   0,   6,   0, 
  3063       0,   0,  56,   0,   0,   0, 
  3064     204,   0,   0,   0, 112,   1, 
  3065       0,   0, 236,   1,   0,   0, 
  3066      68,   4,   0,   0, 180,   4, 
  3067       0,   0,  65, 111, 110,  57, 
  3068     140,   0,   0,   0, 140,   0, 
  3069       0,   0,   0,   2, 255, 255, 
  3070      88,   0,   0,   0,  52,   0, 
  3071       0,   0,   1,   0,  40,   0, 
  3072       0,   0,  52,   0,   0,   0, 
  3073      52,   0,   1,   0,  36,   0, 
  3074       0,   0,  52,   0,   3,   0, 
  3075       0,   0,   0,   0,   0,   0, 
  3076       1,   0,   0,   0,   0,   0, 
  3077       0,   0,   1,   2, 255, 255, 
  3078      31,   0,   0,   2,   0,   0, 
  3079       0, 128,   0,   0,  15, 176, 
  3080      31,   0,   0,   2,   0,   0, 
  3081       0, 144,   0,   8,  15, 160, 
  3082       1,   0,   0,   2,   0,   0, 
  3083       3, 128,   0,   0, 235, 176, 
  3084      66,   0,   0,   3,   0,   0, 
  3085      15, 128,   0,   0, 228, 128, 
  3086       0,   8, 228, 160,   5,   0, 
  3087       0,   3,   0,   0,  15, 128, 
  3088       0,   0, 255, 128,   0,   0, 
  3089     228, 160,   1,   0,   0,   2, 
  3090       0,   8,  15, 128,   0,   0, 
  3091     228, 128, 255, 255,   0,   0, 
  3092      83,  72,  68,  82, 156,   0, 
  3093       0,   0,  64,   0,   0,   0, 
  3094      39,   0,   0,   0,  89,   0, 
  3095       0,   4,  70, 142,  32,   0, 
  3096       0,   0,   0,   0,   1,   0, 
  3097       0,   0,  90,   0,   0,   3, 
  3098       0,  96,  16,   0,   0,   0, 
  3099       0,   0,  88,  24,   0,   4, 
  3100       0, 112,  16,   0,   3,   0, 
  3101       0,   0,  85,  85,   0,   0, 
  3102      98,  16,   0,   3, 194,  16, 
  3103      16,   0,   1,   0,   0,   0, 
  3104     101,   0,   0,   3, 242,  32, 
  3105      16,   0,   0,   0,   0,   0, 
  3106     104,   0,   0,   2,   1,   0, 
  3107       0,   0,  69,   0,   0,   9, 
  3108     242,   0,  16,   0,   0,   0, 
  3109       0,   0, 230,  26,  16,   0, 
  3110       1,   0,   0,   0,  70, 126, 
  3111      16,   0,   3,   0,   0,   0, 
  3112       0,  96,  16,   0,   0,   0, 
  3113       0,   0,  56,   0,   0,   8, 
  3114     242,  32,  16,   0,   0,   0, 
  3115       0,   0, 246,  15,  16,   0, 
  3116       0,   0,   0,   0,  70, 142, 
  3117      32,   0,   0,   0,   0,   0, 
  3118       0,   0,   0,   0,  62,   0, 
  3119       0,   1,  83,  84,  65,  84, 
  3120     116,   0,   0,   0,   3,   0, 
  3121       0,   0,   1,   0,   0,   0, 
  3122       0,   0,   0,   0,   2,   0, 
  3123       0,   0,   1,   0,   0,   0, 
  3124       0,   0,   0,   0,   0,   0, 
  3125       0,   0,   1,   0,   0,   0, 
  3126       0,   0,   0,   0,   0,   0, 
  3127       0,   0,   0,   0,   0,   0, 
  3128       0,   0,   0,   0,   0,   0, 
  3129       0,   0,   0,   0,   0,   0, 
  3130       1,   0,   0,   0,   0,   0, 
  3131       0,   0,   0,   0,   0,   0, 
  3132       0,   0,   0,   0,   0,   0, 
  3133       0,   0,   0,   0,   0,   0, 
  3134       0,   0,   0,   0,   0,   0, 
  3135       0,   0,   0,   0,   0,   0, 
  3136       0,   0,   0,   0,   0,   0, 
  3137       0,   0,   0,   0,   0,   0, 
  3138       0,   0,   0,   0,   0,   0, 
  3139       0,   0,   0,   0,   0,   0, 
  3140      82,  68,  69,  70,  80,   2, 
  3141       0,   0,   1,   0,   0,   0, 
  3142     148,   0,   0,   0,   3,   0, 
  3143       0,   0,  28,   0,   0,   0, 
  3144       0,   4, 255, 255,   0,   1, 
  3145       0,   0,  29,   2,   0,   0, 
  3146     124,   0,   0,   0,   3,   0, 
  3147       0,   0,   0,   0,   0,   0, 
  3148       0,   0,   0,   0,   0,   0, 
  3149       0,   0,   0,   0,   0,   0, 
  3150       1,   0,   0,   0,   1,   0, 
  3151       0,   0, 133,   0,   0,   0, 
  3152       2,   0,   0,   0,   5,   0, 
  3153       0,   0,   4,   0,   0,   0, 
  3154     255, 255, 255, 255,   3,   0, 
  3155       0,   0,   1,   0,   0,   0, 
  3156      13,   0,   0,   0, 139,   0, 
  3157       0,   0,   0,   0,   0,   0, 
  3158       0,   0,   0,   0,   0,   0, 
  3159       0,   0,   0,   0,   0,   0, 
  3160       0,   0,   0,   0,   1,   0, 
  3161       0,   0,   0,   0,   0,   0, 
  3162     115,  83,  97, 109, 112, 108, 
  3163     101, 114,   0, 116,  77,  97, 
  3164     115, 107,   0,  36,  71, 108, 
  3165     111,  98,  97, 108, 115,   0, 
  3166     139,   0,   0,   0,   8,   0, 
  3167       0,   0, 172,   0,   0,   0, 
  3168     224,   0,   0,   0,   0,   0, 
  3169       0,   0,   0,   0,   0,   0, 
  3170     108,   1,   0,   0,   0,   0, 
  3171       0,   0,  16,   0,   0,   0, 
  3172       2,   0,   0,   0, 120,   1, 
  3173       0,   0,   0,   0,   0,   0, 
  3174     136,   1,   0,   0,  16,   0, 
  3175       0,   0,   4,   0,   0,   0, 
  3176       0,   0,   0,   0, 152,   1, 
  3177       0,   0,   0,   0,   0,   0, 
  3178     168,   1,   0,   0,  32,   0, 
  3179       0,   0,  64,   0,   0,   0, 
  3180       0,   0,   0,   0, 184,   1, 
  3181       0,   0,   0,   0,   0,   0, 
  3182     200,   1,   0,   0,  96,   0, 
  3183       0,   0,  64,   0,   0,   0, 
  3184       0,   0,   0,   0, 184,   1, 
  3185       0,   0,   0,   0,   0,   0, 
  3186     212,   1,   0,   0, 160,   0, 
  3187       0,   0,  16,   0,   0,   0, 
  3188       0,   0,   0,   0, 120,   1, 
  3189       0,   0,   0,   0,   0,   0, 
  3190     232,   1,   0,   0, 176,   0, 
  3191       0,   0,  16,   0,   0,   0, 
  3192       0,   0,   0,   0, 248,   1, 
  3193       0,   0,   0,   0,   0,   0, 
  3194       8,   2,   0,   0, 192,   0, 
  3195       0,   0,  16,   0,   0,   0, 
  3196       0,   0,   0,   0, 248,   1, 
  3197       0,   0,   0,   0,   0,   0, 
  3198      19,   2,   0,   0, 208,   0, 
  3199       0,   0,  16,   0,   0,   0, 
  3200       0,   0,   0,   0, 248,   1, 
  3201       0,   0,   0,   0,   0,   0, 
  3202     102,  76,  97, 121, 101, 114, 
  3203      67, 111, 108, 111, 114,   0, 
  3204       1,   0,   3,   0,   1,   0, 
  3205       4,   0,   0,   0,   0,   0, 
  3206       0,   0,   0,   0, 102,  76, 
  3207      97, 121, 101, 114,  79, 112, 
  3208      97,  99, 105, 116, 121,   0, 
  3209     171, 171,   0,   0,   3,   0, 
  3210       1,   0,   1,   0,   0,   0, 
  3211       0,   0,   0,   0,   0,   0, 
  3212     109,  76,  97, 121, 101, 114, 
  3213      84, 114,  97, 110, 115, 102, 
  3214     111, 114, 109,   0,   3,   0, 
  3215       3,   0,   4,   0,   4,   0, 
  3216       0,   0,   0,   0,   0,   0, 
  3217       0,   0, 109,  80, 114, 111, 
  3218     106, 101,  99, 116, 105, 111, 
  3219     110,   0, 118,  82, 101, 110, 
  3220     100, 101, 114,  84,  97, 114, 
  3221     103, 101, 116,  79, 102, 102, 
  3222     115, 101, 116,   0, 118,  84, 
  3223     101, 120, 116, 117, 114, 101, 
  3224      67, 111, 111, 114, 100, 115, 
  3225       0, 171,   1,   0,   3,   0, 
  3226       1,   0,   4,   0,   0,   0, 
  3227       0,   0,   0,   0,   0,   0, 
  3228     118,  76,  97, 121, 101, 114, 
  3229      81, 117,  97, 100,   0, 118, 
  3230      77,  97, 115, 107,  81, 117, 
  3231      97, 100,   0,  77, 105,  99, 
  3232     114, 111, 115, 111, 102, 116, 
  3233      32,  40,  82,  41,  32,  72, 
  3234      76,  83,  76,  32,  83, 104, 
  3235      97, 100, 101, 114,  32,  67, 
  3236     111, 109, 112, 105, 108, 101, 
  3237     114,  32,  57,  46,  50,  57, 
  3238      46,  57,  53,  50,  46,  51, 
  3239      49,  49,  49,   0, 171, 171, 
  3240      73,  83,  71,  78, 104,   0, 
  3241       0,   0,   3,   0,   0,   0, 
  3242       8,   0,   0,   0,  80,   0, 
  3243       0,   0,   0,   0,   0,   0, 
  3244       1,   0,   0,   0,   3,   0, 
  3245       0,   0,   0,   0,   0,   0, 
  3246      15,   0,   0,   0,  92,   0, 
  3247       0,   0,   0,   0,   0,   0, 
  3248       0,   0,   0,   0,   3,   0, 
  3249       0,   0,   1,   0,   0,   0, 
  3250       3,   0,   0,   0,  92,   0, 
  3251       0,   0,   1,   0,   0,   0, 
  3252       0,   0,   0,   0,   3,   0, 
  3253       0,   0,   1,   0,   0,   0, 
  3254      12,  12,   0,   0,  83,  86, 
  3255      95,  80, 111, 115, 105, 116, 
  3256     105, 111, 110,   0,  84,  69, 
  3257      88,  67,  79,  79,  82,  68, 
  3258       0, 171, 171, 171,  79,  83, 
  3259      71,  78,  44,   0,   0,   0, 
  3260       1,   0,   0,   0,   8,   0, 
  3261       0,   0,  32,   0,   0,   0, 
  3262       0,   0,   0,   0,   0,   0, 
  3263       0,   0,   3,   0,   0,   0, 
  3264       0,   0,   0,   0,  15,   0, 
  3265       0,   0,  83,  86,  95,  84, 
  3266      97, 114, 103, 101, 116,   0, 
  3267     171, 171
  3268 };
  3269 #if 0
  3270 //
  3271 // Generated by Microsoft (R) HLSL Shader Compiler 9.29.952.3111
  3272 //
  3273 //
  3274 //   fxc CompositorD3D11.fx -ERGBShaderMask -Tps_4_0_level_9_3 -nologo
  3275 //    -FhtmpShaderHeader -VnRGBShaderMask
  3276 //
  3277 //
  3278 // Buffer Definitions: 
  3279 //
  3280 // cbuffer $Globals
  3281 // {
  3282 //
  3283 //   float4 fLayerColor;                // Offset:    0 Size:    16 [unused]
  3284 //   float fLayerOpacity;               // Offset:   16 Size:     4
  3285 //   float4x4 mLayerTransform;          // Offset:   32 Size:    64 [unused]
  3286 //   float4x4 mProjection;              // Offset:   96 Size:    64 [unused]
  3287 //   float4 vRenderTargetOffset;        // Offset:  160 Size:    16 [unused]
  3288 //   float4 vTextureCoords;             // Offset:  176 Size:    16 [unused]
  3289 //   float4 vLayerQuad;                 // Offset:  192 Size:    16 [unused]
  3290 //   float4 vMaskQuad;                  // Offset:  208 Size:    16 [unused]
  3291 //
  3292 // }
  3293 //
  3294 //
  3295 // Resource Bindings:
  3296 //
  3297 // Name                                 Type  Format         Dim Slot Elements
  3298 // ------------------------------ ---------- ------- ----------- ---- --------
  3299 // sSampler                          sampler      NA          NA    0        1
  3300 // tRGB                              texture  float4          2d    0        1
  3301 // tMask                             texture  float4          2d    3        1
  3302 // $Globals                          cbuffer      NA          NA    0        1
  3303 //
  3304 //
  3305 //
  3306 // Input signature:
  3307 //
  3308 // Name                 Index   Mask Register SysValue Format   Used
  3309 // -------------------- ----- ------ -------- -------- ------ ------
  3310 // SV_Position              0   xyzw        0      POS  float       
  3311 // TEXCOORD                 0   xy          1     NONE  float   xy  
  3312 // TEXCOORD                 1     zw        1     NONE  float     zw
  3313 //
  3314 //
  3315 // Output signature:
  3316 //
  3317 // Name                 Index   Mask Register SysValue Format   Used
  3318 // -------------------- ----- ------ -------- -------- ------ ------
  3319 // SV_Target                0   xyzw        0   TARGET  float   xyzw
  3320 //
  3321 //
  3322 // Constant buffer to DX9 shader constant mappings:
  3323 //
  3324 // Target Reg Buffer  Start Reg # of Regs        Data Conversion
  3325 // ---------- ------- --------- --------- ----------------------
  3326 // c0         cb0             1         1  ( FLT, FLT, FLT, FLT)
  3327 //
  3328 //
  3329 // Sampler/Resource to DX9 shader sampler mappings:
  3330 //
  3331 // Target Sampler Source Sampler  Source Resource
  3332 // -------------- --------------- ----------------
  3333 // s0             s0              t3               
  3334 // s1             s0              t0               
  3335 //
  3336 //
  3337 // Level9 shader bytecode:
  3338 //
  3339     ps_2_x
  3340     dcl t0
  3341     dcl_2d s0
  3342     dcl_2d s1
  3343     mov r0.xy, t0.wzzw
  3344     texld r1, t0, s1
  3345     texld r0, r0, s0
  3346     mul r1.xyz, r1, c0.x
  3347     mov r1.w, c0.x
  3348     mul r0, r0.w, r1
  3349     mov oC0, r0
  3351 // approximately 7 instruction slots used (2 texture, 5 arithmetic)
  3352 ps_4_0
  3353 dcl_constantbuffer cb0[2], immediateIndexed
  3354 dcl_sampler s0, mode_default
  3355 dcl_resource_texture2d (float,float,float,float) t0
  3356 dcl_resource_texture2d (float,float,float,float) t3
  3357 dcl_input_ps linear v1.xy
  3358 dcl_input_ps linear v1.zw
  3359 dcl_output o0.xyzw
  3360 dcl_temps 2
  3361 sample r0.xyzw, v1.xyxx, t0.xyzw, s0
  3362 mul r0.xyz, r0.xyzx, cb0[1].xxxx
  3363 sample r1.xyzw, v1.zwzz, t3.xyzw, s0
  3364 mov r0.w, cb0[1].x
  3365 mul o0.xyzw, r0.xyzw, r1.wwww
  3366 ret 
  3367 // Approximately 6 instruction slots used
  3368 #endif
  3370 const BYTE RGBShaderMask[] =
  3372      68,  88,  66,  67, 211,  41, 
  3373     177, 153, 133,  94, 180, 137, 
  3374     188,  24,  43, 126, 122,  18, 
  3375     165, 144,   1,   0,   0,   0, 
  3376     192,   5,   0,   0,   6,   0, 
  3377       0,   0,  56,   0,   0,   0, 
  3378       8,   1,   0,   0,  32,   2, 
  3379       0,   0, 156,   2,   0,   0, 
  3380      28,   5,   0,   0, 140,   5, 
  3381       0,   0,  65, 111, 110,  57, 
  3382     200,   0,   0,   0, 200,   0, 
  3383       0,   0,   0,   2, 255, 255, 
  3384     144,   0,   0,   0,  56,   0, 
  3385       0,   0,   1,   0,  44,   0, 
  3386       0,   0,  56,   0,   0,   0, 
  3387      56,   0,   2,   0,  36,   0, 
  3388       0,   0,  56,   0,   3,   0, 
  3389       0,   0,   0,   0,   1,   0, 
  3390       0,   0,   1,   0,   1,   0, 
  3391       0,   0,   0,   0,   0,   0, 
  3392       1,   2, 255, 255,  31,   0, 
  3393       0,   2,   0,   0,   0, 128, 
  3394       0,   0,  15, 176,  31,   0, 
  3395       0,   2,   0,   0,   0, 144, 
  3396       0,   8,  15, 160,  31,   0, 
  3397       0,   2,   0,   0,   0, 144, 
  3398       1,   8,  15, 160,   1,   0, 
  3399       0,   2,   0,   0,   3, 128, 
  3400       0,   0, 235, 176,  66,   0, 
  3401       0,   3,   1,   0,  15, 128, 
  3402       0,   0, 228, 176,   1,   8, 
  3403     228, 160,  66,   0,   0,   3, 
  3404       0,   0,  15, 128,   0,   0, 
  3405     228, 128,   0,   8, 228, 160, 
  3406       5,   0,   0,   3,   1,   0, 
  3407       7, 128,   1,   0, 228, 128, 
  3408       0,   0,   0, 160,   1,   0, 
  3409       0,   2,   1,   0,   8, 128, 
  3410       0,   0,   0, 160,   5,   0, 
  3411       0,   3,   0,   0,  15, 128, 
  3412       0,   0, 255, 128,   1,   0, 
  3413     228, 128,   1,   0,   0,   2, 
  3414       0,   8,  15, 128,   0,   0, 
  3415     228, 128, 255, 255,   0,   0, 
  3416      83,  72,  68,  82,  16,   1, 
  3417       0,   0,  64,   0,   0,   0, 
  3418      68,   0,   0,   0,  89,   0, 
  3419       0,   4,  70, 142,  32,   0, 
  3420       0,   0,   0,   0,   2,   0, 
  3421       0,   0,  90,   0,   0,   3, 
  3422       0,  96,  16,   0,   0,   0, 
  3423       0,   0,  88,  24,   0,   4, 
  3424       0, 112,  16,   0,   0,   0, 
  3425       0,   0,  85,  85,   0,   0, 
  3426      88,  24,   0,   4,   0, 112, 
  3427      16,   0,   3,   0,   0,   0, 
  3428      85,  85,   0,   0,  98,  16, 
  3429       0,   3,  50,  16,  16,   0, 
  3430       1,   0,   0,   0,  98,  16, 
  3431       0,   3, 194,  16,  16,   0, 
  3432       1,   0,   0,   0, 101,   0, 
  3433       0,   3, 242,  32,  16,   0, 
  3434       0,   0,   0,   0, 104,   0, 
  3435       0,   2,   2,   0,   0,   0, 
  3436      69,   0,   0,   9, 242,   0, 
  3437      16,   0,   0,   0,   0,   0, 
  3438      70,  16,  16,   0,   1,   0, 
  3439       0,   0,  70, 126,  16,   0, 
  3440       0,   0,   0,   0,   0,  96, 
  3441      16,   0,   0,   0,   0,   0, 
  3442      56,   0,   0,   8, 114,   0, 
  3443      16,   0,   0,   0,   0,   0, 
  3444      70,   2,  16,   0,   0,   0, 
  3445       0,   0,   6, 128,  32,   0, 
  3446       0,   0,   0,   0,   1,   0, 
  3447       0,   0,  69,   0,   0,   9, 
  3448     242,   0,  16,   0,   1,   0, 
  3449       0,   0, 230,  26,  16,   0, 
  3450       1,   0,   0,   0,  70, 126, 
  3451      16,   0,   3,   0,   0,   0, 
  3452       0,  96,  16,   0,   0,   0, 
  3453       0,   0,  54,   0,   0,   6, 
  3454     130,   0,  16,   0,   0,   0, 
  3455       0,   0,  10, 128,  32,   0, 
  3456       0,   0,   0,   0,   1,   0, 
  3457       0,   0,  56,   0,   0,   7, 
  3458     242,  32,  16,   0,   0,   0, 
  3459       0,   0,  70,  14,  16,   0, 
  3460       0,   0,   0,   0, 246,  15, 
  3461      16,   0,   1,   0,   0,   0, 
  3462      62,   0,   0,   1,  83,  84, 
  3463      65,  84, 116,   0,   0,   0, 
  3464       6,   0,   0,   0,   2,   0, 
  3465       0,   0,   0,   0,   0,   0, 
  3466       3,   0,   0,   0,   2,   0, 
  3467       0,   0,   0,   0,   0,   0, 
  3468       0,   0,   0,   0,   1,   0, 
  3469       0,   0,   0,   0,   0,   0, 
  3470       0,   0,   0,   0,   0,   0, 
  3471       0,   0,   0,   0,   0,   0, 
  3472       0,   0,   0,   0,   0,   0, 
  3473       0,   0,   2,   0,   0,   0, 
  3474       0,   0,   0,   0,   0,   0, 
  3475       0,   0,   0,   0,   0,   0, 
  3476       0,   0,   0,   0,   1,   0, 
  3477       0,   0,   0,   0,   0,   0, 
  3478       0,   0,   0,   0,   0,   0, 
  3479       0,   0,   0,   0,   0,   0, 
  3480       0,   0,   0,   0,   0,   0, 
  3481       0,   0,   0,   0,   0,   0, 
  3482       0,   0,   0,   0,   0,   0, 
  3483       0,   0,  82,  68,  69,  70, 
  3484     120,   2,   0,   0,   1,   0, 
  3485       0,   0, 188,   0,   0,   0, 
  3486       4,   0,   0,   0,  28,   0, 
  3487       0,   0,   0,   4, 255, 255, 
  3488       0,   1,   0,   0,  69,   2, 
  3489       0,   0, 156,   0,   0,   0, 
  3490       3,   0,   0,   0,   0,   0, 
  3491       0,   0,   0,   0,   0,   0, 
  3492       0,   0,   0,   0,   0,   0, 
  3493       0,   0,   1,   0,   0,   0, 
  3494       1,   0,   0,   0, 165,   0, 
  3495       0,   0,   2,   0,   0,   0, 
  3496       5,   0,   0,   0,   4,   0, 
  3497       0,   0, 255, 255, 255, 255, 
  3498       0,   0,   0,   0,   1,   0, 
  3499       0,   0,  12,   0,   0,   0, 
  3500     170,   0,   0,   0,   2,   0, 
  3501       0,   0,   5,   0,   0,   0, 
  3502       4,   0,   0,   0, 255, 255, 
  3503     255, 255,   3,   0,   0,   0, 
  3504       1,   0,   0,   0,  13,   0, 
  3505       0,   0, 176,   0,   0,   0, 
  3506       0,   0,   0,   0,   0,   0, 
  3507       0,   0,   0,   0,   0,   0, 
  3508       0,   0,   0,   0,   0,   0, 
  3509       0,   0,   1,   0,   0,   0, 
  3510       0,   0,   0,   0, 115,  83, 
  3511      97, 109, 112, 108, 101, 114, 
  3512       0, 116,  82,  71,  66,   0, 
  3513     116,  77,  97, 115, 107,   0, 
  3514      36,  71, 108, 111,  98,  97, 
  3515     108, 115,   0, 171, 171, 171, 
  3516     176,   0,   0,   0,   8,   0, 
  3517       0,   0, 212,   0,   0,   0, 
  3518     224,   0,   0,   0,   0,   0, 
  3519       0,   0,   0,   0,   0,   0, 
  3520     148,   1,   0,   0,   0,   0, 
  3521       0,   0,  16,   0,   0,   0, 
  3522       0,   0,   0,   0, 160,   1, 
  3523       0,   0,   0,   0,   0,   0, 
  3524     176,   1,   0,   0,  16,   0, 
  3525       0,   0,   4,   0,   0,   0, 
  3526       2,   0,   0,   0, 192,   1, 
  3527       0,   0,   0,   0,   0,   0, 
  3528     208,   1,   0,   0,  32,   0, 
  3529       0,   0,  64,   0,   0,   0, 
  3530       0,   0,   0,   0, 224,   1, 
  3531       0,   0,   0,   0,   0,   0, 
  3532     240,   1,   0,   0,  96,   0, 
  3533       0,   0,  64,   0,   0,   0, 
  3534       0,   0,   0,   0, 224,   1, 
  3535       0,   0,   0,   0,   0,   0, 
  3536     252,   1,   0,   0, 160,   0, 
  3537       0,   0,  16,   0,   0,   0, 
  3538       0,   0,   0,   0, 160,   1, 
  3539       0,   0,   0,   0,   0,   0, 
  3540      16,   2,   0,   0, 176,   0, 
  3541       0,   0,  16,   0,   0,   0, 
  3542       0,   0,   0,   0,  32,   2, 
  3543       0,   0,   0,   0,   0,   0, 
  3544      48,   2,   0,   0, 192,   0, 
  3545       0,   0,  16,   0,   0,   0, 
  3546       0,   0,   0,   0,  32,   2, 
  3547       0,   0,   0,   0,   0,   0, 
  3548      59,   2,   0,   0, 208,   0, 
  3549       0,   0,  16,   0,   0,   0, 
  3550       0,   0,   0,   0,  32,   2, 
  3551       0,   0,   0,   0,   0,   0, 
  3552     102,  76,  97, 121, 101, 114, 
  3553      67, 111, 108, 111, 114,   0, 
  3554       1,   0,   3,   0,   1,   0, 
  3555       4,   0,   0,   0,   0,   0, 
  3556       0,   0,   0,   0, 102,  76, 
  3557      97, 121, 101, 114,  79, 112, 
  3558      97,  99, 105, 116, 121,   0, 
  3559     171, 171,   0,   0,   3,   0, 
  3560       1,   0,   1,   0,   0,   0, 
  3561       0,   0,   0,   0,   0,   0, 
  3562     109,  76,  97, 121, 101, 114, 
  3563      84, 114,  97, 110, 115, 102, 
  3564     111, 114, 109,   0,   3,   0, 
  3565       3,   0,   4,   0,   4,   0, 
  3566       0,   0,   0,   0,   0,   0, 
  3567       0,   0, 109,  80, 114, 111, 
  3568     106, 101,  99, 116, 105, 111, 
  3569     110,   0, 118,  82, 101, 110, 
  3570     100, 101, 114,  84,  97, 114, 
  3571     103, 101, 116,  79, 102, 102, 
  3572     115, 101, 116,   0, 118,  84, 
  3573     101, 120, 116, 117, 114, 101, 
  3574      67, 111, 111, 114, 100, 115, 
  3575       0, 171,   1,   0,   3,   0, 
  3576       1,   0,   4,   0,   0,   0, 
  3577       0,   0,   0,   0,   0,   0, 
  3578     118,  76,  97, 121, 101, 114, 
  3579      81, 117,  97, 100,   0, 118, 
  3580      77,  97, 115, 107,  81, 117, 
  3581      97, 100,   0,  77, 105,  99, 
  3582     114, 111, 115, 111, 102, 116, 
  3583      32,  40,  82,  41,  32,  72, 
  3584      76,  83,  76,  32,  83, 104, 
  3585      97, 100, 101, 114,  32,  67, 
  3586     111, 109, 112, 105, 108, 101, 
  3587     114,  32,  57,  46,  50,  57, 
  3588      46,  57,  53,  50,  46,  51, 
  3589      49,  49,  49,   0, 171, 171, 
  3590      73,  83,  71,  78, 104,   0, 
  3591       0,   0,   3,   0,   0,   0, 
  3592       8,   0,   0,   0,  80,   0, 
  3593       0,   0,   0,   0,   0,   0, 
  3594       1,   0,   0,   0,   3,   0, 
  3595       0,   0,   0,   0,   0,   0, 
  3596      15,   0,   0,   0,  92,   0, 
  3597       0,   0,   0,   0,   0,   0, 
  3598       0,   0,   0,   0,   3,   0, 
  3599       0,   0,   1,   0,   0,   0, 
  3600       3,   3,   0,   0,  92,   0, 
  3601       0,   0,   1,   0,   0,   0, 
  3602       0,   0,   0,   0,   3,   0, 
  3603       0,   0,   1,   0,   0,   0, 
  3604      12,  12,   0,   0,  83,  86, 
  3605      95,  80, 111, 115, 105, 116, 
  3606     105, 111, 110,   0,  84,  69, 
  3607      88,  67,  79,  79,  82,  68, 
  3608       0, 171, 171, 171,  79,  83, 
  3609      71,  78,  44,   0,   0,   0, 
  3610       1,   0,   0,   0,   8,   0, 
  3611       0,   0,  32,   0,   0,   0, 
  3612       0,   0,   0,   0,   0,   0, 
  3613       0,   0,   3,   0,   0,   0, 
  3614       0,   0,   0,   0,  15,   0, 
  3615       0,   0,  83,  86,  95,  84, 
  3616      97, 114, 103, 101, 116,   0, 
  3617     171, 171
  3618 };
  3619 #if 0
  3620 //
  3621 // Generated by Microsoft (R) HLSL Shader Compiler 9.29.952.3111
  3622 //
  3623 //
  3624 //   fxc CompositorD3D11.fx -ERGBAShaderMask -Tps_4_0_level_9_3 -nologo
  3625 //    -FhtmpShaderHeader -VnRGBAShaderMask
  3626 //
  3627 //
  3628 // Buffer Definitions: 
  3629 //
  3630 // cbuffer $Globals
  3631 // {
  3632 //
  3633 //   float4 fLayerColor;                // Offset:    0 Size:    16 [unused]
  3634 //   float fLayerOpacity;               // Offset:   16 Size:     4
  3635 //   float4x4 mLayerTransform;          // Offset:   32 Size:    64 [unused]
  3636 //   float4x4 mProjection;              // Offset:   96 Size:    64 [unused]
  3637 //   float4 vRenderTargetOffset;        // Offset:  160 Size:    16 [unused]
  3638 //   float4 vTextureCoords;             // Offset:  176 Size:    16 [unused]
  3639 //   float4 vLayerQuad;                 // Offset:  192 Size:    16 [unused]
  3640 //   float4 vMaskQuad;                  // Offset:  208 Size:    16 [unused]
  3641 //
  3642 // }
  3643 //
  3644 //
  3645 // Resource Bindings:
  3646 //
  3647 // Name                                 Type  Format         Dim Slot Elements
  3648 // ------------------------------ ---------- ------- ----------- ---- --------
  3649 // sSampler                          sampler      NA          NA    0        1
  3650 // tRGB                              texture  float4          2d    0        1
  3651 // tMask                             texture  float4          2d    3        1
  3652 // $Globals                          cbuffer      NA          NA    0        1
  3653 //
  3654 //
  3655 //
  3656 // Input signature:
  3657 //
  3658 // Name                 Index   Mask Register SysValue Format   Used
  3659 // -------------------- ----- ------ -------- -------- ------ ------
  3660 // SV_Position              0   xyzw        0      POS  float       
  3661 // TEXCOORD                 0   xy          1     NONE  float   xy  
  3662 // TEXCOORD                 1     zw        1     NONE  float     zw
  3663 //
  3664 //
  3665 // Output signature:
  3666 //
  3667 // Name                 Index   Mask Register SysValue Format   Used
  3668 // -------------------- ----- ------ -------- -------- ------ ------
  3669 // SV_Target                0   xyzw        0   TARGET  float   xyzw
  3670 //
  3671 //
  3672 // Constant buffer to DX9 shader constant mappings:
  3673 //
  3674 // Target Reg Buffer  Start Reg # of Regs        Data Conversion
  3675 // ---------- ------- --------- --------- ----------------------
  3676 // c0         cb0             1         1  ( FLT, FLT, FLT, FLT)
  3677 //
  3678 //
  3679 // Sampler/Resource to DX9 shader sampler mappings:
  3680 //
  3681 // Target Sampler Source Sampler  Source Resource
  3682 // -------------- --------------- ----------------
  3683 // s0             s0              t3               
  3684 // s1             s0              t0               
  3685 //
  3686 //
  3687 // Level9 shader bytecode:
  3688 //
  3689     ps_2_x
  3690     dcl t0
  3691     dcl_2d s0
  3692     dcl_2d s1
  3693     mov r0.xy, t0.wzzw
  3694     texld r1, t0, s1
  3695     texld r0, r0, s0
  3696     mul r1, r1, c0.x
  3697     mul r0, r0.w, r1
  3698     mov oC0, r0
  3700 // approximately 6 instruction slots used (2 texture, 4 arithmetic)
  3701 ps_4_0
  3702 dcl_constantbuffer cb0[2], immediateIndexed
  3703 dcl_sampler s0, mode_default
  3704 dcl_resource_texture2d (float,float,float,float) t0
  3705 dcl_resource_texture2d (float,float,float,float) t3
  3706 dcl_input_ps linear v1.xy
  3707 dcl_input_ps linear v1.zw
  3708 dcl_output o0.xyzw
  3709 dcl_temps 2
  3710 sample r0.xyzw, v1.xyxx, t0.xyzw, s0
  3711 mul r0.xyzw, r0.xyzw, cb0[1].xxxx
  3712 sample r1.xyzw, v1.zwzz, t3.xyzw, s0
  3713 mul o0.xyzw, r0.xyzw, r1.wwww
  3714 ret 
  3715 // Approximately 5 instruction slots used
  3716 #endif
  3718 const BYTE RGBAShaderMask[] =
  3720      68,  88,  66,  67, 234,  65, 
  3721     122,  94, 147, 106,  10, 149, 
  3722      54, 131, 161,  84,  79,  89, 
  3723     113, 104,   1,   0,   0,   0, 
  3724     156,   5,   0,   0,   6,   0, 
  3725       0,   0,  56,   0,   0,   0, 
  3726     252,   0,   0,   0, 252,   1, 
  3727       0,   0, 120,   2,   0,   0, 
  3728     248,   4,   0,   0, 104,   5, 
  3729       0,   0,  65, 111, 110,  57, 
  3730     188,   0,   0,   0, 188,   0, 
  3731       0,   0,   0,   2, 255, 255, 
  3732     132,   0,   0,   0,  56,   0, 
  3733       0,   0,   1,   0,  44,   0, 
  3734       0,   0,  56,   0,   0,   0, 
  3735      56,   0,   2,   0,  36,   0, 
  3736       0,   0,  56,   0,   3,   0, 
  3737       0,   0,   0,   0,   1,   0, 
  3738       0,   0,   1,   0,   1,   0, 
  3739       0,   0,   0,   0,   0,   0, 
  3740       1,   2, 255, 255,  31,   0, 
  3741       0,   2,   0,   0,   0, 128, 
  3742       0,   0,  15, 176,  31,   0, 
  3743       0,   2,   0,   0,   0, 144, 
  3744       0,   8,  15, 160,  31,   0, 
  3745       0,   2,   0,   0,   0, 144, 
  3746       1,   8,  15, 160,   1,   0, 
  3747       0,   2,   0,   0,   3, 128, 
  3748       0,   0, 235, 176,  66,   0, 
  3749       0,   3,   1,   0,  15, 128, 
  3750       0,   0, 228, 176,   1,   8, 
  3751     228, 160,  66,   0,   0,   3, 
  3752       0,   0,  15, 128,   0,   0, 
  3753     228, 128,   0,   8, 228, 160, 
  3754       5,   0,   0,   3,   1,   0, 
  3755      15, 128,   1,   0, 228, 128, 
  3756       0,   0,   0, 160,   5,   0, 
  3757       0,   3,   0,   0,  15, 128, 
  3758       0,   0, 255, 128,   1,   0, 
  3759     228, 128,   1,   0,   0,   2, 
  3760       0,   8,  15, 128,   0,   0, 
  3761     228, 128, 255, 255,   0,   0, 
  3762      83,  72,  68,  82, 248,   0, 
  3763       0,   0,  64,   0,   0,   0, 
  3764      62,   0,   0,   0,  89,   0, 
  3765       0,   4,  70, 142,  32,   0, 
  3766       0,   0,   0,   0,   2,   0, 
  3767       0,   0,  90,   0,   0,   3, 
  3768       0,  96,  16,   0,   0,   0, 
  3769       0,   0,  88,  24,   0,   4, 
  3770       0, 112,  16,   0,   0,   0, 
  3771       0,   0,  85,  85,   0,   0, 
  3772      88,  24,   0,   4,   0, 112, 
  3773      16,   0,   3,   0,   0,   0, 
  3774      85,  85,   0,   0,  98,  16, 
  3775       0,   3,  50,  16,  16,   0, 
  3776       1,   0,   0,   0,  98,  16, 
  3777       0,   3, 194,  16,  16,   0, 
  3778       1,   0,   0,   0, 101,   0, 
  3779       0,   3, 242,  32,  16,   0, 
  3780       0,   0,   0,   0, 104,   0, 
  3781       0,   2,   2,   0,   0,   0, 
  3782      69,   0,   0,   9, 242,   0, 
  3783      16,   0,   0,   0,   0,   0, 
  3784      70,  16,  16,   0,   1,   0, 
  3785       0,   0,  70, 126,  16,   0, 
  3786       0,   0,   0,   0,   0,  96, 
  3787      16,   0,   0,   0,   0,   0, 
  3788      56,   0,   0,   8, 242,   0, 
  3789      16,   0,   0,   0,   0,   0, 
  3790      70,  14,  16,   0,   0,   0, 
  3791       0,   0,   6, 128,  32,   0, 
  3792       0,   0,   0,   0,   1,   0, 
  3793       0,   0,  69,   0,   0,   9, 
  3794     242,   0,  16,   0,   1,   0, 
  3795       0,   0, 230,  26,  16,   0, 
  3796       1,   0,   0,   0,  70, 126, 
  3797      16,   0,   3,   0,   0,   0, 
  3798       0,  96,  16,   0,   0,   0, 
  3799       0,   0,  56,   0,   0,   7, 
  3800     242,  32,  16,   0,   0,   0, 
  3801       0,   0,  70,  14,  16,   0, 
  3802       0,   0,   0,   0, 246,  15, 
  3803      16,   0,   1,   0,   0,   0, 
  3804      62,   0,   0,   1,  83,  84, 
  3805      65,  84, 116,   0,   0,   0, 
  3806       5,   0,   0,   0,   2,   0, 
  3807       0,   0,   0,   0,   0,   0, 
  3808       3,   0,   0,   0,   2,   0, 
  3809       0,   0,   0,   0,   0,   0, 
  3810       0,   0,   0,   0,   1,   0, 
  3811       0,   0,   0,   0,   0,   0, 
  3812       0,   0,   0,   0,   0,   0, 
  3813       0,   0,   0,   0,   0,   0, 
  3814       0,   0,   0,   0,   0,   0, 
  3815       0,   0,   2,   0,   0,   0, 
  3816       0,   0,   0,   0,   0,   0, 
  3817       0,   0,   0,   0,   0,   0, 
  3818       0,   0,   0,   0,   0,   0, 
  3819       0,   0,   0,   0,   0,   0, 
  3820       0,   0,   0,   0,   0,   0, 
  3821       0,   0,   0,   0,   0,   0, 
  3822       0,   0,   0,   0,   0,   0, 
  3823       0,   0,   0,   0,   0,   0, 
  3824       0,   0,   0,   0,   0,   0, 
  3825       0,   0,  82,  68,  69,  70, 
  3826     120,   2,   0,   0,   1,   0, 
  3827       0,   0, 188,   0,   0,   0, 
  3828       4,   0,   0,   0,  28,   0, 
  3829       0,   0,   0,   4, 255, 255, 
  3830       0,   1,   0,   0,  69,   2, 
  3831       0,   0, 156,   0,   0,   0, 
  3832       3,   0,   0,   0,   0,   0, 
  3833       0,   0,   0,   0,   0,   0, 
  3834       0,   0,   0,   0,   0,   0, 
  3835       0,   0,   1,   0,   0,   0, 
  3836       1,   0,   0,   0, 165,   0, 
  3837       0,   0,   2,   0,   0,   0, 
  3838       5,   0,   0,   0,   4,   0, 
  3839       0,   0, 255, 255, 255, 255, 
  3840       0,   0,   0,   0,   1,   0, 
  3841       0,   0,  12,   0,   0,   0, 
  3842     170,   0,   0,   0,   2,   0, 
  3843       0,   0,   5,   0,   0,   0, 
  3844       4,   0,   0,   0, 255, 255, 
  3845     255, 255,   3,   0,   0,   0, 
  3846       1,   0,   0,   0,  13,   0, 
  3847       0,   0, 176,   0,   0,   0, 
  3848       0,   0,   0,   0,   0,   0, 
  3849       0,   0,   0,   0,   0,   0, 
  3850       0,   0,   0,   0,   0,   0, 
  3851       0,   0,   1,   0,   0,   0, 
  3852       0,   0,   0,   0, 115,  83, 
  3853      97, 109, 112, 108, 101, 114, 
  3854       0, 116,  82,  71,  66,   0, 
  3855     116,  77,  97, 115, 107,   0, 
  3856      36,  71, 108, 111,  98,  97, 
  3857     108, 115,   0, 171, 171, 171, 
  3858     176,   0,   0,   0,   8,   0, 
  3859       0,   0, 212,   0,   0,   0, 
  3860     224,   0,   0,   0,   0,   0, 
  3861       0,   0,   0,   0,   0,   0, 
  3862     148,   1,   0,   0,   0,   0, 
  3863       0,   0,  16,   0,   0,   0, 
  3864       0,   0,   0,   0, 160,   1, 
  3865       0,   0,   0,   0,   0,   0, 
  3866     176,   1,   0,   0,  16,   0, 
  3867       0,   0,   4,   0,   0,   0, 
  3868       2,   0,   0,   0, 192,   1, 
  3869       0,   0,   0,   0,   0,   0, 
  3870     208,   1,   0,   0,  32,   0, 
  3871       0,   0,  64,   0,   0,   0, 
  3872       0,   0,   0,   0, 224,   1, 
  3873       0,   0,   0,   0,   0,   0, 
  3874     240,   1,   0,   0,  96,   0, 
  3875       0,   0,  64,   0,   0,   0, 
  3876       0,   0,   0,   0, 224,   1, 
  3877       0,   0,   0,   0,   0,   0, 
  3878     252,   1,   0,   0, 160,   0, 
  3879       0,   0,  16,   0,   0,   0, 
  3880       0,   0,   0,   0, 160,   1, 
  3881       0,   0,   0,   0,   0,   0, 
  3882      16,   2,   0,   0, 176,   0, 
  3883       0,   0,  16,   0,   0,   0, 
  3884       0,   0,   0,   0,  32,   2, 
  3885       0,   0,   0,   0,   0,   0, 
  3886      48,   2,   0,   0, 192,   0, 
  3887       0,   0,  16,   0,   0,   0, 
  3888       0,   0,   0,   0,  32,   2, 
  3889       0,   0,   0,   0,   0,   0, 
  3890      59,   2,   0,   0, 208,   0, 
  3891       0,   0,  16,   0,   0,   0, 
  3892       0,   0,   0,   0,  32,   2, 
  3893       0,   0,   0,   0,   0,   0, 
  3894     102,  76,  97, 121, 101, 114, 
  3895      67, 111, 108, 111, 114,   0, 
  3896       1,   0,   3,   0,   1,   0, 
  3897       4,   0,   0,   0,   0,   0, 
  3898       0,   0,   0,   0, 102,  76, 
  3899      97, 121, 101, 114,  79, 112, 
  3900      97,  99, 105, 116, 121,   0, 
  3901     171, 171,   0,   0,   3,   0, 
  3902       1,   0,   1,   0,   0,   0, 
  3903       0,   0,   0,   0,   0,   0, 
  3904     109,  76,  97, 121, 101, 114, 
  3905      84, 114,  97, 110, 115, 102, 
  3906     111, 114, 109,   0,   3,   0, 
  3907       3,   0,   4,   0,   4,   0, 
  3908       0,   0,   0,   0,   0,   0, 
  3909       0,   0, 109,  80, 114, 111, 
  3910     106, 101,  99, 116, 105, 111, 
  3911     110,   0, 118,  82, 101, 110, 
  3912     100, 101, 114,  84,  97, 114, 
  3913     103, 101, 116,  79, 102, 102, 
  3914     115, 101, 116,   0, 118,  84, 
  3915     101, 120, 116, 117, 114, 101, 
  3916      67, 111, 111, 114, 100, 115, 
  3917       0, 171,   1,   0,   3,   0, 
  3918       1,   0,   4,   0,   0,   0, 
  3919       0,   0,   0,   0,   0,   0, 
  3920     118,  76,  97, 121, 101, 114, 
  3921      81, 117,  97, 100,   0, 118, 
  3922      77,  97, 115, 107,  81, 117, 
  3923      97, 100,   0,  77, 105,  99, 
  3924     114, 111, 115, 111, 102, 116, 
  3925      32,  40,  82,  41,  32,  72, 
  3926      76,  83,  76,  32,  83, 104, 
  3927      97, 100, 101, 114,  32,  67, 
  3928     111, 109, 112, 105, 108, 101, 
  3929     114,  32,  57,  46,  50,  57, 
  3930      46,  57,  53,  50,  46,  51, 
  3931      49,  49,  49,   0, 171, 171, 
  3932      73,  83,  71,  78, 104,   0, 
  3933       0,   0,   3,   0,   0,   0, 
  3934       8,   0,   0,   0,  80,   0, 
  3935       0,   0,   0,   0,   0,   0, 
  3936       1,   0,   0,   0,   3,   0, 
  3937       0,   0,   0,   0,   0,   0, 
  3938      15,   0,   0,   0,  92,   0, 
  3939       0,   0,   0,   0,   0,   0, 
  3940       0,   0,   0,   0,   3,   0, 
  3941       0,   0,   1,   0,   0,   0, 
  3942       3,   3,   0,   0,  92,   0, 
  3943       0,   0,   1,   0,   0,   0, 
  3944       0,   0,   0,   0,   3,   0, 
  3945       0,   0,   1,   0,   0,   0, 
  3946      12,  12,   0,   0,  83,  86, 
  3947      95,  80, 111, 115, 105, 116, 
  3948     105, 111, 110,   0,  84,  69, 
  3949      88,  67,  79,  79,  82,  68, 
  3950       0, 171, 171, 171,  79,  83, 
  3951      71,  78,  44,   0,   0,   0, 
  3952       1,   0,   0,   0,   8,   0, 
  3953       0,   0,  32,   0,   0,   0, 
  3954       0,   0,   0,   0,   0,   0, 
  3955       0,   0,   3,   0,   0,   0, 
  3956       0,   0,   0,   0,  15,   0, 
  3957       0,   0,  83,  86,  95,  84, 
  3958      97, 114, 103, 101, 116,   0, 
  3959     171, 171
  3960 };
  3961 #if 0
  3962 //
  3963 // Generated by Microsoft (R) HLSL Shader Compiler 9.29.952.3111
  3964 //
  3965 //
  3966 //   fxc CompositorD3D11.fx -ERGBAShaderMask3D -Tps_4_0_level_9_3 -nologo
  3967 //    -FhtmpShaderHeader -VnRGBAShaderMask3D
  3968 //
  3969 //
  3970 // Buffer Definitions: 
  3971 //
  3972 // cbuffer $Globals
  3973 // {
  3974 //
  3975 //   float4 fLayerColor;                // Offset:    0 Size:    16 [unused]
  3976 //   float fLayerOpacity;               // Offset:   16 Size:     4
  3977 //   float4x4 mLayerTransform;          // Offset:   32 Size:    64 [unused]
  3978 //   float4x4 mProjection;              // Offset:   96 Size:    64 [unused]
  3979 //   float4 vRenderTargetOffset;        // Offset:  160 Size:    16 [unused]
  3980 //   float4 vTextureCoords;             // Offset:  176 Size:    16 [unused]
  3981 //   float4 vLayerQuad;                 // Offset:  192 Size:    16 [unused]
  3982 //   float4 vMaskQuad;                  // Offset:  208 Size:    16 [unused]
  3983 //
  3984 // }
  3985 //
  3986 //
  3987 // Resource Bindings:
  3988 //
  3989 // Name                                 Type  Format         Dim Slot Elements
  3990 // ------------------------------ ---------- ------- ----------- ---- --------
  3991 // sSampler                          sampler      NA          NA    0        1
  3992 // LayerTextureSamplerLinear         sampler      NA          NA    1        1
  3993 // tRGB                              texture  float4          2d    0        1
  3994 // tMask                             texture  float4          2d    3        1
  3995 // $Globals                          cbuffer      NA          NA    0        1
  3996 //
  3997 //
  3998 //
  3999 // Input signature:
  4000 //
  4001 // Name                 Index   Mask Register SysValue Format   Used
  4002 // -------------------- ----- ------ -------- -------- ------ ------
  4003 // SV_Position              0   xyzw        0      POS  float       
  4004 // TEXCOORD                 0   xy          1     NONE  float   xy  
  4005 // TEXCOORD                 1   xyz         2     NONE  float   xyz 
  4006 //
  4007 //
  4008 // Output signature:
  4009 //
  4010 // Name                 Index   Mask Register SysValue Format   Used
  4011 // -------------------- ----- ------ -------- -------- ------ ------
  4012 // SV_Target                0   xyzw        0   TARGET  float   xyzw
  4013 //
  4014 //
  4015 // Constant buffer to DX9 shader constant mappings:
  4016 //
  4017 // Target Reg Buffer  Start Reg # of Regs        Data Conversion
  4018 // ---------- ------- --------- --------- ----------------------
  4019 // c0         cb0             1         1  ( FLT, FLT, FLT, FLT)
  4020 //
  4021 //
  4022 // Sampler/Resource to DX9 shader sampler mappings:
  4023 //
  4024 // Target Sampler Source Sampler  Source Resource
  4025 // -------------- --------------- ----------------
  4026 // s0             s0              t0               
  4027 // s1             s1              t3               
  4028 //
  4029 //
  4030 // Level9 shader bytecode:
  4031 //
  4032     ps_2_x
  4033     dcl t0.xy
  4034     dcl t1.xyz
  4035     dcl_2d s0
  4036     dcl_2d s1
  4037     rcp r0.w, t1.z
  4038     mul r0.xy, r0.w, t1
  4039     texld r1, t0, s0
  4040     texld r0, r0, s1
  4041     mul r1, r1, c0.x
  4042     mul r0, r0.w, r1
  4043     mov oC0, r0
  4045 // approximately 7 instruction slots used (2 texture, 5 arithmetic)
  4046 ps_4_0
  4047 dcl_constantbuffer cb0[2], immediateIndexed
  4048 dcl_sampler s0, mode_default
  4049 dcl_sampler s1, mode_default
  4050 dcl_resource_texture2d (float,float,float,float) t0
  4051 dcl_resource_texture2d (float,float,float,float) t3
  4052 dcl_input_ps linear v1.xy
  4053 dcl_input_ps linear v2.xyz
  4054 dcl_output o0.xyzw
  4055 dcl_temps 2
  4056 div r0.xy, v2.xyxx, v2.zzzz
  4057 sample r0.xyzw, r0.xyxx, t3.xyzw, s1
  4058 sample r1.xyzw, v1.xyxx, t0.xyzw, s0
  4059 mul r1.xyzw, r1.xyzw, cb0[1].xxxx
  4060 mul o0.xyzw, r0.wwww, r1.xyzw
  4061 ret 
  4062 // Approximately 6 instruction slots used
  4063 #endif
  4065 const BYTE RGBAShaderMask3D[] =
  4067      68,  88,  66,  67,  44,  91, 
  4068     221, 241,  68, 147, 240, 210, 
  4069     227, 186, 152,  41,  63, 147, 
  4070     120,  30,   1,   0,   0,   0, 
  4071      24,   6,   0,   0,   6,   0, 
  4072       0,   0,  56,   0,   0,   0, 
  4073      24,   1,   0,   0,  64,   2, 
  4074       0,   0, 188,   2,   0,   0, 
  4075     116,   5,   0,   0, 228,   5, 
  4076       0,   0,  65, 111, 110,  57, 
  4077     216,   0,   0,   0, 216,   0, 
  4078       0,   0,   0,   2, 255, 255, 
  4079     160,   0,   0,   0,  56,   0, 
  4080       0,   0,   1,   0,  44,   0, 
  4081       0,   0,  56,   0,   0,   0, 
  4082      56,   0,   2,   0,  36,   0, 
  4083       0,   0,  56,   0,   0,   0, 
  4084       0,   0,   3,   1,   1,   0, 
  4085       0,   0,   1,   0,   1,   0, 
  4086       0,   0,   0,   0,   0,   0, 
  4087       1,   2, 255, 255,  31,   0, 
  4088       0,   2,   0,   0,   0, 128, 
  4089       0,   0,   3, 176,  31,   0, 
  4090       0,   2,   0,   0,   0, 128, 
  4091       1,   0,   7, 176,  31,   0, 
  4092       0,   2,   0,   0,   0, 144, 
  4093       0,   8,  15, 160,  31,   0, 
  4094       0,   2,   0,   0,   0, 144, 
  4095       1,   8,  15, 160,   6,   0, 
  4096       0,   2,   0,   0,   8, 128, 
  4097       1,   0, 170, 176,   5,   0, 
  4098       0,   3,   0,   0,   3, 128, 
  4099       0,   0, 255, 128,   1,   0, 
  4100     228, 176,  66,   0,   0,   3, 
  4101       1,   0,  15, 128,   0,   0, 
  4102     228, 176,   0,   8, 228, 160, 
  4103      66,   0,   0,   3,   0,   0, 
  4104      15, 128,   0,   0, 228, 128, 
  4105       1,   8, 228, 160,   5,   0, 
  4106       0,   3,   1,   0,  15, 128, 
  4107       1,   0, 228, 128,   0,   0, 
  4108       0, 160,   5,   0,   0,   3, 
  4109       0,   0,  15, 128,   0,   0, 
  4110     255, 128,   1,   0, 228, 128, 
  4111       1,   0,   0,   2,   0,   8, 
  4112      15, 128,   0,   0, 228, 128, 
  4113     255, 255,   0,   0,  83,  72, 
  4114      68,  82,  32,   1,   0,   0, 
  4115      64,   0,   0,   0,  72,   0, 
  4116       0,   0,  89,   0,   0,   4, 
  4117      70, 142,  32,   0,   0,   0, 
  4118       0,   0,   2,   0,   0,   0, 
  4119      90,   0,   0,   3,   0,  96, 
  4120      16,   0,   0,   0,   0,   0, 
  4121      90,   0,   0,   3,   0,  96, 
  4122      16,   0,   1,   0,   0,   0, 
  4123      88,  24,   0,   4,   0, 112, 
  4124      16,   0,   0,   0,   0,   0, 
  4125      85,  85,   0,   0,  88,  24, 
  4126       0,   4,   0, 112,  16,   0, 
  4127       3,   0,   0,   0,  85,  85, 
  4128       0,   0,  98,  16,   0,   3, 
  4129      50,  16,  16,   0,   1,   0, 
  4130       0,   0,  98,  16,   0,   3, 
  4131     114,  16,  16,   0,   2,   0, 
  4132       0,   0, 101,   0,   0,   3, 
  4133     242,  32,  16,   0,   0,   0, 
  4134       0,   0, 104,   0,   0,   2, 
  4135       2,   0,   0,   0,  14,   0, 
  4136       0,   7,  50,   0,  16,   0, 
  4137       0,   0,   0,   0,  70,  16, 
  4138      16,   0,   2,   0,   0,   0, 
  4139     166,  26,  16,   0,   2,   0, 
  4140       0,   0,  69,   0,   0,   9, 
  4141     242,   0,  16,   0,   0,   0, 
  4142       0,   0,  70,   0,  16,   0, 
  4143       0,   0,   0,   0,  70, 126, 
  4144      16,   0,   3,   0,   0,   0, 
  4145       0,  96,  16,   0,   1,   0, 
  4146       0,   0,  69,   0,   0,   9, 
  4147     242,   0,  16,   0,   1,   0, 
  4148       0,   0,  70,  16,  16,   0, 
  4149       1,   0,   0,   0,  70, 126, 
  4150      16,   0,   0,   0,   0,   0, 
  4151       0,  96,  16,   0,   0,   0, 
  4152       0,   0,  56,   0,   0,   8, 
  4153     242,   0,  16,   0,   1,   0, 
  4154       0,   0,  70,  14,  16,   0, 
  4155       1,   0,   0,   0,   6, 128, 
  4156      32,   0,   0,   0,   0,   0, 
  4157       1,   0,   0,   0,  56,   0, 
  4158       0,   7, 242,  32,  16,   0, 
  4159       0,   0,   0,   0, 246,  15, 
  4160      16,   0,   0,   0,   0,   0, 
  4161      70,  14,  16,   0,   1,   0, 
  4162       0,   0,  62,   0,   0,   1, 
  4163      83,  84,  65,  84, 116,   0, 
  4164       0,   0,   6,   0,   0,   0, 
  4165       2,   0,   0,   0,   0,   0, 
  4166       0,   0,   3,   0,   0,   0, 
  4167       3,   0,   0,   0,   0,   0, 
  4168       0,   0,   0,   0,   0,   0, 
  4169       1,   0,   0,   0,   0,   0, 
  4170       0,   0,   0,   0,   0,   0, 
  4171       0,   0,   0,   0,   0,   0, 
  4172       0,   0,   0,   0,   0,   0, 
  4173       0,   0,   0,   0,   2,   0, 
  4174       0,   0,   0,   0,   0,   0, 
  4175       0,   0,   0,   0,   0,   0, 
  4176       0,   0,   0,   0,   0,   0, 
  4177       0,   0,   0,   0,   0,   0, 
  4178       0,   0,   0,   0,   0,   0, 
  4179       0,   0,   0,   0,   0,   0, 
  4180       0,   0,   0,   0,   0,   0, 
  4181       0,   0,   0,   0,   0,   0, 
  4182       0,   0,   0,   0,   0,   0, 
  4183       0,   0,   0,   0,  82,  68, 
  4184      69,  70, 176,   2,   0,   0, 
  4185       1,   0,   0,   0, 244,   0, 
  4186       0,   0,   5,   0,   0,   0, 
  4187      28,   0,   0,   0,   0,   4, 
  4188     255, 255,   0,   1,   0,   0, 
  4189     125,   2,   0,   0, 188,   0, 
  4190       0,   0,   3,   0,   0,   0, 
  4191       0,   0,   0,   0,   0,   0, 
  4192       0,   0,   0,   0,   0,   0, 
  4193       0,   0,   0,   0,   1,   0, 
  4194       0,   0,   1,   0,   0,   0, 
  4195     197,   0,   0,   0,   3,   0, 
  4196       0,   0,   0,   0,   0,   0, 
  4197       0,   0,   0,   0,   0,   0, 
  4198       0,   0,   1,   0,   0,   0, 
  4199       1,   0,   0,   0,   0,   0, 
  4200       0,   0, 223,   0,   0,   0, 
  4201       2,   0,   0,   0,   5,   0, 
  4202       0,   0,   4,   0,   0,   0, 
  4203     255, 255, 255, 255,   0,   0, 
  4204       0,   0,   1,   0,   0,   0, 
  4205      12,   0,   0,   0, 228,   0, 
  4206       0,   0,   2,   0,   0,   0, 
  4207       5,   0,   0,   0,   4,   0, 
  4208       0,   0, 255, 255, 255, 255, 
  4209       3,   0,   0,   0,   1,   0, 
  4210       0,   0,  13,   0,   0,   0, 
  4211     234,   0,   0,   0,   0,   0, 
  4212       0,   0,   0,   0,   0,   0, 
  4213       0,   0,   0,   0,   0,   0, 
  4214       0,   0,   0,   0,   0,   0, 
  4215       1,   0,   0,   0,   0,   0, 
  4216       0,   0, 115,  83,  97, 109, 
  4217     112, 108, 101, 114,   0,  76, 
  4218      97, 121, 101, 114,  84, 101, 
  4219     120, 116, 117, 114, 101,  83, 
  4220      97, 109, 112, 108, 101, 114, 
  4221      76, 105, 110, 101,  97, 114, 
  4222       0, 116,  82,  71,  66,   0, 
  4223     116,  77,  97, 115, 107,   0, 
  4224      36,  71, 108, 111,  98,  97, 
  4225     108, 115,   0, 171, 234,   0, 
  4226       0,   0,   8,   0,   0,   0, 
  4227      12,   1,   0,   0, 224,   0, 
  4228       0,   0,   0,   0,   0,   0, 
  4229       0,   0,   0,   0, 204,   1, 
  4230       0,   0,   0,   0,   0,   0, 
  4231      16,   0,   0,   0,   0,   0, 
  4232       0,   0, 216,   1,   0,   0, 
  4233       0,   0,   0,   0, 232,   1, 
  4234       0,   0,  16,   0,   0,   0, 
  4235       4,   0,   0,   0,   2,   0, 
  4236       0,   0, 248,   1,   0,   0, 
  4237       0,   0,   0,   0,   8,   2, 
  4238       0,   0,  32,   0,   0,   0, 
  4239      64,   0,   0,   0,   0,   0, 
  4240       0,   0,  24,   2,   0,   0, 
  4241       0,   0,   0,   0,  40,   2, 
  4242       0,   0,  96,   0,   0,   0, 
  4243      64,   0,   0,   0,   0,   0, 
  4244       0,   0,  24,   2,   0,   0, 
  4245       0,   0,   0,   0,  52,   2, 
  4246       0,   0, 160,   0,   0,   0, 
  4247      16,   0,   0,   0,   0,   0, 
  4248       0,   0, 216,   1,   0,   0, 
  4249       0,   0,   0,   0,  72,   2, 
  4250       0,   0, 176,   0,   0,   0, 
  4251      16,   0,   0,   0,   0,   0, 
  4252       0,   0,  88,   2,   0,   0, 
  4253       0,   0,   0,   0, 104,   2, 
  4254       0,   0, 192,   0,   0,   0, 
  4255      16,   0,   0,   0,   0,   0, 
  4256       0,   0,  88,   2,   0,   0, 
  4257       0,   0,   0,   0, 115,   2, 
  4258       0,   0, 208,   0,   0,   0, 
  4259      16,   0,   0,   0,   0,   0, 
  4260       0,   0,  88,   2,   0,   0, 
  4261       0,   0,   0,   0, 102,  76, 
  4262      97, 121, 101, 114,  67, 111, 
  4263     108, 111, 114,   0,   1,   0, 
  4264       3,   0,   1,   0,   4,   0, 
  4265       0,   0,   0,   0,   0,   0, 
  4266       0,   0, 102,  76,  97, 121, 
  4267     101, 114,  79, 112,  97,  99, 
  4268     105, 116, 121,   0, 171, 171, 
  4269       0,   0,   3,   0,   1,   0, 
  4270       1,   0,   0,   0,   0,   0, 
  4271       0,   0,   0,   0, 109,  76, 
  4272      97, 121, 101, 114,  84, 114, 
  4273      97, 110, 115, 102, 111, 114, 
  4274     109,   0,   3,   0,   3,   0, 
  4275       4,   0,   4,   0,   0,   0, 
  4276       0,   0,   0,   0,   0,   0, 
  4277     109,  80, 114, 111, 106, 101, 
  4278      99, 116, 105, 111, 110,   0, 
  4279     118,  82, 101, 110, 100, 101, 
  4280     114,  84,  97, 114, 103, 101, 
  4281     116,  79, 102, 102, 115, 101, 
  4282     116,   0, 118,  84, 101, 120, 
  4283     116, 117, 114, 101,  67, 111, 
  4284     111, 114, 100, 115,   0, 171, 
  4285       1,   0,   3,   0,   1,   0, 
  4286       4,   0,   0,   0,   0,   0, 
  4287       0,   0,   0,   0, 118,  76, 
  4288      97, 121, 101, 114,  81, 117, 
  4289      97, 100,   0, 118,  77,  97, 
  4290     115, 107,  81, 117,  97, 100, 
  4291       0,  77, 105,  99, 114, 111, 
  4292     115, 111, 102, 116,  32,  40, 
  4293      82,  41,  32,  72,  76,  83, 
  4294      76,  32,  83, 104,  97, 100, 
  4295     101, 114,  32,  67, 111, 109, 
  4296     112, 105, 108, 101, 114,  32, 
  4297      57,  46,  50,  57,  46,  57, 
  4298      53,  50,  46,  51,  49,  49, 
  4299      49,   0, 171, 171,  73,  83, 
  4300      71,  78, 104,   0,   0,   0, 
  4301       3,   0,   0,   0,   8,   0, 
  4302       0,   0,  80,   0,   0,   0, 
  4303       0,   0,   0,   0,   1,   0, 
  4304       0,   0,   3,   0,   0,   0, 
  4305       0,   0,   0,   0,  15,   0, 
  4306       0,   0,  92,   0,   0,   0, 
  4307       0,   0,   0,   0,   0,   0, 
  4308       0,   0,   3,   0,   0,   0, 
  4309       1,   0,   0,   0,   3,   3, 
  4310       0,   0,  92,   0,   0,   0, 
  4311       1,   0,   0,   0,   0,   0, 
  4312       0,   0,   3,   0,   0,   0, 
  4313       2,   0,   0,   0,   7,   7, 
  4314       0,   0,  83,  86,  95,  80, 
  4315     111, 115, 105, 116, 105, 111, 
  4316     110,   0,  84,  69,  88,  67, 
  4317      79,  79,  82,  68,   0, 171, 
  4318     171, 171,  79,  83,  71,  78, 
  4319      44,   0,   0,   0,   1,   0, 
  4320       0,   0,   8,   0,   0,   0, 
  4321      32,   0,   0,   0,   0,   0, 
  4322       0,   0,   0,   0,   0,   0, 
  4323       3,   0,   0,   0,   0,   0, 
  4324       0,   0,  15,   0,   0,   0, 
  4325      83,  86,  95,  84,  97, 114, 
  4326     103, 101, 116,   0, 171, 171
  4327 };
  4328 #if 0
  4329 //
  4330 // Generated by Microsoft (R) HLSL Shader Compiler 9.29.952.3111
  4331 //
  4332 //
  4333 //   fxc CompositorD3D11.fx -EYCbCrShaderMask -Tps_4_0_level_9_3 -nologo
  4334 //    -FhtmpShaderHeader -VnYCbCrShaderMask
  4335 //
  4336 //
  4337 // Buffer Definitions: 
  4338 //
  4339 // cbuffer $Globals
  4340 // {
  4341 //
  4342 //   float4 fLayerColor;                // Offset:    0 Size:    16 [unused]
  4343 //   float fLayerOpacity;               // Offset:   16 Size:     4
  4344 //   float4x4 mLayerTransform;          // Offset:   32 Size:    64 [unused]
  4345 //   float4x4 mProjection;              // Offset:   96 Size:    64 [unused]
  4346 //   float4 vRenderTargetOffset;        // Offset:  160 Size:    16 [unused]
  4347 //   float4 vTextureCoords;             // Offset:  176 Size:    16 [unused]
  4348 //   float4 vLayerQuad;                 // Offset:  192 Size:    16 [unused]
  4349 //   float4 vMaskQuad;                  // Offset:  208 Size:    16 [unused]
  4350 //
  4351 // }
  4352 //
  4353 //
  4354 // Resource Bindings:
  4355 //
  4356 // Name                                 Type  Format         Dim Slot Elements
  4357 // ------------------------------ ---------- ------- ----------- ---- --------
  4358 // sSampler                          sampler      NA          NA    0        1
  4359 // tY                                texture  float4          2d    0        1
  4360 // tCb                               texture  float4          2d    1        1
  4361 // tCr                               texture  float4          2d    2        1
  4362 // tMask                             texture  float4          2d    3        1
  4363 // $Globals                          cbuffer      NA          NA    0        1
  4364 //
  4365 //
  4366 //
  4367 // Input signature:
  4368 //
  4369 // Name                 Index   Mask Register SysValue Format   Used
  4370 // -------------------- ----- ------ -------- -------- ------ ------
  4371 // SV_Position              0   xyzw        0      POS  float       
  4372 // TEXCOORD                 0   xy          1     NONE  float   xy  
  4373 // TEXCOORD                 1     zw        1     NONE  float     zw
  4374 //
  4375 //
  4376 // Output signature:
  4377 //
  4378 // Name                 Index   Mask Register SysValue Format   Used
  4379 // -------------------- ----- ------ -------- -------- ------ ------
  4380 // SV_Target                0   xyzw        0   TARGET  float   xyzw
  4381 //
  4382 //
  4383 // Constant buffer to DX9 shader constant mappings:
  4384 //
  4385 // Target Reg Buffer  Start Reg # of Regs        Data Conversion
  4386 // ---------- ------- --------- --------- ----------------------
  4387 // c0         cb0             1         1  ( FLT, FLT, FLT, FLT)
  4388 //
  4389 //
  4390 // Sampler/Resource to DX9 shader sampler mappings:
  4391 //
  4392 // Target Sampler Source Sampler  Source Resource
  4393 // -------------- --------------- ----------------
  4394 // s0             s0              t3               
  4395 // s1             s0              t0               
  4396 // s2             s0              t1               
  4397 // s3             s0              t2               
  4398 //
  4399 //
  4400 // Level9 shader bytecode:
  4401 //
  4402     ps_2_x
  4403     def c1, -0.5, -0.0625, 1.59599996, 0.813000023
  4404     def c2, 1.16400003, 2.01799989, 0.391000003, 1
  4405     dcl t0
  4406     dcl_2d s0
  4407     dcl_2d s1
  4408     dcl_2d s2
  4409     dcl_2d s3
  4410     texld r0, t0, s1
  4411     texld r1, t0, s3
  4412     add r0.x, r1.w, c1.x
  4413     mul r0.xy, r0.x, c1.zwzw
  4414     add r0.z, r0.w, c1.y
  4415     mad r0.y, r0.z, c2.x, -r0.y
  4416     mad r1.x, r0.z, c2.x, r0.x
  4417     mov r2.xy, t0.wzzw
  4418     texld r3, t0, s2
  4419     texld r2, r2, s0
  4420     add r0.x, r3.w, c1.x
  4421     mad r1.y, r0.x, -c2.z, r0.y
  4422     mul r0.x, r0.x, c2.y
  4423     mad r1.z, r0.z, c2.x, r0.x
  4424     mov r1.w, c2.w
  4425     mul r0, r1, c0.x
  4426     mul r0, r2.w, r0
  4427     mov oC0, r0
  4429 // approximately 18 instruction slots used (4 texture, 14 arithmetic)
  4430 ps_4_0
  4431 dcl_constantbuffer cb0[2], immediateIndexed
  4432 dcl_sampler s0, mode_default
  4433 dcl_resource_texture2d (float,float,float,float) t0
  4434 dcl_resource_texture2d (float,float,float,float) t1
  4435 dcl_resource_texture2d (float,float,float,float) t2
  4436 dcl_resource_texture2d (float,float,float,float) t3
  4437 dcl_input_ps linear v1.xy
  4438 dcl_input_ps linear v1.zw
  4439 dcl_output o0.xyzw
  4440 dcl_temps 3
  4441 sample r0.xyzw, v1.xyxx, t2.xyzw, s0
  4442 add r0.x, r0.w, l(-0.500000)
  4443 mul r0.xy, r0.xxxx, l(1.596000, 0.813000, 0.000000, 0.000000)
  4444 sample r1.xyzw, v1.xyxx, t0.xyzw, s0
  4445 add r0.z, r1.w, l(-0.062500)
  4446 mad r0.y, r0.z, l(1.164000), -r0.y
  4447 mad r1.x, r0.z, l(1.164000), r0.x
  4448 sample r2.xyzw, v1.xyxx, t1.xyzw, s0
  4449 add r0.x, r2.w, l(-0.500000)
  4450 mad r1.y, -r0.x, l(0.391000), r0.y
  4451 mul r0.x, r0.x, l(2.018000)
  4452 mad r1.z, r0.z, l(1.164000), r0.x
  4453 mov r1.w, l(1.000000)
  4454 mul r0.xyzw, r1.xyzw, cb0[1].xxxx
  4455 sample r1.xyzw, v1.zwzz, t3.xyzw, s0
  4456 mul o0.xyzw, r0.xyzw, r1.wwww
  4457 ret 
  4458 // Approximately 17 instruction slots used
  4459 #endif
  4461 const BYTE YCbCrShaderMask[] =
  4463      68,  88,  66,  67, 129,  98, 
  4464      44, 194,  35,  91, 102,  10, 
  4465     204, 216, 255, 140,  38, 205, 
  4466      76,  26,   1,   0,   0,   0, 
  4467     168,   8,   0,   0,   6,   0, 
  4468       0,   0,  56,   0,   0,   0, 
  4469      24,   2,   0,   0, 196,   4, 
  4470       0,   0,  64,   5,   0,   0, 
  4471       4,   8,   0,   0, 116,   8, 
  4472       0,   0,  65, 111, 110,  57, 
  4473     216,   1,   0,   0, 216,   1, 
  4474       0,   0,   0,   2, 255, 255, 
  4475     152,   1,   0,   0,  64,   0, 
  4476       0,   0,   1,   0,  52,   0, 
  4477       0,   0,  64,   0,   0,   0, 
  4478      64,   0,   4,   0,  36,   0, 
  4479       0,   0,  64,   0,   3,   0, 
  4480       0,   0,   0,   0,   1,   0, 
  4481       1,   0,   2,   0,   2,   0, 
  4482       3,   0,   0,   0,   1,   0, 
  4483       1,   0,   0,   0,   0,   0, 
  4484       0,   0,   1,   2, 255, 255, 
  4485      81,   0,   0,   5,   1,   0, 
  4486      15, 160,   0,   0,   0, 191, 
  4487       0,   0, 128, 189, 186,  73, 
  4488     204,  63, 197,  32,  80,  63, 
  4489      81,   0,   0,   5,   2,   0, 
  4490      15, 160, 244, 253, 148,  63, 
  4491     233,  38,   1,  64,  39,  49, 
  4492     200,  62,   0,   0, 128,  63, 
  4493      31,   0,   0,   2,   0,   0, 
  4494       0, 128,   0,   0,  15, 176, 
  4495      31,   0,   0,   2,   0,   0, 
  4496       0, 144,   0,   8,  15, 160, 
  4497      31,   0,   0,   2,   0,   0, 
  4498       0, 144,   1,   8,  15, 160, 
  4499      31,   0,   0,   2,   0,   0, 
  4500       0, 144,   2,   8,  15, 160, 
  4501      31,   0,   0,   2,   0,   0, 
  4502       0, 144,   3,   8,  15, 160, 
  4503      66,   0,   0,   3,   0,   0, 
  4504      15, 128,   0,   0, 228, 176, 
  4505       1,   8, 228, 160,  66,   0, 
  4506       0,   3,   1,   0,  15, 128, 
  4507       0,   0, 228, 176,   3,   8, 
  4508     228, 160,   2,   0,   0,   3, 
  4509       0,   0,   1, 128,   1,   0, 
  4510     255, 128,   1,   0,   0, 160, 
  4511       5,   0,   0,   3,   0,   0, 
  4512       3, 128,   0,   0,   0, 128, 
  4513       1,   0, 238, 160,   2,   0, 
  4514       0,   3,   0,   0,   4, 128, 
  4515       0,   0, 255, 128,   1,   0, 
  4516      85, 160,   4,   0,   0,   4, 
  4517       0,   0,   2, 128,   0,   0, 
  4518     170, 128,   2,   0,   0, 160, 
  4519       0,   0,  85, 129,   4,   0, 
  4520       0,   4,   1,   0,   1, 128, 
  4521       0,   0, 170, 128,   2,   0, 
  4522       0, 160,   0,   0,   0, 128, 
  4523       1,   0,   0,   2,   2,   0, 
  4524       3, 128,   0,   0, 235, 176, 
  4525      66,   0,   0,   3,   3,   0, 
  4526      15, 128,   0,   0, 228, 176, 
  4527       2,   8, 228, 160,  66,   0, 
  4528       0,   3,   2,   0,  15, 128, 
  4529       2,   0, 228, 128,   0,   8, 
  4530     228, 160,   2,   0,   0,   3, 
  4531       0,   0,   1, 128,   3,   0, 
  4532     255, 128,   1,   0,   0, 160, 
  4533       4,   0,   0,   4,   1,   0, 
  4534       2, 128,   0,   0,   0, 128, 
  4535       2,   0, 170, 161,   0,   0, 
  4536      85, 128,   5,   0,   0,   3, 
  4537       0,   0,   1, 128,   0,   0, 
  4538       0, 128,   2,   0,  85, 160, 
  4539       4,   0,   0,   4,   1,   0, 
  4540       4, 128,   0,   0, 170, 128, 
  4541       2,   0,   0, 160,   0,   0, 
  4542       0, 128,   1,   0,   0,   2, 
  4543       1,   0,   8, 128,   2,   0, 
  4544     255, 160,   5,   0,   0,   3, 
  4545       0,   0,  15, 128,   1,   0, 
  4546     228, 128,   0,   0,   0, 160, 
  4547       5,   0,   0,   3,   0,   0, 
  4548      15, 128,   2,   0, 255, 128, 
  4549       0,   0, 228, 128,   1,   0, 
  4550       0,   2,   0,   8,  15, 128, 
  4551       0,   0, 228, 128, 255, 255, 
  4552       0,   0,  83,  72,  68,  82, 
  4553     164,   2,   0,   0,  64,   0, 
  4554       0,   0, 169,   0,   0,   0, 
  4555      89,   0,   0,   4,  70, 142, 
  4556      32,   0,   0,   0,   0,   0, 
  4557       2,   0,   0,   0,  90,   0, 
  4558       0,   3,   0,  96,  16,   0, 
  4559       0,   0,   0,   0,  88,  24, 
  4560       0,   4,   0, 112,  16,   0, 
  4561       0,   0,   0,   0,  85,  85, 
  4562       0,   0,  88,  24,   0,   4, 
  4563       0, 112,  16,   0,   1,   0, 
  4564       0,   0,  85,  85,   0,   0, 
  4565      88,  24,   0,   4,   0, 112, 
  4566      16,   0,   2,   0,   0,   0, 
  4567      85,  85,   0,   0,  88,  24, 
  4568       0,   4,   0, 112,  16,   0, 
  4569       3,   0,   0,   0,  85,  85, 
  4570       0,   0,  98,  16,   0,   3, 
  4571      50,  16,  16,   0,   1,   0, 
  4572       0,   0,  98,  16,   0,   3, 
  4573     194,  16,  16,   0,   1,   0, 
  4574       0,   0, 101,   0,   0,   3, 
  4575     242,  32,  16,   0,   0,   0, 
  4576       0,   0, 104,   0,   0,   2, 
  4577       3,   0,   0,   0,  69,   0, 
  4578       0,   9, 242,   0,  16,   0, 
  4579       0,   0,   0,   0,  70,  16, 
  4580      16,   0,   1,   0,   0,   0, 
  4581      70, 126,  16,   0,   2,   0, 
  4582       0,   0,   0,  96,  16,   0, 
  4583       0,   0,   0,   0,   0,   0, 
  4584       0,   7,  18,   0,  16,   0, 
  4585       0,   0,   0,   0,  58,   0, 
  4586      16,   0,   0,   0,   0,   0, 
  4587       1,  64,   0,   0,   0,   0, 
  4588       0, 191,  56,   0,   0,  10, 
  4589      50,   0,  16,   0,   0,   0, 
  4590       0,   0,   6,   0,  16,   0, 
  4591       0,   0,   0,   0,   2,  64, 
  4592       0,   0, 186,  73, 204,  63, 
  4593     197,  32,  80,  63,   0,   0, 
  4594       0,   0,   0,   0,   0,   0, 
  4595      69,   0,   0,   9, 242,   0, 
  4596      16,   0,   1,   0,   0,   0, 
  4597      70,  16,  16,   0,   1,   0, 
  4598       0,   0,  70, 126,  16,   0, 
  4599       0,   0,   0,   0,   0,  96, 
  4600      16,   0,   0,   0,   0,   0, 
  4601       0,   0,   0,   7,  66,   0, 
  4602      16,   0,   0,   0,   0,   0, 
  4603      58,   0,  16,   0,   1,   0, 
  4604       0,   0,   1,  64,   0,   0, 
  4605       0,   0, 128, 189,  50,   0, 
  4606       0,  10,  34,   0,  16,   0, 
  4607       0,   0,   0,   0,  42,   0, 
  4608      16,   0,   0,   0,   0,   0, 
  4609       1,  64,   0,   0, 244, 253, 
  4610     148,  63,  26,   0,  16, 128, 
  4611      65,   0,   0,   0,   0,   0, 
  4612       0,   0,  50,   0,   0,   9, 
  4613      18,   0,  16,   0,   1,   0, 
  4614       0,   0,  42,   0,  16,   0, 
  4615       0,   0,   0,   0,   1,  64, 
  4616       0,   0, 244, 253, 148,  63, 
  4617      10,   0,  16,   0,   0,   0, 
  4618       0,   0,  69,   0,   0,   9, 
  4619     242,   0,  16,   0,   2,   0, 
  4620       0,   0,  70,  16,  16,   0, 
  4621       1,   0,   0,   0,  70, 126, 
  4622      16,   0,   1,   0,   0,   0, 
  4623       0,  96,  16,   0,   0,   0, 
  4624       0,   0,   0,   0,   0,   7, 
  4625      18,   0,  16,   0,   0,   0, 
  4626       0,   0,  58,   0,  16,   0, 
  4627       2,   0,   0,   0,   1,  64, 
  4628       0,   0,   0,   0,   0, 191, 
  4629      50,   0,   0,  10,  34,   0, 
  4630      16,   0,   1,   0,   0,   0, 
  4631      10,   0,  16, 128,  65,   0, 
  4632       0,   0,   0,   0,   0,   0, 
  4633       1,  64,   0,   0,  39,  49, 
  4634     200,  62,  26,   0,  16,   0, 
  4635       0,   0,   0,   0,  56,   0, 
  4636       0,   7,  18,   0,  16,   0, 
  4637       0,   0,   0,   0,  10,   0, 
  4638      16,   0,   0,   0,   0,   0, 
  4639       1,  64,   0,   0, 233,  38, 
  4640       1,  64,  50,   0,   0,   9, 
  4641      66,   0,  16,   0,   1,   0, 
  4642       0,   0,  42,   0,  16,   0, 
  4643       0,   0,   0,   0,   1,  64, 
  4644       0,   0, 244, 253, 148,  63, 
  4645      10,   0,  16,   0,   0,   0, 
  4646       0,   0,  54,   0,   0,   5, 
  4647     130,   0,  16,   0,   1,   0, 
  4648       0,   0,   1,  64,   0,   0, 
  4649       0,   0, 128,  63,  56,   0, 
  4650       0,   8, 242,   0,  16,   0, 
  4651       0,   0,   0,   0,  70,  14, 
  4652      16,   0,   1,   0,   0,   0, 
  4653       6, 128,  32,   0,   0,   0, 
  4654       0,   0,   1,   0,   0,   0, 
  4655      69,   0,   0,   9, 242,   0, 
  4656      16,   0,   1,   0,   0,   0, 
  4657     230,  26,  16,   0,   1,   0, 
  4658       0,   0,  70, 126,  16,   0, 
  4659       3,   0,   0,   0,   0,  96, 
  4660      16,   0,   0,   0,   0,   0, 
  4661      56,   0,   0,   7, 242,  32, 
  4662      16,   0,   0,   0,   0,   0, 
  4663      70,  14,  16,   0,   0,   0, 
  4664       0,   0, 246,  15,  16,   0, 
  4665       1,   0,   0,   0,  62,   0, 
  4666       0,   1,  83,  84,  65,  84, 
  4667     116,   0,   0,   0,  17,   0, 
  4668       0,   0,   3,   0,   0,   0, 
  4669       0,   0,   0,   0,   3,   0, 
  4670       0,   0,   7,   0,   0,   0, 
  4671       0,   0,   0,   0,   0,   0, 
  4672       0,   0,   1,   0,   0,   0, 
  4673       0,   0,   0,   0,   0,   0, 
  4674       0,   0,   0,   0,   0,   0, 
  4675       0,   0,   0,   0,   0,   0, 
  4676       0,   0,   0,   0,   0,   0, 
  4677       4,   0,   0,   0,   0,   0, 
  4678       0,   0,   0,   0,   0,   0, 
  4679       0,   0,   0,   0,   0,   0, 
  4680       0,   0,   1,   0,   0,   0, 
  4681       0,   0,   0,   0,   0,   0, 
  4682       0,   0,   0,   0,   0,   0, 
  4683       0,   0,   0,   0,   0,   0, 
  4684       0,   0,   0,   0,   0,   0, 
  4685       0,   0,   0,   0,   0,   0, 
  4686       0,   0,   0,   0,   0,   0, 
  4687      82,  68,  69,  70, 188,   2, 
  4688       0,   0,   1,   0,   0,   0, 
  4689       0,   1,   0,   0,   6,   0, 
  4690       0,   0,  28,   0,   0,   0, 
  4691       0,   4, 255, 255,   0,   1, 
  4692       0,   0, 137,   2,   0,   0, 
  4693     220,   0,   0,   0,   3,   0, 
  4694       0,   0,   0,   0,   0,   0, 
  4695       0,   0,   0,   0,   0,   0, 
  4696       0,   0,   0,   0,   0,   0, 
  4697       1,   0,   0,   0,   1,   0, 
  4698       0,   0, 229,   0,   0,   0, 
  4699       2,   0,   0,   0,   5,   0, 
  4700       0,   0,   4,   0,   0,   0, 
  4701     255, 255, 255, 255,   0,   0, 
  4702       0,   0,   1,   0,   0,   0, 
  4703      12,   0,   0,   0, 232,   0, 
  4704       0,   0,   2,   0,   0,   0, 
  4705       5,   0,   0,   0,   4,   0, 
  4706       0,   0, 255, 255, 255, 255, 
  4707       1,   0,   0,   0,   1,   0, 
  4708       0,   0,  12,   0,   0,   0, 
  4709     236,   0,   0,   0,   2,   0, 
  4710       0,   0,   5,   0,   0,   0, 
  4711       4,   0,   0,   0, 255, 255, 
  4712     255, 255,   2,   0,   0,   0, 
  4713       1,   0,   0,   0,  12,   0, 
  4714       0,   0, 240,   0,   0,   0, 
  4715       2,   0,   0,   0,   5,   0, 
  4716       0,   0,   4,   0,   0,   0, 
  4717     255, 255, 255, 255,   3,   0, 
  4718       0,   0,   1,   0,   0,   0, 
  4719      13,   0,   0,   0, 246,   0, 
  4720       0,   0,   0,   0,   0,   0, 
  4721       0,   0,   0,   0,   0,   0, 
  4722       0,   0,   0,   0,   0,   0, 
  4723       0,   0,   0,   0,   1,   0, 
  4724       0,   0,   0,   0,   0,   0, 
  4725     115,  83,  97, 109, 112, 108, 
  4726     101, 114,   0, 116,  89,   0, 
  4727     116,  67,  98,   0, 116,  67, 
  4728     114,   0, 116,  77,  97, 115, 
  4729     107,   0,  36,  71, 108, 111, 
  4730      98,  97, 108, 115,   0, 171, 
  4731     246,   0,   0,   0,   8,   0, 
  4732       0,   0,  24,   1,   0,   0, 
  4733     224,   0,   0,   0,   0,   0, 
  4734       0,   0,   0,   0,   0,   0, 
  4735     216,   1,   0,   0,   0,   0, 
  4736       0,   0,  16,   0,   0,   0, 
  4737       0,   0,   0,   0, 228,   1, 
  4738       0,   0,   0,   0,   0,   0, 
  4739     244,   1,   0,   0,  16,   0, 
  4740       0,   0,   4,   0,   0,   0, 
  4741       2,   0,   0,   0,   4,   2, 
  4742       0,   0,   0,   0,   0,   0, 
  4743      20,   2,   0,   0,  32,   0, 
  4744       0,   0,  64,   0,   0,   0, 
  4745       0,   0,   0,   0,  36,   2, 
  4746       0,   0,   0,   0,   0,   0, 
  4747      52,   2,   0,   0,  96,   0, 
  4748       0,   0,  64,   0,   0,   0, 
  4749       0,   0,   0,   0,  36,   2, 
  4750       0,   0,   0,   0,   0,   0, 
  4751      64,   2,   0,   0, 160,   0, 
  4752       0,   0,  16,   0,   0,   0, 
  4753       0,   0,   0,   0, 228,   1, 
  4754       0,   0,   0,   0,   0,   0, 
  4755      84,   2,   0,   0, 176,   0, 
  4756       0,   0,  16,   0,   0,   0, 
  4757       0,   0,   0,   0, 100,   2, 
  4758       0,   0,   0,   0,   0,   0, 
  4759     116,   2,   0,   0, 192,   0, 
  4760       0,   0,  16,   0,   0,   0, 
  4761       0,   0,   0,   0, 100,   2, 
  4762       0,   0,   0,   0,   0,   0, 
  4763     127,   2,   0,   0, 208,   0, 
  4764       0,   0,  16,   0,   0,   0, 
  4765       0,   0,   0,   0, 100,   2, 
  4766       0,   0,   0,   0,   0,   0, 
  4767     102,  76,  97, 121, 101, 114, 
  4768      67, 111, 108, 111, 114,   0, 
  4769       1,   0,   3,   0,   1,   0, 
  4770       4,   0,   0,   0,   0,   0, 
  4771       0,   0,   0,   0, 102,  76, 
  4772      97, 121, 101, 114,  79, 112, 
  4773      97,  99, 105, 116, 121,   0, 
  4774     171, 171,   0,   0,   3,   0, 
  4775       1,   0,   1,   0,   0,   0, 
  4776       0,   0,   0,   0,   0,   0, 
  4777     109,  76,  97, 121, 101, 114, 
  4778      84, 114,  97, 110, 115, 102, 
  4779     111, 114, 109,   0,   3,   0, 
  4780       3,   0,   4,   0,   4,   0, 
  4781       0,   0,   0,   0,   0,   0, 
  4782       0,   0, 109,  80, 114, 111, 
  4783     106, 101,  99, 116, 105, 111, 
  4784     110,   0, 118,  82, 101, 110, 
  4785     100, 101, 114,  84,  97, 114, 
  4786     103, 101, 116,  79, 102, 102, 
  4787     115, 101, 116,   0, 118,  84, 
  4788     101, 120, 116, 117, 114, 101, 
  4789      67, 111, 111, 114, 100, 115, 
  4790       0, 171,   1,   0,   3,   0, 
  4791       1,   0,   4,   0,   0,   0, 
  4792       0,   0,   0,   0,   0,   0, 
  4793     118,  76,  97, 121, 101, 114, 
  4794      81, 117,  97, 100,   0, 118, 
  4795      77,  97, 115, 107,  81, 117, 
  4796      97, 100,   0,  77, 105,  99, 
  4797     114, 111, 115, 111, 102, 116, 
  4798      32,  40,  82,  41,  32,  72, 
  4799      76,  83,  76,  32,  83, 104, 
  4800      97, 100, 101, 114,  32,  67, 
  4801     111, 109, 112, 105, 108, 101, 
  4802     114,  32,  57,  46,  50,  57, 
  4803      46,  57,  53,  50,  46,  51, 
  4804      49,  49,  49,   0, 171, 171, 
  4805      73,  83,  71,  78, 104,   0, 
  4806       0,   0,   3,   0,   0,   0, 
  4807       8,   0,   0,   0,  80,   0, 
  4808       0,   0,   0,   0,   0,   0, 
  4809       1,   0,   0,   0,   3,   0, 
  4810       0,   0,   0,   0,   0,   0, 
  4811      15,   0,   0,   0,  92,   0, 
  4812       0,   0,   0,   0,   0,   0, 
  4813       0,   0,   0,   0,   3,   0, 
  4814       0,   0,   1,   0,   0,   0, 
  4815       3,   3,   0,   0,  92,   0, 
  4816       0,   0,   1,   0,   0,   0, 
  4817       0,   0,   0,   0,   3,   0, 
  4818       0,   0,   1,   0,   0,   0, 
  4819      12,  12,   0,   0,  83,  86, 
  4820      95,  80, 111, 115, 105, 116, 
  4821     105, 111, 110,   0,  84,  69, 
  4822      88,  67,  79,  79,  82,  68, 
  4823       0, 171, 171, 171,  79,  83, 
  4824      71,  78,  44,   0,   0,   0, 
  4825       1,   0,   0,   0,   8,   0, 
  4826       0,   0,  32,   0,   0,   0, 
  4827       0,   0,   0,   0,   0,   0, 
  4828       0,   0,   3,   0,   0,   0, 
  4829       0,   0,   0,   0,  15,   0, 
  4830       0,   0,  83,  86,  95,  84, 
  4831      97, 114, 103, 101, 116,   0, 
  4832     171, 171
  4833 };
  4834 #if 0
  4835 //
  4836 // Generated by Microsoft (R) HLSL Shader Compiler 9.29.952.3111
  4837 //
  4838 //
  4839 //   fxc CompositorD3D11.fx -EComponentAlphaShaderMask -Tps_4_0_level_9_3
  4840 //    -nologo -FhtmpShaderHeader -VnComponentAlphaShaderMask
  4841 //
  4842 //
  4843 // Buffer Definitions: 
  4844 //
  4845 // cbuffer $Globals
  4846 // {
  4847 //
  4848 //   float4 fLayerColor;                // Offset:    0 Size:    16 [unused]
  4849 //   float fLayerOpacity;               // Offset:   16 Size:     4
  4850 //   float4x4 mLayerTransform;          // Offset:   32 Size:    64 [unused]
  4851 //   float4x4 mProjection;              // Offset:   96 Size:    64 [unused]
  4852 //   float4 vRenderTargetOffset;        // Offset:  160 Size:    16 [unused]
  4853 //   float4 vTextureCoords;             // Offset:  176 Size:    16 [unused]
  4854 //   float4 vLayerQuad;                 // Offset:  192 Size:    16 [unused]
  4855 //   float4 vMaskQuad;                  // Offset:  208 Size:    16 [unused]
  4856 //
  4857 // }
  4858 //
  4859 //
  4860 // Resource Bindings:
  4861 //
  4862 // Name                                 Type  Format         Dim Slot Elements
  4863 // ------------------------------ ---------- ------- ----------- ---- --------
  4864 // sSampler                          sampler      NA          NA    0        1
  4865 // tRGB                              texture  float4          2d    0        1
  4866 // tRGBWhite                         texture  float4          2d    1        1
  4867 // tMask                             texture  float4          2d    3        1
  4868 // $Globals                          cbuffer      NA          NA    0        1
  4869 //
  4870 //
  4871 //
  4872 // Input signature:
  4873 //
  4874 // Name                 Index   Mask Register SysValue Format   Used
  4875 // -------------------- ----- ------ -------- -------- ------ ------
  4876 // SV_Position              0   xyzw        0      POS  float       
  4877 // TEXCOORD                 0   xy          1     NONE  float   xy  
  4878 // TEXCOORD                 1     zw        1     NONE  float     zw
  4879 //
  4880 //
  4881 // Output signature:
  4882 //
  4883 // Name                 Index   Mask Register SysValue Format   Used
  4884 // -------------------- ----- ------ -------- -------- ------ ------
  4885 // SV_Target                0   xyzw        0   TARGET  float   xyzw
  4886 // SV_Target                1   xyzw        1   TARGET  float   xyzw
  4887 //
  4888 //
  4889 // Constant buffer to DX9 shader constant mappings:
  4890 //
  4891 // Target Reg Buffer  Start Reg # of Regs        Data Conversion
  4892 // ---------- ------- --------- --------- ----------------------
  4893 // c0         cb0             1         1  ( FLT, FLT, FLT, FLT)
  4894 //
  4895 //
  4896 // Sampler/Resource to DX9 shader sampler mappings:
  4897 //
  4898 // Target Sampler Source Sampler  Source Resource
  4899 // -------------- --------------- ----------------
  4900 // s0             s0              t3               
  4901 // s1             s0              t0               
  4902 // s2             s0              t1               
  4903 //
  4904 //
  4905 // Level9 shader bytecode:
  4906 //
  4907     ps_2_x
  4908     def c1, 1, 0, 0, 0
  4909     dcl t0
  4910     dcl_2d s0
  4911     dcl_2d s1
  4912     dcl_2d s2
  4913     mov r0.xy, t0.wzzw
  4914     texld r0, r0, s0
  4915     mul r0.x, r0.w, c0.x
  4916     texld r1, t0, s1
  4917     texld r2, t0, s2
  4918     add r2, r1, -r2
  4919     add r2, r2, c1.x
  4920     mov r1.w, r2.y
  4921     mul r2, r0.x, r2
  4922     mul r0, r0.x, r1
  4923     mov oC0, r0
  4924     mov oC1, r2
  4926 // approximately 12 instruction slots used (3 texture, 9 arithmetic)
  4927 ps_4_0
  4928 dcl_constantbuffer cb0[2], immediateIndexed
  4929 dcl_sampler s0, mode_default
  4930 dcl_resource_texture2d (float,float,float,float) t0
  4931 dcl_resource_texture2d (float,float,float,float) t1
  4932 dcl_resource_texture2d (float,float,float,float) t3
  4933 dcl_input_ps linear v1.xy
  4934 dcl_input_ps linear v1.zw
  4935 dcl_output o0.xyzw
  4936 dcl_output o1.xyzw
  4937 dcl_temps 3
  4938 sample r0.xyzw, v1.xyxx, t1.xyzw, s0
  4939 sample r1.xyzw, v1.xyxx, t0.xyzw, s0
  4940 add r0.xyzw, -r0.xyzw, r1.xyzw
  4941 add r0.xyzw, r0.xyzw, l(1.000000, 1.000000, 1.000000, 1.000000)
  4942 mov r1.w, r0.y
  4943 sample r2.xyzw, v1.zwzz, t3.xyzw, s0
  4944 mul r2.x, r2.w, cb0[1].x
  4945 mul o0.xyzw, r1.xyzw, r2.xxxx
  4946 mul o1.xyzw, r0.xyzw, r2.xxxx
  4947 ret 
  4948 // Approximately 10 instruction slots used
  4949 #endif
  4951 const BYTE ComponentAlphaShaderMask[] =
  4953      68,  88,  66,  67, 136,  77, 
  4954      10,  16, 135, 130, 127, 127, 
  4955      44,  35, 233, 219,  89, 184, 
  4956     173, 170,   1,   0,   0,   0, 
  4957      20,   7,   0,   0,   6,   0, 
  4958       0,   0,  56,   0,   0,   0, 
  4959     124,   1,   0,   0,  52,   3, 
  4960       0,   0, 176,   3,   0,   0, 
  4961      88,   6,   0,   0, 200,   6, 
  4962       0,   0,  65, 111, 110,  57, 
  4963      60,   1,   0,   0,  60,   1, 
  4964       0,   0,   0,   2, 255, 255, 
  4965       0,   1,   0,   0,  60,   0, 
  4966       0,   0,   1,   0,  48,   0, 
  4967       0,   0,  60,   0,   0,   0, 
  4968      60,   0,   3,   0,  36,   0, 
  4969       0,   0,  60,   0,   3,   0, 
  4970       0,   0,   0,   0,   1,   0, 
  4971       1,   0,   2,   0,   0,   0, 
  4972       1,   0,   1,   0,   0,   0, 
  4973       0,   0,   0,   0,   1,   2, 
  4974     255, 255,  81,   0,   0,   5, 
  4975       1,   0,  15, 160,   0,   0, 
  4976     128,  63,   0,   0,   0,   0, 
  4977       0,   0,   0,   0,   0,   0, 
  4978       0,   0,  31,   0,   0,   2, 
  4979       0,   0,   0, 128,   0,   0, 
  4980      15, 176,  31,   0,   0,   2, 
  4981       0,   0,   0, 144,   0,   8, 
  4982      15, 160,  31,   0,   0,   2, 
  4983       0,   0,   0, 144,   1,   8, 
  4984      15, 160,  31,   0,   0,   2, 
  4985       0,   0,   0, 144,   2,   8, 
  4986      15, 160,   1,   0,   0,   2, 
  4987       0,   0,   3, 128,   0,   0, 
  4988     235, 176,  66,   0,   0,   3, 
  4989       0,   0,  15, 128,   0,   0, 
  4990     228, 128,   0,   8, 228, 160, 
  4991       5,   0,   0,   3,   0,   0, 
  4992       1, 128,   0,   0, 255, 128, 
  4993       0,   0,   0, 160,  66,   0, 
  4994       0,   3,   1,   0,  15, 128, 
  4995       0,   0, 228, 176,   1,   8, 
  4996     228, 160,  66,   0,   0,   3, 
  4997       2,   0,  15, 128,   0,   0, 
  4998     228, 176,   2,   8, 228, 160, 
  4999       2,   0,   0,   3,   2,   0, 
  5000      15, 128,   1,   0, 228, 128, 
  5001       2,   0, 228, 129,   2,   0, 
  5002       0,   3,   2,   0,  15, 128, 
  5003       2,   0, 228, 128,   1,   0, 
  5004       0, 160,   1,   0,   0,   2, 
  5005       1,   0,   8, 128,   2,   0, 
  5006      85, 128,   5,   0,   0,   3, 
  5007       2,   0,  15, 128,   0,   0, 
  5008       0, 128,   2,   0, 228, 128, 
  5009       5,   0,   0,   3,   0,   0, 
  5010      15, 128,   0,   0,   0, 128, 
  5011       1,   0, 228, 128,   1,   0, 
  5012       0,   2,   0,   8,  15, 128, 
  5013       0,   0, 228, 128,   1,   0, 
  5014       0,   2,   1,   8,  15, 128, 
  5015       2,   0, 228, 128, 255, 255, 
  5016       0,   0,  83,  72,  68,  82, 
  5017     176,   1,   0,   0,  64,   0, 
  5018       0,   0, 108,   0,   0,   0, 
  5019      89,   0,   0,   4,  70, 142, 
  5020      32,   0,   0,   0,   0,   0, 
  5021       2,   0,   0,   0,  90,   0, 
  5022       0,   3,   0,  96,  16,   0, 
  5023       0,   0,   0,   0,  88,  24, 
  5024       0,   4,   0, 112,  16,   0, 
  5025       0,   0,   0,   0,  85,  85, 
  5026       0,   0,  88,  24,   0,   4, 
  5027       0, 112,  16,   0,   1,   0, 
  5028       0,   0,  85,  85,   0,   0, 
  5029      88,  24,   0,   4,   0, 112, 
  5030      16,   0,   3,   0,   0,   0, 
  5031      85,  85,   0,   0,  98,  16, 
  5032       0,   3,  50,  16,  16,   0, 
  5033       1,   0,   0,   0,  98,  16, 
  5034       0,   3, 194,  16,  16,   0, 
  5035       1,   0,   0,   0, 101,   0, 
  5036       0,   3, 242,  32,  16,   0, 
  5037       0,   0,   0,   0, 101,   0, 
  5038       0,   3, 242,  32,  16,   0, 
  5039       1,   0,   0,   0, 104,   0, 
  5040       0,   2,   3,   0,   0,   0, 
  5041      69,   0,   0,   9, 242,   0, 
  5042      16,   0,   0,   0,   0,   0, 
  5043      70,  16,  16,   0,   1,   0, 
  5044       0,   0,  70, 126,  16,   0, 
  5045       1,   0,   0,   0,   0,  96, 
  5046      16,   0,   0,   0,   0,   0, 
  5047      69,   0,   0,   9, 242,   0, 
  5048      16,   0,   1,   0,   0,   0, 
  5049      70,  16,  16,   0,   1,   0, 
  5050       0,   0,  70, 126,  16,   0, 
  5051       0,   0,   0,   0,   0,  96, 
  5052      16,   0,   0,   0,   0,   0, 
  5053       0,   0,   0,   8, 242,   0, 
  5054      16,   0,   0,   0,   0,   0, 
  5055      70,  14,  16, 128,  65,   0, 
  5056       0,   0,   0,   0,   0,   0, 
  5057      70,  14,  16,   0,   1,   0, 
  5058       0,   0,   0,   0,   0,  10, 
  5059     242,   0,  16,   0,   0,   0, 
  5060       0,   0,  70,  14,  16,   0, 
  5061       0,   0,   0,   0,   2,  64, 
  5062       0,   0,   0,   0, 128,  63, 
  5063       0,   0, 128,  63,   0,   0, 
  5064     128,  63,   0,   0, 128,  63, 
  5065      54,   0,   0,   5, 130,   0, 
  5066      16,   0,   1,   0,   0,   0, 
  5067      26,   0,  16,   0,   0,   0, 
  5068       0,   0,  69,   0,   0,   9, 
  5069     242,   0,  16,   0,   2,   0, 
  5070       0,   0, 230,  26,  16,   0, 
  5071       1,   0,   0,   0,  70, 126, 
  5072      16,   0,   3,   0,   0,   0, 
  5073       0,  96,  16,   0,   0,   0, 
  5074       0,   0,  56,   0,   0,   8, 
  5075      18,   0,  16,   0,   2,   0, 
  5076       0,   0,  58,   0,  16,   0, 
  5077       2,   0,   0,   0,  10, 128, 
  5078      32,   0,   0,   0,   0,   0, 
  5079       1,   0,   0,   0,  56,   0, 
  5080       0,   7, 242,  32,  16,   0, 
  5081       0,   0,   0,   0,  70,  14, 
  5082      16,   0,   1,   0,   0,   0, 
  5083       6,   0,  16,   0,   2,   0, 
  5084       0,   0,  56,   0,   0,   7, 
  5085     242,  32,  16,   0,   1,   0, 
  5086       0,   0,  70,  14,  16,   0, 
  5087       0,   0,   0,   0,   6,   0, 
  5088      16,   0,   2,   0,   0,   0, 
  5089      62,   0,   0,   1,  83,  84, 
  5090      65,  84, 116,   0,   0,   0, 
  5091      10,   0,   0,   0,   3,   0, 
  5092       0,   0,   0,   0,   0,   0, 
  5093       4,   0,   0,   0,   5,   0, 
  5094       0,   0,   0,   0,   0,   0, 
  5095       0,   0,   0,   0,   1,   0, 
  5096       0,   0,   0,   0,   0,   0, 
  5097       0,   0,   0,   0,   0,   0, 
  5098       0,   0,   0,   0,   0,   0, 
  5099       0,   0,   0,   0,   0,   0, 
  5100       0,   0,   3,   0,   0,   0, 
  5101       0,   0,   0,   0,   0,   0, 
  5102       0,   0,   0,   0,   0,   0, 
  5103       0,   0,   0,   0,   2,   0, 
  5104       0,   0,   0,   0,   0,   0, 
  5105       0,   0,   0,   0,   0,   0, 
  5106       0,   0,   0,   0,   0,   0, 
  5107       0,   0,   0,   0,   0,   0, 
  5108       0,   0,   0,   0,   0,   0, 
  5109       0,   0,   0,   0,   0,   0, 
  5110       0,   0,  82,  68,  69,  70, 
  5111     160,   2,   0,   0,   1,   0, 
  5112       0,   0, 228,   0,   0,   0, 
  5113       5,   0,   0,   0,  28,   0, 
  5114       0,   0,   0,   4, 255, 255, 
  5115       0,   1,   0,   0, 109,   2, 
  5116       0,   0, 188,   0,   0,   0, 
  5117       3,   0,   0,   0,   0,   0, 
  5118       0,   0,   0,   0,   0,   0, 
  5119       0,   0,   0,   0,   0,   0, 
  5120       0,   0,   1,   0,   0,   0, 
  5121       1,   0,   0,   0, 197,   0, 
  5122       0,   0,   2,   0,   0,   0, 
  5123       5,   0,   0,   0,   4,   0, 
  5124       0,   0, 255, 255, 255, 255, 
  5125       0,   0,   0,   0,   1,   0, 
  5126       0,   0,  12,   0,   0,   0, 
  5127     202,   0,   0,   0,   2,   0, 
  5128       0,   0,   5,   0,   0,   0, 
  5129       4,   0,   0,   0, 255, 255, 
  5130     255, 255,   1,   0,   0,   0, 
  5131       1,   0,   0,   0,  12,   0, 
  5132       0,   0, 212,   0,   0,   0, 
  5133       2,   0,   0,   0,   5,   0, 
  5134       0,   0,   4,   0,   0,   0, 
  5135     255, 255, 255, 255,   3,   0, 
  5136       0,   0,   1,   0,   0,   0, 
  5137      13,   0,   0,   0, 218,   0, 
  5138       0,   0,   0,   0,   0,   0, 
  5139       0,   0,   0,   0,   0,   0, 
  5140       0,   0,   0,   0,   0,   0, 
  5141       0,   0,   0,   0,   1,   0, 
  5142       0,   0,   0,   0,   0,   0, 
  5143     115,  83,  97, 109, 112, 108, 
  5144     101, 114,   0, 116,  82,  71, 
  5145      66,   0, 116,  82,  71,  66, 
  5146      87, 104, 105, 116, 101,   0, 
  5147     116,  77,  97, 115, 107,   0, 
  5148      36,  71, 108, 111,  98,  97, 
  5149     108, 115,   0, 171, 218,   0, 
  5150       0,   0,   8,   0,   0,   0, 
  5151     252,   0,   0,   0, 224,   0, 
  5152       0,   0,   0,   0,   0,   0, 
  5153       0,   0,   0,   0, 188,   1, 
  5154       0,   0,   0,   0,   0,   0, 
  5155      16,   0,   0,   0,   0,   0, 
  5156       0,   0, 200,   1,   0,   0, 
  5157       0,   0,   0,   0, 216,   1, 
  5158       0,   0,  16,   0,   0,   0, 
  5159       4,   0,   0,   0,   2,   0, 
  5160       0,   0, 232,   1,   0,   0, 
  5161       0,   0,   0,   0, 248,   1, 
  5162       0,   0,  32,   0,   0,   0, 
  5163      64,   0,   0,   0,   0,   0, 
  5164       0,   0,   8,   2,   0,   0, 
  5165       0,   0,   0,   0,  24,   2, 
  5166       0,   0,  96,   0,   0,   0, 
  5167      64,   0,   0,   0,   0,   0, 
  5168       0,   0,   8,   2,   0,   0, 
  5169       0,   0,   0,   0,  36,   2, 
  5170       0,   0, 160,   0,   0,   0, 
  5171      16,   0,   0,   0,   0,   0, 
  5172       0,   0, 200,   1,   0,   0, 
  5173       0,   0,   0,   0,  56,   2, 
  5174       0,   0, 176,   0,   0,   0, 
  5175      16,   0,   0,   0,   0,   0, 
  5176       0,   0,  72,   2,   0,   0, 
  5177       0,   0,   0,   0,  88,   2, 
  5178       0,   0, 192,   0,   0,   0, 
  5179      16,   0,   0,   0,   0,   0, 
  5180       0,   0,  72,   2,   0,   0, 
  5181       0,   0,   0,   0,  99,   2, 
  5182       0,   0, 208,   0,   0,   0, 
  5183      16,   0,   0,   0,   0,   0, 
  5184       0,   0,  72,   2,   0,   0, 
  5185       0,   0,   0,   0, 102,  76, 
  5186      97, 121, 101, 114,  67, 111, 
  5187     108, 111, 114,   0,   1,   0, 
  5188       3,   0,   1,   0,   4,   0, 
  5189       0,   0,   0,   0,   0,   0, 
  5190       0,   0, 102,  76,  97, 121, 
  5191     101, 114,  79, 112,  97,  99, 
  5192     105, 116, 121,   0, 171, 171, 
  5193       0,   0,   3,   0,   1,   0, 
  5194       1,   0,   0,   0,   0,   0, 
  5195       0,   0,   0,   0, 109,  76, 
  5196      97, 121, 101, 114,  84, 114, 
  5197      97, 110, 115, 102, 111, 114, 
  5198     109,   0,   3,   0,   3,   0, 
  5199       4,   0,   4,   0,   0,   0, 
  5200       0,   0,   0,   0,   0,   0, 
  5201     109,  80, 114, 111, 106, 101, 
  5202      99, 116, 105, 111, 110,   0, 
  5203     118,  82, 101, 110, 100, 101, 
  5204     114,  84,  97, 114, 103, 101, 
  5205     116,  79, 102, 102, 115, 101, 
  5206     116,   0, 118,  84, 101, 120, 
  5207     116, 117, 114, 101,  67, 111, 
  5208     111, 114, 100, 115,   0, 171, 
  5209       1,   0,   3,   0,   1,   0, 
  5210       4,   0,   0,   0,   0,   0, 
  5211       0,   0,   0,   0, 118,  76, 
  5212      97, 121, 101, 114,  81, 117, 
  5213      97, 100,   0, 118,  77,  97, 
  5214     115, 107,  81, 117,  97, 100, 
  5215       0,  77, 105,  99, 114, 111, 
  5216     115, 111, 102, 116,  32,  40, 
  5217      82,  41,  32,  72,  76,  83, 
  5218      76,  32,  83, 104,  97, 100, 
  5219     101, 114,  32,  67, 111, 109, 
  5220     112, 105, 108, 101, 114,  32, 
  5221      57,  46,  50,  57,  46,  57, 
  5222      53,  50,  46,  51,  49,  49, 
  5223      49,   0, 171, 171,  73,  83, 
  5224      71,  78, 104,   0,   0,   0, 
  5225       3,   0,   0,   0,   8,   0, 
  5226       0,   0,  80,   0,   0,   0, 
  5227       0,   0,   0,   0,   1,   0, 
  5228       0,   0,   3,   0,   0,   0, 
  5229       0,   0,   0,   0,  15,   0, 
  5230       0,   0,  92,   0,   0,   0, 
  5231       0,   0,   0,   0,   0,   0, 
  5232       0,   0,   3,   0,   0,   0, 
  5233       1,   0,   0,   0,   3,   3, 
  5234       0,   0,  92,   0,   0,   0, 
  5235       1,   0,   0,   0,   0,   0, 
  5236       0,   0,   3,   0,   0,   0, 
  5237       1,   0,   0,   0,  12,  12, 
  5238       0,   0,  83,  86,  95,  80, 
  5239     111, 115, 105, 116, 105, 111, 
  5240     110,   0,  84,  69,  88,  67, 
  5241      79,  79,  82,  68,   0, 171, 
  5242     171, 171,  79,  83,  71,  78, 
  5243      68,   0,   0,   0,   2,   0, 
  5244       0,   0,   8,   0,   0,   0, 
  5245      56,   0,   0,   0,   0,   0, 
  5246       0,   0,   0,   0,   0,   0, 
  5247       3,   0,   0,   0,   0,   0, 
  5248       0,   0,  15,   0,   0,   0, 
  5249      56,   0,   0,   0,   1,   0, 
  5250       0,   0,   0,   0,   0,   0, 
  5251       3,   0,   0,   0,   1,   0, 
  5252       0,   0,  15,   0,   0,   0, 
  5253      83,  86,  95,  84,  97, 114, 
  5254     103, 101, 116,   0, 171, 171
  5255 };

mercurial