1hlsl.namespace.frag
2Shader version: 500
3gl_FragCoord origin is upper left
40:? Sequence
50:5  Function Definition: N1::getVec( ( temp 4-component vector of float)
60:5    Function Parameters:
70:?     Sequence
80:5      Branch: Return with expression
90:5        'v1' ( global 4-component vector of float)
100:10  Function Definition: N2::getVec( ( temp 4-component vector of float)
110:10    Function Parameters:
120:?     Sequence
130:10      Branch: Return with expression
140:10        'v2' ( global 4-component vector of float)
150:12  Function Definition: N2::N3::getVec( ( temp 4-component vector of float)
160:12    Function Parameters:
170:?     Sequence
180:12      Branch: Return with expression
190:12        'v2' ( global 4-component vector of float)
200:15  Function Definition: N2::N3::C1::getVec( ( temp 4-component vector of float)
210:15    Function Parameters:
220:15      '@this' ( temp structure{})
230:?     Sequence
240:15      Branch: Return with expression
250:15        'v2' ( global 4-component vector of float)
260:21  Function Definition: @main( ( temp 4-component vector of float)
270:21    Function Parameters:
280:?     Sequence
290:22      Branch: Return with expression
300:22        add ( temp 4-component vector of float)
310:22          add ( temp 4-component vector of float)
320:22            add ( temp 4-component vector of float)
330:22              Function Call: N1::getVec( ( temp 4-component vector of float)
340:22              Function Call: N2::getVec( ( temp 4-component vector of float)
350:22            Function Call: N2::N3::getVec( ( temp 4-component vector of float)
360:22          vector-scale ( temp 4-component vector of float)
370:22            Function Call: N2::N3::C1::getVec( ( temp 4-component vector of float)
380:22            'N2::gf' ( global float)
390:21  Function Definition: main( ( temp void)
400:21    Function Parameters:
410:?     Sequence
420:21      move second child to first child ( temp 4-component vector of float)
430:?         '@entryPointOutput' (layout( location=0) out 4-component vector of float)
440:21        Function Call: @main( ( temp 4-component vector of float)
450:?   Linker Objects
460:?     'v1' ( global 4-component vector of float)
470:?     'v2' ( global 4-component vector of float)
480:?     'N2::gf' ( global float)
490:?     '@entryPointOutput' (layout( location=0) out 4-component vector of float)
50
51
52Linked fragment stage:
53
54
55Shader version: 500
56gl_FragCoord origin is upper left
570:? Sequence
580:5  Function Definition: N1::getVec( ( temp 4-component vector of float)
590:5    Function Parameters:
600:?     Sequence
610:5      Branch: Return with expression
620:5        'v1' ( global 4-component vector of float)
630:10  Function Definition: N2::getVec( ( temp 4-component vector of float)
640:10    Function Parameters:
650:?     Sequence
660:10      Branch: Return with expression
670:10        'v2' ( global 4-component vector of float)
680:12  Function Definition: N2::N3::getVec( ( temp 4-component vector of float)
690:12    Function Parameters:
700:?     Sequence
710:12      Branch: Return with expression
720:12        'v2' ( global 4-component vector of float)
730:15  Function Definition: N2::N3::C1::getVec( ( temp 4-component vector of float)
740:15    Function Parameters:
750:15      '@this' ( temp structure{})
760:?     Sequence
770:15      Branch: Return with expression
780:15        'v2' ( global 4-component vector of float)
790:21  Function Definition: @main( ( temp 4-component vector of float)
800:21    Function Parameters:
810:?     Sequence
820:22      Branch: Return with expression
830:22        add ( temp 4-component vector of float)
840:22          add ( temp 4-component vector of float)
850:22            add ( temp 4-component vector of float)
860:22              Function Call: N1::getVec( ( temp 4-component vector of float)
870:22              Function Call: N2::getVec( ( temp 4-component vector of float)
880:22            Function Call: N2::N3::getVec( ( temp 4-component vector of float)
890:22          vector-scale ( temp 4-component vector of float)
900:22            Function Call: N2::N3::C1::getVec( ( temp 4-component vector of float)
910:22            'N2::gf' ( global float)
920:21  Function Definition: main( ( temp void)
930:21    Function Parameters:
940:?     Sequence
950:21      move second child to first child ( temp 4-component vector of float)
960:?         '@entryPointOutput' (layout( location=0) out 4-component vector of float)
970:21        Function Call: @main( ( temp 4-component vector of float)
980:?   Linker Objects
990:?     'v1' ( global 4-component vector of float)
1000:?     'v2' ( global 4-component vector of float)
1010:?     'N2::gf' ( global float)
1020:?     '@entryPointOutput' (layout( location=0) out 4-component vector of float)
103
104// Module Version 10000
105// Generated by (magic number): 80007
106// Id's are bound by 54
107
108                              Capability Shader
109               1:             ExtInstImport  "GLSL.std.450"
110                              MemoryModel Logical GLSL450
111                              EntryPoint Fragment 4  "main" 52
112                              ExecutionMode 4 OriginUpperLeft
113                              Source HLSL 500
114                              Name 4  "main"
115                              Name 9  "N1::getVec("
116                              Name 11  "N2::getVec("
117                              Name 13  "N2::N3::getVec("
118                              Name 15  "C1"
119                              Name 19  "N2::N3::C1::getVec("
120                              Name 18  "@this"
121                              Name 21  "@main("
122                              Name 24  "v1"
123                              Name 28  "v2"
124                              Name 45  "N2::gf"
125                              Name 52  "@entryPointOutput"
126                              Decorate 52(@entryPointOutput) Location 0
127               2:             TypeVoid
128               3:             TypeFunction 2
129               6:             TypeFloat 32
130               7:             TypeVector 6(float) 4
131               8:             TypeFunction 7(fvec4)
132          15(C1):             TypeStruct
133              16:             TypePointer Function 15(C1)
134              17:             TypeFunction 7(fvec4) 16(ptr)
135              23:             TypePointer Private 7(fvec4)
136          24(v1):     23(ptr) Variable Private
137          28(v2):     23(ptr) Variable Private
138              44:             TypePointer Private 6(float)
139      45(N2::gf):     44(ptr) Variable Private
140              51:             TypePointer Output 7(fvec4)
14152(@entryPointOutput):     51(ptr) Variable Output
142         4(main):           2 Function None 3
143               5:             Label
144              53:    7(fvec4) FunctionCall 21(@main()
145                              Store 52(@entryPointOutput) 53
146                              Return
147                              FunctionEnd
148  9(N1::getVec():    7(fvec4) Function None 8
149              10:             Label
150              25:    7(fvec4) Load 24(v1)
151                              ReturnValue 25
152                              FunctionEnd
153 11(N2::getVec():    7(fvec4) Function None 8
154              12:             Label
155              29:    7(fvec4) Load 28(v2)
156                              ReturnValue 29
157                              FunctionEnd
15813(N2::N3::getVec():    7(fvec4) Function None 8
159              14:             Label
160              32:    7(fvec4) Load 28(v2)
161                              ReturnValue 32
162                              FunctionEnd
16319(N2::N3::C1::getVec():    7(fvec4) Function None 17
164       18(@this):     16(ptr) FunctionParameter
165              20:             Label
166              35:    7(fvec4) Load 28(v2)
167                              ReturnValue 35
168                              FunctionEnd
169      21(@main():    7(fvec4) Function None 8
170              22:             Label
171              38:    7(fvec4) FunctionCall 9(N1::getVec()
172              39:    7(fvec4) FunctionCall 11(N2::getVec()
173              40:    7(fvec4) FAdd 38 39
174              41:    7(fvec4) FunctionCall 13(N2::N3::getVec()
175              42:    7(fvec4) FAdd 40 41
176              43:    7(fvec4) FunctionCall 19(N2::N3::C1::getVec()
177              46:    6(float) Load 45(N2::gf)
178              47:    7(fvec4) VectorTimesScalar 43 46
179              48:    7(fvec4) FAdd 42 47
180                              ReturnValue 48
181                              FunctionEnd
182