Home | History | Annotate | Download | only in compiled
      1 #if 0
      2 //
      3 // Generated by Microsoft (R) HLSL Shader Compiler 9.30.9200.16384
      4 //
      5 ///
      6 // Parameters:
      7 //
      8 //   float4 add;
      9 //   float4 mult;
     10 //   sampler2D tex;
     11 //
     12 //
     13 // Registers:
     14 //
     15 //   Name         Reg   Size
     16 //   ------------ ----- ----
     17 //   mult         c0       1
     18 //   add          c1       1
     19 //   tex          s0       1
     20 //
     21 
     22     ps_2_0
     23     dcl t0.xy
     24     dcl_2d s0
     25     texld r0, t0, s0
     26     mov r1.xw, c0
     27     mad r0.x, r0.x, r1.x, c1.x
     28     mad r0.y, r0.w, r1.w, c1.w
     29     mov r1.xyz, r0.x
     30     mov r1.w, r0.y
     31     mov oC0, r1
     32 
     33 // approximately 7 instruction slots used (1 texture, 6 arithmetic)
     34 #endif
     35 
     36 const BYTE g_ps20_luminanceps[] =
     37 {
     38       0,   2, 255, 255, 254, 255,
     39      50,   0,  67,  84,  65,  66,
     40      28,   0,   0,   0, 143,   0,
     41       0,   0,   0,   2, 255, 255,
     42       3,   0,   0,   0,  28,   0,
     43       0,   0,   0,   1,   0,   0,
     44     136,   0,   0,   0,  88,   0,
     45       0,   0,   2,   0,   1,   0,
     46       1,   0,   0,   0,  92,   0,
     47       0,   0,   0,   0,   0,   0,
     48     108,   0,   0,   0,   2,   0,
     49       0,   0,   1,   0,   0,   0,
     50      92,   0,   0,   0,   0,   0,
     51       0,   0, 113,   0,   0,   0,
     52       3,   0,   0,   0,   1,   0,
     53       0,   0, 120,   0,   0,   0,
     54       0,   0,   0,   0,  97, 100,
     55     100,   0,   1,   0,   3,   0,
     56       1,   0,   4,   0,   1,   0,
     57       0,   0,   0,   0,   0,   0,
     58     109, 117, 108, 116,   0, 116,
     59     101, 120,   0, 171, 171, 171,
     60       4,   0,  12,   0,   1,   0,
     61       1,   0,   1,   0,   0,   0,
     62       0,   0,   0,   0, 112, 115,
     63      95,  50,  95,  48,   0,  77,
     64     105,  99, 114, 111, 115, 111,
     65     102, 116,  32,  40,  82,  41,
     66      32,  72,  76,  83,  76,  32,
     67      83, 104,  97, 100, 101, 114,
     68      32,  67, 111, 109, 112, 105,
     69     108, 101, 114,  32,  57,  46,
     70      51,  48,  46,  57,  50,  48,
     71      48,  46,  49,  54,  51,  56,
     72      52,   0, 171, 171,  31,   0,
     73       0,   2,   0,   0,   0, 128,
     74       0,   0,   3, 176,  31,   0,
     75       0,   2,   0,   0,   0, 144,
     76       0,   8,  15, 160,  66,   0,
     77       0,   3,   0,   0,  15, 128,
     78       0,   0, 228, 176,   0,   8,
     79     228, 160,   1,   0,   0,   2,
     80       1,   0,   9, 128,   0,   0,
     81     228, 160,   4,   0,   0,   4,
     82       0,   0,   1, 128,   0,   0,
     83       0, 128,   1,   0,   0, 128,
     84       1,   0,   0, 160,   4,   0,
     85       0,   4,   0,   0,   2, 128,
     86       0,   0, 255, 128,   1,   0,
     87     255, 128,   1,   0, 255, 160,
     88       1,   0,   0,   2,   1,   0,
     89       7, 128,   0,   0,   0, 128,
     90       1,   0,   0,   2,   1,   0,
     91       8, 128,   0,   0,  85, 128,
     92       1,   0,   0,   2,   0,   8,
     93      15, 128,   1,   0, 228, 128,
     94     255, 255,   0,   0
     95 };
     96