Home | History | Annotate | Download | only in baseResults
      1 hlsl.frag
      2 Shader version: 450
      3 gl_FragCoord origin is upper left
      4 0:? Sequence
      5 0:1  move second child to first child (temp 4-component vector of float)
      6 0:1    'AmbientColor' (temp 4-component vector of float)
      7 0:?     Constant:
      8 0:?       1.000000
      9 0:?       0.500000
     10 0:?       0.000000
     11 0:?       1.000000
     12 0:2  move second child to first child (temp float)
     13 0:2    'AmbientIntensity' (temp float)
     14 0:2    Constant:
     15 0:2      0.100000
     16 0:13  Function Definition: PixelShaderFunction(vf4; (temp 4-component vector of float)
     17 0:5    Function Parameters: 
     18 0:5      'input' (in 4-component vector of float)
     19 0:?     Sequence
     20 0:6      Branch: Return with expression
     21 0:6        add (temp 4-component vector of float)
     22 0:6          vector-scale (temp 4-component vector of float)
     23 0:6            'input' (in 4-component vector of float)
     24 0:6            'AmbientIntensity' (temp float)
     25 0:6          'AmbientColor' (temp 4-component vector of float)
     26 0:7      Branch: Return with expression
     27 0:7        add (temp 4-component vector of float)
     28 0:7          component-wise multiply (temp 4-component vector of float)
     29 0:7            'input' (in 4-component vector of float)
     30 0:7            'input' (in 4-component vector of float)
     31 0:7          component-wise multiply (temp 4-component vector of float)
     32 0:7            'input' (in 4-component vector of float)
     33 0:7            'input' (in 4-component vector of float)
     34 0:8      Branch: Return with expression
     35 0:8        add (temp 4-component vector of float)
     36 0:8          add (temp 4-component vector of float)
     37 0:8            'input' (in 4-component vector of float)
     38 0:8            component-wise multiply (temp 4-component vector of float)
     39 0:8              'input' (in 4-component vector of float)
     40 0:8              'input' (in 4-component vector of float)
     41 0:8          'input' (in 4-component vector of float)
     42 0:9      Branch: Return with expression
     43 0:9        component-wise multiply (temp 4-component vector of float)
     44 0:9          Pre-Increment (temp 4-component vector of float)
     45 0:9            'input' (in 4-component vector of float)
     46 0:9          Negate value (temp 4-component vector of float)
     47 0:9            Negate value (temp 4-component vector of float)
     48 0:9              Pre-Decrement (temp 4-component vector of float)
     49 0:9                'input' (in 4-component vector of float)
     50 0:10      Branch: Return with expression
     51 0:10        add (temp 4-component vector of float)
     52 0:10          Post-Increment (temp 4-component vector of float)
     53 0:10            'input' (in 4-component vector of float)
     54 0:10          Pre-Increment (temp 4-component vector of float)
     55 0:10            'input' (in 4-component vector of float)
     56 0:11      Branch: Return with expression
     57 0:11        sine (global 4-component vector of float)
     58 0:11          'input' (in 4-component vector of float)
     59 0:?   Linker Objects
     60 0:?     'AmbientColor' (temp 4-component vector of float)
     61 0:?     'AmbientIntensity' (temp float)
     62 
     63 
     64 Linked fragment stage:
     65 
     66 
     67 Shader version: 450
     68 gl_FragCoord origin is upper left
     69 0:? Sequence
     70 0:1  move second child to first child (temp 4-component vector of float)
     71 0:1    'AmbientColor' (temp 4-component vector of float)
     72 0:?     Constant:
     73 0:?       1.000000
     74 0:?       0.500000
     75 0:?       0.000000
     76 0:?       1.000000
     77 0:2  move second child to first child (temp float)
     78 0:2    'AmbientIntensity' (temp float)
     79 0:2    Constant:
     80 0:2      0.100000
     81 0:13  Function Definition: PixelShaderFunction(vf4; (temp 4-component vector of float)
     82 0:5    Function Parameters: 
     83 0:5      'input' (in 4-component vector of float)
     84 0:?     Sequence
     85 0:6      Branch: Return with expression
     86 0:6        add (temp 4-component vector of float)
     87 0:6          vector-scale (temp 4-component vector of float)
     88 0:6            'input' (in 4-component vector of float)
     89 0:6            'AmbientIntensity' (temp float)
     90 0:6          'AmbientColor' (temp 4-component vector of float)
     91 0:7      Branch: Return with expression
     92 0:7        add (temp 4-component vector of float)
     93 0:7          component-wise multiply (temp 4-component vector of float)
     94 0:7            'input' (in 4-component vector of float)
     95 0:7            'input' (in 4-component vector of float)
     96 0:7          component-wise multiply (temp 4-component vector of float)
     97 0:7            'input' (in 4-component vector of float)
     98 0:7            'input' (in 4-component vector of float)
     99 0:8      Branch: Return with expression
    100 0:8        add (temp 4-component vector of float)
    101 0:8          add (temp 4-component vector of float)
    102 0:8            'input' (in 4-component vector of float)
    103 0:8            component-wise multiply (temp 4-component vector of float)
    104 0:8              'input' (in 4-component vector of float)
    105 0:8              'input' (in 4-component vector of float)
    106 0:8          'input' (in 4-component vector of float)
    107 0:9      Branch: Return with expression
    108 0:9        component-wise multiply (temp 4-component vector of float)
    109 0:9          Pre-Increment (temp 4-component vector of float)
    110 0:9            'input' (in 4-component vector of float)
    111 0:9          Negate value (temp 4-component vector of float)
    112 0:9            Negate value (temp 4-component vector of float)
    113 0:9              Pre-Decrement (temp 4-component vector of float)
    114 0:9                'input' (in 4-component vector of float)
    115 0:10      Branch: Return with expression
    116 0:10        add (temp 4-component vector of float)
    117 0:10          Post-Increment (temp 4-component vector of float)
    118 0:10            'input' (in 4-component vector of float)
    119 0:10          Pre-Increment (temp 4-component vector of float)
    120 0:10            'input' (in 4-component vector of float)
    121 0:11      Branch: Return with expression
    122 0:11        sine (global 4-component vector of float)
    123 0:11          'input' (in 4-component vector of float)
    124 0:?   Linker Objects
    125 0:?     'AmbientColor' (temp 4-component vector of float)
    126 0:?     'AmbientIntensity' (temp float)
    127 
    128 // Module Version 10000
    129 // Generated by (magic number): 80001
    130 // Id's are bound by 58
    131 
    132                               Capability Shader
    133                1:             ExtInstImport  "GLSL.std.450"
    134                               MemoryModel Logical GLSL450
    135                               EntryPoint Fragment 4  "PixelShaderFunction" 9
    136                               ExecutionMode 4 OriginUpperLeft
    137                               Source HLSL 450
    138                               Name 4  "PixelShaderFunction"
    139                               Name 9  "input"
    140                               Name 12  "AmbientIntensity"
    141                               Name 16  "AmbientColor"
    142                2:             TypeVoid
    143                3:             TypeFunction 2
    144                6:             TypeFloat 32
    145                7:             TypeVector 6(float) 4
    146                8:             TypePointer Input 7(fvec4)
    147         9(input):      8(ptr) Variable Input
    148               11:             TypePointer Function 6(float)
    149               15:             TypePointer Function 7(fvec4)
    150               37:    6(float) Constant 1065353216
    151 4(PixelShaderFunction):           2 Function None 3
    152                5:             Label
    153 12(AmbientIntensity):     11(ptr) Variable Function
    154 16(AmbientColor):     15(ptr) Variable Function
    155               10:    7(fvec4) Load 9(input)
    156               13:    6(float) Load 12(AmbientIntensity)
    157               14:    7(fvec4) VectorTimesScalar 10 13
    158               17:    7(fvec4) Load 16(AmbientColor)
    159               18:    7(fvec4) FAdd 14 17
    160                               ReturnValue 18
    161                               FunctionEnd
    162