Home | History | Annotate | Download | only in baseResults
      1 hlsl.cast.frag
      2 Shader version: 500
      3 gl_FragCoord origin is upper left
      4 0:? Sequence
      5 0:2  Function Definition: @PixelShaderFunction(vf4; ( temp 4-component vector of float)
      6 0:2    Function Parameters: 
      7 0:2      'input' ( in 4-component vector of float)
      8 0:?     Sequence
      9 0:3      Branch: Return with expression
     10 0:3        add ( temp 4-component vector of float)
     11 0:3          add ( temp 4-component vector of float)
     12 0:3            'input' ( in 4-component vector of float)
     13 0:3            Convert int to float ( temp 4-component vector of float)
     14 0:3              Convert float to int ( temp 4-component vector of int)
     15 0:3                'input' ( in 4-component vector of float)
     16 0:3          Constant:
     17 0:3            1.198000
     18 0:3            1.198000
     19 0:3            1.198000
     20 0:3            1.198000
     21 0:2  Function Definition: PixelShaderFunction( ( temp void)
     22 0:2    Function Parameters: 
     23 0:?     Sequence
     24 0:2      move second child to first child ( temp 4-component vector of float)
     25 0:?         'input' ( temp 4-component vector of float)
     26 0:?         'input' (layout( location=0) in 4-component vector of float)
     27 0:2      move second child to first child ( temp 4-component vector of float)
     28 0:?         '@entryPointOutput' (layout( location=0) out 4-component vector of float)
     29 0:2        Function Call: @PixelShaderFunction(vf4; ( temp 4-component vector of float)
     30 0:?           'input' ( temp 4-component vector of float)
     31 0:?   Linker Objects
     32 0:?     '@entryPointOutput' (layout( location=0) out 4-component vector of float)
     33 0:?     'input' (layout( location=0) in 4-component vector of float)
     34 
     35 
     36 Linked fragment stage:
     37 
     38 
     39 Shader version: 500
     40 gl_FragCoord origin is upper left
     41 0:? Sequence
     42 0:2  Function Definition: @PixelShaderFunction(vf4; ( temp 4-component vector of float)
     43 0:2    Function Parameters: 
     44 0:2      'input' ( in 4-component vector of float)
     45 0:?     Sequence
     46 0:3      Branch: Return with expression
     47 0:3        add ( temp 4-component vector of float)
     48 0:3          add ( temp 4-component vector of float)
     49 0:3            'input' ( in 4-component vector of float)
     50 0:3            Convert int to float ( temp 4-component vector of float)
     51 0:3              Convert float to int ( temp 4-component vector of int)
     52 0:3                'input' ( in 4-component vector of float)
     53 0:3          Constant:
     54 0:3            1.198000
     55 0:3            1.198000
     56 0:3            1.198000
     57 0:3            1.198000
     58 0:2  Function Definition: PixelShaderFunction( ( temp void)
     59 0:2    Function Parameters: 
     60 0:?     Sequence
     61 0:2      move second child to first child ( temp 4-component vector of float)
     62 0:?         'input' ( temp 4-component vector of float)
     63 0:?         'input' (layout( location=0) in 4-component vector of float)
     64 0:2      move second child to first child ( temp 4-component vector of float)
     65 0:?         '@entryPointOutput' (layout( location=0) out 4-component vector of float)
     66 0:2        Function Call: @PixelShaderFunction(vf4; ( temp 4-component vector of float)
     67 0:?           'input' ( temp 4-component vector of float)
     68 0:?   Linker Objects
     69 0:?     '@entryPointOutput' (layout( location=0) out 4-component vector of float)
     70 0:?     'input' (layout( location=0) in 4-component vector of float)
     71 
     72 // Module Version 10000
     73 // Generated by (magic number): 80007
     74 // Id's are bound by 34
     75 
     76                               Capability Shader
     77                1:             ExtInstImport  "GLSL.std.450"
     78                               MemoryModel Logical GLSL450
     79                               EntryPoint Fragment 4  "PixelShaderFunction" 27 30
     80                               ExecutionMode 4 OriginUpperLeft
     81                               Source HLSL 500
     82                               Name 4  "PixelShaderFunction"
     83                               Name 11  "@PixelShaderFunction(vf4;"
     84                               Name 10  "input"
     85                               Name 25  "input"
     86                               Name 27  "input"
     87                               Name 30  "@entryPointOutput"
     88                               Name 31  "param"
     89                               Decorate 27(input) Location 0
     90                               Decorate 30(@entryPointOutput) Location 0
     91                2:             TypeVoid
     92                3:             TypeFunction 2
     93                6:             TypeFloat 32
     94                7:             TypeVector 6(float) 4
     95                8:             TypePointer Function 7(fvec4)
     96                9:             TypeFunction 7(fvec4) 8(ptr)
     97               15:             TypeInt 32 1
     98               16:             TypeVector 15(int) 4
     99               20:    6(float) Constant 1067014160
    100               21:    7(fvec4) ConstantComposite 20 20 20 20
    101               26:             TypePointer Input 7(fvec4)
    102        27(input):     26(ptr) Variable Input
    103               29:             TypePointer Output 7(fvec4)
    104 30(@entryPointOutput):     29(ptr) Variable Output
    105 4(PixelShaderFunction):           2 Function None 3
    106                5:             Label
    107        25(input):      8(ptr) Variable Function
    108        31(param):      8(ptr) Variable Function
    109               28:    7(fvec4) Load 27(input)
    110                               Store 25(input) 28
    111               32:    7(fvec4) Load 25(input)
    112                               Store 31(param) 32
    113               33:    7(fvec4) FunctionCall 11(@PixelShaderFunction(vf4;) 31(param)
    114                               Store 30(@entryPointOutput) 33
    115                               Return
    116                               FunctionEnd
    117 11(@PixelShaderFunction(vf4;):    7(fvec4) Function None 9
    118        10(input):      8(ptr) FunctionParameter
    119               12:             Label
    120               13:    7(fvec4) Load 10(input)
    121               14:    7(fvec4) Load 10(input)
    122               17:   16(ivec4) ConvertFToS 14
    123               18:    7(fvec4) ConvertSToF 17
    124               19:    7(fvec4) FAdd 13 18
    125               22:    7(fvec4) FAdd 19 21
    126                               ReturnValue 22
    127                               FunctionEnd
    128