• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1hlsl.self_cast.frag
2Shader version: 500
3gl_FragCoord origin is upper left
40:? Sequence
50:5  Function Definition: @main( ( temp void)
60:5    Function Parameters:
70:?     Sequence
80:?       Sequence
90:8        Sequence
100:8          move second child to first child ( temp structure{})
110:8            'b' ( temp structure{})
120:8            'a' ( temp structure{})
130:?       Sequence
140:13        Sequence
150:13          move second child to first child ( temp structure{ temp float f})
160:13            'b' ( temp structure{ temp float f})
170:13            'a' ( temp structure{ temp float f})
180:?       Sequence
190:18        Sequence
200:18          move second child to first child ( temp 2-element array of structure{})
210:18            'b' ( temp 2-element array of structure{})
220:18            'a' ( temp 2-element array of structure{})
230:?       Sequence
240:23        Sequence
250:23          move second child to first child ( temp 2-element array of structure{ temp float f})
260:23            'b' ( temp 2-element array of structure{ temp float f})
270:23            'a' ( temp 2-element array of structure{ temp float f})
280:5  Function Definition: main( ( temp void)
290:5    Function Parameters:
300:?     Sequence
310:5      Function Call: @main( ( temp void)
320:?   Linker Objects
33
34
35Linked fragment stage:
36
37
38Shader version: 500
39gl_FragCoord origin is upper left
400:? Sequence
410:5  Function Definition: @main( ( temp void)
420:5    Function Parameters:
430:?     Sequence
440:?       Sequence
450:8        Sequence
460:8          move second child to first child ( temp structure{})
470:8            'b' ( temp structure{})
480:8            'a' ( temp structure{})
490:?       Sequence
500:13        Sequence
510:13          move second child to first child ( temp structure{ temp float f})
520:13            'b' ( temp structure{ temp float f})
530:13            'a' ( temp structure{ temp float f})
540:?       Sequence
550:18        Sequence
560:18          move second child to first child ( temp 2-element array of structure{})
570:18            'b' ( temp 2-element array of structure{})
580:18            'a' ( temp 2-element array of structure{})
590:?       Sequence
600:23        Sequence
610:23          move second child to first child ( temp 2-element array of structure{ temp float f})
620:23            'b' ( temp 2-element array of structure{ temp float f})
630:23            'a' ( temp 2-element array of structure{ temp float f})
640:5  Function Definition: main( ( temp void)
650:5    Function Parameters:
660:?     Sequence
670:5      Function Call: @main( ( temp void)
680:?   Linker Objects
69
70// Module Version 10000
71// Generated by (magic number): 80007
72// Id's are bound by 32
73
74                              Capability Shader
75               1:             ExtInstImport  "GLSL.std.450"
76                              MemoryModel Logical GLSL450
77                              EntryPoint Fragment 4  "main"
78                              ExecutionMode 4 OriginUpperLeft
79                              Source HLSL 500
80                              Name 4  "main"
81                              Name 6  "@main("
82                              Name 8  "Test0"
83                              Name 10  "b"
84                              Name 11  "a"
85                              Name 14  "Test1"
86                              MemberName 14(Test1) 0  "f"
87                              Name 16  "b"
88                              Name 17  "a"
89                              Name 23  "b"
90                              Name 24  "a"
91                              Name 28  "b"
92                              Name 29  "a"
93               2:             TypeVoid
94               3:             TypeFunction 2
95        8(Test0):             TypeStruct
96               9:             TypePointer Function 8(Test0)
97              13:             TypeFloat 32
98       14(Test1):             TypeStruct 13(float)
99              15:             TypePointer Function 14(Test1)
100              19:             TypeInt 32 0
101              20:     19(int) Constant 2
102              21:             TypeArray 8(Test0) 20
103              22:             TypePointer Function 21
104              26:             TypeArray 14(Test1) 20
105              27:             TypePointer Function 26
106         4(main):           2 Function None 3
107               5:             Label
108              31:           2 FunctionCall 6(@main()
109                              Return
110                              FunctionEnd
111       6(@main():           2 Function None 3
112               7:             Label
113           10(b):      9(ptr) Variable Function
114           11(a):      9(ptr) Variable Function
115           16(b):     15(ptr) Variable Function
116           17(a):     15(ptr) Variable Function
117           23(b):     22(ptr) Variable Function
118           24(a):     22(ptr) Variable Function
119           28(b):     27(ptr) Variable Function
120           29(a):     27(ptr) Variable Function
121              12:    8(Test0) Load 11(a)
122                              Store 10(b) 12
123              18:   14(Test1) Load 17(a)
124                              Store 16(b) 18
125              25:          21 Load 24(a)
126                              Store 23(b) 25
127              30:          26 Load 29(a)
128                              Store 28(b) 30
129                              Return
130                              FunctionEnd
131