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