• 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( ( 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
104Validation 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)
14252(@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
15913(N2::N3::getVec():    7(fvec4) Function None 8
160              14:             Label
161              32:    7(fvec4) Load 28(v2)
162                              ReturnValue 32
163                              FunctionEnd
16419(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