Home | History | Annotate | Download | only in baseResults
      1 hlsl.namespace.frag
      2 Shader version: 500
      3 gl_FragCoord origin is upper left
      4 0:? Sequence
      5 0:5  Function Definition: N1::getVec( ( temp 4-component vector of float)
      6 0:5    Function Parameters: 
      7 0:?     Sequence
      8 0:5      Branch: Return with expression
      9 0:5        'v1' ( global 4-component vector of float)
     10 0:10  Function Definition: N2::getVec( ( temp 4-component vector of float)
     11 0:10    Function Parameters: 
     12 0:?     Sequence
     13 0:10      Branch: Return with expression
     14 0:10        'v2' ( global 4-component vector of float)
     15 0:12  Function Definition: N2::N3::getVec( ( temp 4-component vector of float)
     16 0:12    Function Parameters: 
     17 0:?     Sequence
     18 0:12      Branch: Return with expression
     19 0:12        'v2' ( global 4-component vector of float)
     20 0:15  Function Definition: N2::N3::C1::getVec( ( temp 4-component vector of float)
     21 0:15    Function Parameters: 
     22 0:15      '@this' ( temp structure{})
     23 0:?     Sequence
     24 0:15      Branch: Return with expression
     25 0:15        'v2' ( global 4-component vector of float)
     26 0:21  Function Definition: @main( ( temp 4-component vector of float)
     27 0:21    Function Parameters: 
     28 0:?     Sequence
     29 0:22      Branch: Return with expression
     30 0:22        add ( temp 4-component vector of float)
     31 0:22          add ( temp 4-component vector of float)
     32 0:22            add ( temp 4-component vector of float)
     33 0:22              Function Call: N1::getVec( ( temp 4-component vector of float)
     34 0:22              Function Call: N2::getVec( ( temp 4-component vector of float)
     35 0:22            Function Call: N2::N3::getVec( ( temp 4-component vector of float)
     36 0:22          vector-scale ( temp 4-component vector of float)
     37 0:22            Function Call: N2::N3::C1::getVec( ( temp 4-component vector of float)
     38 0:22            'N2::gf' ( global float)
     39 0:21  Function Definition: main( ( temp void)
     40 0:21    Function Parameters: 
     41 0:?     Sequence
     42 0:21      move second child to first child ( temp 4-component vector of float)
     43 0:?         '@entryPointOutput' (layout( location=0) out 4-component vector of float)
     44 0:21        Function Call: @main( ( temp 4-component vector of float)
     45 0:?   Linker Objects
     46 0:?     'v1' ( global 4-component vector of float)
     47 0:?     'v2' ( global 4-component vector of float)
     48 0:?     'N2::gf' ( global float)
     49 0:?     '@entryPointOutput' (layout( location=0) out 4-component vector of float)
     50 
     51 
     52 Linked fragment stage:
     53 
     54 
     55 Shader version: 500
     56 gl_FragCoord origin is upper left
     57 0:? Sequence
     58 0:5  Function Definition: N1::getVec( ( temp 4-component vector of float)
     59 0:5    Function Parameters: 
     60 0:?     Sequence
     61 0:5      Branch: Return with expression
     62 0:5        'v1' ( global 4-component vector of float)
     63 0:10  Function Definition: N2::getVec( ( temp 4-component vector of float)
     64 0:10    Function Parameters: 
     65 0:?     Sequence
     66 0:10      Branch: Return with expression
     67 0:10        'v2' ( global 4-component vector of float)
     68 0:12  Function Definition: N2::N3::getVec( ( temp 4-component vector of float)
     69 0:12    Function Parameters: 
     70 0:?     Sequence
     71 0:12      Branch: Return with expression
     72 0:12        'v2' ( global 4-component vector of float)
     73 0:15  Function Definition: N2::N3::C1::getVec( ( temp 4-component vector of float)
     74 0:15    Function Parameters: 
     75 0:15      '@this' ( temp structure{})
     76 0:?     Sequence
     77 0:15      Branch: Return with expression
     78 0:15        'v2' ( global 4-component vector of float)
     79 0:21  Function Definition: @main( ( temp 4-component vector of float)
     80 0:21    Function Parameters: 
     81 0:?     Sequence
     82 0:22      Branch: Return with expression
     83 0:22        add ( temp 4-component vector of float)
     84 0:22          add ( temp 4-component vector of float)
     85 0:22            add ( temp 4-component vector of float)
     86 0:22              Function Call: N1::getVec( ( temp 4-component vector of float)
     87 0:22              Function Call: N2::getVec( ( temp 4-component vector of float)
     88 0:22            Function Call: N2::N3::getVec( ( temp 4-component vector of float)
     89 0:22          vector-scale ( temp 4-component vector of float)
     90 0:22            Function Call: N2::N3::C1::getVec( ( temp 4-component vector of float)
     91 0:22            'N2::gf' ( global float)
     92 0:21  Function Definition: main( ( temp void)
     93 0:21    Function Parameters: 
     94 0:?     Sequence
     95 0:21      move second child to first child ( temp 4-component vector of float)
     96 0:?         '@entryPointOutput' (layout( location=0) out 4-component vector of float)
     97 0:21        Function Call: @main( ( temp 4-component vector of float)
     98 0:?   Linker Objects
     99 0:?     'v1' ( global 4-component vector of float)
    100 0:?     'v2' ( global 4-component vector of float)
    101 0:?     'N2::gf' ( global float)
    102 0:?     '@entryPointOutput' (layout( location=0) out 4-component vector of float)
    103 
    104 Validation failed
    105 // Module Version 10000
    106 // Generated by (magic number): 80007
    107 // Id's are bound by 54
    108 
    109                               Capability Shader
    110                1:             ExtInstImport  "GLSL.std.450"
    111                               MemoryModel Logical GLSL450
    112                               EntryPoint Fragment 4  "main" 52
    113                               ExecutionMode 4 OriginUpperLeft
    114                               Source HLSL 500
    115                               Name 4  "main"
    116                               Name 9  "N1::getVec("
    117                               Name 11  "N2::getVec("
    118                               Name 13  "N2::N3::getVec("
    119                               Name 15  "C1"
    120                               Name 19  "N2::N3::C1::getVec("
    121                               Name 18  "@this"
    122                               Name 21  "@main("
    123                               Name 24  "v1"
    124                               Name 28  "v2"
    125                               Name 45  "N2::gf"
    126                               Name 52  "@entryPointOutput"
    127                               Decorate 52(@entryPointOutput) Location 0
    128                2:             TypeVoid
    129                3:             TypeFunction 2
    130                6:             TypeFloat 32
    131                7:             TypeVector 6(float) 4
    132                8:             TypeFunction 7(fvec4)
    133           15(C1):             TypeStruct
    134               16:             TypePointer Function 15(C1)
    135               17:             TypeFunction 7(fvec4) 16(ptr)
    136               23:             TypePointer Private 7(fvec4)
    137           24(v1):     23(ptr) Variable Private
    138           28(v2):     23(ptr) Variable Private
    139               44:             TypePointer Private 6(float)
    140       45(N2::gf):     44(ptr) Variable Private
    141               51:             TypePointer Output 7(fvec4)
    142 52(@entryPointOutput):     51(ptr) Variable Output
    143          4(main):           2 Function None 3
    144                5:             Label
    145               53:    7(fvec4) FunctionCall 21(@main()
    146                               Store 52(@entryPointOutput) 53
    147                               Return
    148                               FunctionEnd
    149   9(N1::getVec():    7(fvec4) Function None 8
    150               10:             Label
    151               25:    7(fvec4) Load 24(v1)
    152                               ReturnValue 25
    153                               FunctionEnd
    154  11(N2::getVec():    7(fvec4) Function None 8
    155               12:             Label
    156               29:    7(fvec4) Load 28(v2)
    157                               ReturnValue 29
    158                               FunctionEnd
    159 13(N2::N3::getVec():    7(fvec4) Function None 8
    160               14:             Label
    161               32:    7(fvec4) Load 28(v2)
    162                               ReturnValue 32
    163                               FunctionEnd
    164 19(N2::N3::C1::getVec():    7(fvec4) Function None 17
    165        18(@this):     16(ptr) FunctionParameter
    166               20:             Label
    167               35:    7(fvec4) Load 28(v2)
    168                               ReturnValue 35
    169                               FunctionEnd
    170       21(@main():    7(fvec4) Function None 8
    171               22:             Label
    172               38:    7(fvec4) FunctionCall 9(N1::getVec()
    173               39:    7(fvec4) FunctionCall 11(N2::getVec()
    174               40:    7(fvec4) FAdd 38 39
    175               41:    7(fvec4) FunctionCall 13(N2::N3::getVec()
    176               42:    7(fvec4) FAdd 40 41
    177               43:    7(fvec4) FunctionCall 19(N2::N3::C1::getVec()
    178               46:    6(float) Load 45(N2::gf)
    179               47:    7(fvec4) VectorTimesScalar 43 46
    180               48:    7(fvec4) FAdd 42 47
    181                               ReturnValue 48
    182                               FunctionEnd
    183