Home | History | Annotate | Download | only in d3d11spikysphere
      1 #if 0
      2 //
      3 // Generated by Microsoft (R) HLSL Shader Compiler 9.29.952.3111
      4 //
      5 //
      6 //   fxc /Fhd3d11spikysphere.hlsl.ps.h /Eps /Tps_4_0 d3d11spikysphere.hlsl
      7 //
      8 //
      9 //
     10 // Input signature:
     11 //
     12 // Name                 Index   Mask Register SysValue Format   Used
     13 // -------------------- ----- ------ -------- -------- ------ ------
     14 // SV_POSITION              0   xyzw        0      POS  float
     15 // OBJPOS                   0   xyz         1     NONE  float   xyz
     16 // OBJNORMAL                0   xyz         2     NONE  float   xyz
     17 // WORLDNORMAL              0   xyz         3     NONE  float   xyz
     18 //
     19 //
     20 // Output signature:
     21 //
     22 // Name                 Index   Mask Register SysValue Format   Used
     23 // -------------------- ----- ------ -------- -------- ------ ------
     24 // SV_TARGET                0   xyzw        0   TARGET  float   xyzw
     25 //
     26 ps_4_0
     27 dcl_input_ps linear v1.xyz
     28 dcl_input_ps linear v2.xyz
     29 dcl_input_ps linear v3.xyz
     30 dcl_output o0.xyzw
     31 dcl_temps 2
     32 dp3 r0.x, v2.xyzx, v2.xyzx
     33 rsq r0.x, r0.x
     34 mul r0.xyz, r0.xxxx, v2.xyzx
     35 dp3 r0.w, v1.xyzx, v1.xyzx
     36 rsq r0.w, r0.w
     37 mul r1.xyz, r0.wwww, v1.xyzx
     38 dp3_sat r0.x, r0.xyzx, r1.xyzx
     39 dp3 r0.y, v3.xyzx, v3.xyzx
     40 rsq r0.y, r0.y
     41 mul r0.yz, r0.yyyy, v3.yyzy
     42 dp2_sat r0.y, l(0.707107, -0.707107, 0.000000, 0.000000), r0.yzyy
     43 mul r0.yzw, r0.yyyy, l(0.000000, 0.600000, 0.600000, 0.400000)
     44 mad o0.xyz, r0.xxxx, l(0.400000, 0.400000, 0.600000, 0.000000), r0.yzwy
     45 mov o0.w, l(1.000000)
     46 ret
     47 // Approximately 15 instruction slots used
     48 #endif
     49 
     50 const BYTE g_ps[] =
     51 {
     52      68,  88,  66,  67, 211, 117,
     53     143,  38, 226,  40, 181,  77,
     54      39, 255,  33, 137,  74, 241,
     55      40, 100,   1,   0,   0,   0,
     56     184,   3,   0,   0,   5,   0,
     57       0,   0,  52,   0,   0,   0,
     58     140,   0,   0,   0,  40,   1,
     59       0,   0,  92,   1,   0,   0,
     60      60,   3,   0,   0,  82,  68,
     61      69,  70,  80,   0,   0,   0,
     62       0,   0,   0,   0,   0,   0,
     63       0,   0,   0,   0,   0,   0,
     64      28,   0,   0,   0,   0,   4,
     65     255, 255,   0,   1,   0,   0,
     66      28,   0,   0,   0,  77, 105,
     67      99, 114, 111, 115, 111, 102,
     68     116,  32,  40,  82,  41,  32,
     69      72,  76,  83,  76,  32,  83,
     70     104,  97, 100, 101, 114,  32,
     71      67, 111, 109, 112, 105, 108,
     72     101, 114,  32,  57,  46,  50,
     73      57,  46,  57,  53,  50,  46,
     74      51,  49,  49,  49,   0, 171,
     75     171, 171,  73,  83,  71,  78,
     76     148,   0,   0,   0,   4,   0,
     77       0,   0,   8,   0,   0,   0,
     78     104,   0,   0,   0,   0,   0,
     79       0,   0,   1,   0,   0,   0,
     80       3,   0,   0,   0,   0,   0,
     81       0,   0,  15,   0,   0,   0,
     82     116,   0,   0,   0,   0,   0,
     83       0,   0,   0,   0,   0,   0,
     84       3,   0,   0,   0,   1,   0,
     85       0,   0,   7,   7,   0,   0,
     86     123,   0,   0,   0,   0,   0,
     87       0,   0,   0,   0,   0,   0,
     88       3,   0,   0,   0,   2,   0,
     89       0,   0,   7,   7,   0,   0,
     90     133,   0,   0,   0,   0,   0,
     91       0,   0,   0,   0,   0,   0,
     92       3,   0,   0,   0,   3,   0,
     93       0,   0,   7,   7,   0,   0,
     94      83,  86,  95,  80,  79,  83,
     95      73,  84,  73,  79,  78,   0,
     96      79,  66,  74,  80,  79,  83,
     97       0,  79,  66,  74,  78,  79,
     98      82,  77,  65,  76,   0,  87,
     99      79,  82,  76,  68,  78,  79,
    100      82,  77,  65,  76,   0, 171,
    101     171, 171,  79,  83,  71,  78,
    102      44,   0,   0,   0,   1,   0,
    103       0,   0,   8,   0,   0,   0,
    104      32,   0,   0,   0,   0,   0,
    105       0,   0,   0,   0,   0,   0,
    106       3,   0,   0,   0,   0,   0,
    107       0,   0,  15,   0,   0,   0,
    108      83,  86,  95,  84,  65,  82,
    109      71,  69,  84,   0, 171, 171,
    110      83,  72,  68,  82, 216,   1,
    111       0,   0,  64,   0,   0,   0,
    112     118,   0,   0,   0,  98,  16,
    113       0,   3, 114,  16,  16,   0,
    114       1,   0,   0,   0,  98,  16,
    115       0,   3, 114,  16,  16,   0,
    116       2,   0,   0,   0,  98,  16,
    117       0,   3, 114,  16,  16,   0,
    118       3,   0,   0,   0, 101,   0,
    119       0,   3, 242,  32,  16,   0,
    120       0,   0,   0,   0, 104,   0,
    121       0,   2,   2,   0,   0,   0,
    122      16,   0,   0,   7,  18,   0,
    123      16,   0,   0,   0,   0,   0,
    124      70,  18,  16,   0,   2,   0,
    125       0,   0,  70,  18,  16,   0,
    126       2,   0,   0,   0,  68,   0,
    127       0,   5,  18,   0,  16,   0,
    128       0,   0,   0,   0,  10,   0,
    129      16,   0,   0,   0,   0,   0,
    130      56,   0,   0,   7, 114,   0,
    131      16,   0,   0,   0,   0,   0,
    132       6,   0,  16,   0,   0,   0,
    133       0,   0,  70,  18,  16,   0,
    134       2,   0,   0,   0,  16,   0,
    135       0,   7, 130,   0,  16,   0,
    136       0,   0,   0,   0,  70,  18,
    137      16,   0,   1,   0,   0,   0,
    138      70,  18,  16,   0,   1,   0,
    139       0,   0,  68,   0,   0,   5,
    140     130,   0,  16,   0,   0,   0,
    141       0,   0,  58,   0,  16,   0,
    142       0,   0,   0,   0,  56,   0,
    143       0,   7, 114,   0,  16,   0,
    144       1,   0,   0,   0, 246,  15,
    145      16,   0,   0,   0,   0,   0,
    146      70,  18,  16,   0,   1,   0,
    147       0,   0,  16,  32,   0,   7,
    148      18,   0,  16,   0,   0,   0,
    149       0,   0,  70,   2,  16,   0,
    150       0,   0,   0,   0,  70,   2,
    151      16,   0,   1,   0,   0,   0,
    152      16,   0,   0,   7,  34,   0,
    153      16,   0,   0,   0,   0,   0,
    154      70,  18,  16,   0,   3,   0,
    155       0,   0,  70,  18,  16,   0,
    156       3,   0,   0,   0,  68,   0,
    157       0,   5,  34,   0,  16,   0,
    158       0,   0,   0,   0,  26,   0,
    159      16,   0,   0,   0,   0,   0,
    160      56,   0,   0,   7,  98,   0,
    161      16,   0,   0,   0,   0,   0,
    162      86,   5,  16,   0,   0,   0,
    163       0,   0,  86,  22,  16,   0,
    164       3,   0,   0,   0,  15,  32,
    165       0,  10,  34,   0,  16,   0,
    166       0,   0,   0,   0,   2,  64,
    167       0,   0, 243,   4,  53,  63,
    168     243,   4,  53, 191,   0,   0,
    169       0,   0,   0,   0,   0,   0,
    170     150,   5,  16,   0,   0,   0,
    171       0,   0,  56,   0,   0,  10,
    172     226,   0,  16,   0,   0,   0,
    173       0,   0,  86,   5,  16,   0,
    174       0,   0,   0,   0,   2,  64,
    175       0,   0,   0,   0,   0,   0,
    176     154, 153,  25,  63, 154, 153,
    177      25,  63, 205, 204, 204,  62,
    178      50,   0,   0,  12, 114,  32,
    179      16,   0,   0,   0,   0,   0,
    180       6,   0,  16,   0,   0,   0,
    181       0,   0,   2,  64,   0,   0,
    182     205, 204, 204,  62, 205, 204,
    183     204,  62, 154, 153,  25,  63,
    184       0,   0,   0,   0, 150,   7,
    185      16,   0,   0,   0,   0,   0,
    186      54,   0,   0,   5, 130,  32,
    187      16,   0,   0,   0,   0,   0,
    188       1,  64,   0,   0,   0,   0,
    189     128,  63,  62,   0,   0,   1,
    190      83,  84,  65,  84, 116,   0,
    191       0,   0,  15,   0,   0,   0,
    192       2,   0,   0,   0,   0,   0,
    193       0,   0,   4,   0,   0,   0,
    194      12,   0,   0,   0,   0,   0,
    195       0,   0,   0,   0,   0,   0,
    196       1,   0,   0,   0,   0,   0,
    197       0,   0,   0,   0,   0,   0,
    198       0,   0,   0,   0,   0,   0,
    199       0,   0,   0,   0,   0,   0,
    200       0,   0,   0,   0,   0,   0,
    201       0,   0,   0,   0,   0,   0,
    202       0,   0,   0,   0,   0,   0,
    203       0,   0,   0,   0,   0,   0,
    204       1,   0,   0,   0,   0,   0,
    205       0,   0,   0,   0,   0,   0,
    206       0,   0,   0,   0,   0,   0,
    207       0,   0,   0,   0,   0,   0,
    208       0,   0,   0,   0,   0,   0,
    209       0,   0,   0,   0,   0,   0,
    210       0,   0,   0,   0
    211 };
    212