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