1hlsl.structStructName.frag
2Shader version: 500
3gl_FragCoord origin is upper left
40:? Sequence
50:4  Function Definition: @main( ( temp int)
60:4    Function Parameters:
70:?     Sequence
80:6      Branch: Return with expression
90:6        s: direct index for structure ( temp int)
100:6          't' ( temp structure{ temp int s})
110:6          Constant:
120:6            0 (const int)
130:4  Function Definition: main( ( temp void)
140:4    Function Parameters:
150:?     Sequence
160:4      move second child to first child ( temp int)
170:?         '@entryPointOutput' (layout( location=0) out int)
180:4        Function Call: @main( ( temp int)
190:?   Linker Objects
200:?     '@entryPointOutput' (layout( location=0) out int)
21
22
23Linked fragment stage:
24
25
26Shader version: 500
27gl_FragCoord origin is upper left
280:? Sequence
290:4  Function Definition: @main( ( temp int)
300:4    Function Parameters:
310:?     Sequence
320:6      Branch: Return with expression
330:6        s: direct index for structure ( temp int)
340:6          't' ( temp structure{ temp int s})
350:6          Constant:
360:6            0 (const int)
370:4  Function Definition: main( ( temp void)
380:4    Function Parameters:
390:?     Sequence
400:4      move second child to first child ( temp int)
410:?         '@entryPointOutput' (layout( location=0) out int)
420:4        Function Call: @main( ( temp int)
430:?   Linker Objects
440:?     '@entryPointOutput' (layout( location=0) out int)
45
46// Module Version 10000
47// Generated by (magic number): 80007
48// Id's are bound by 22
49
50                              Capability Shader
51               1:             ExtInstImport  "GLSL.std.450"
52                              MemoryModel Logical GLSL450
53                              EntryPoint Fragment 4  "main" 20
54                              ExecutionMode 4 OriginUpperLeft
55                              Source HLSL 500
56                              Name 4  "main"
57                              Name 8  "@main("
58                              Name 10  "S"
59                              MemberName 10(S) 0  "s"
60                              Name 12  "t"
61                              Name 20  "@entryPointOutput"
62                              Decorate 20(@entryPointOutput) Location 0
63               2:             TypeVoid
64               3:             TypeFunction 2
65               6:             TypeInt 32 1
66               7:             TypeFunction 6(int)
67           10(S):             TypeStruct 6(int)
68              11:             TypePointer Function 10(S)
69              13:      6(int) Constant 0
70              14:             TypePointer Function 6(int)
71              19:             TypePointer Output 6(int)
7220(@entryPointOutput):     19(ptr) Variable Output
73         4(main):           2 Function None 3
74               5:             Label
75              21:      6(int) FunctionCall 8(@main()
76                              Store 20(@entryPointOutput) 21
77                              Return
78                              FunctionEnd
79       8(@main():      6(int) Function None 7
80               9:             Label
81           12(t):     11(ptr) Variable Function
82              15:     14(ptr) AccessChain 12(t) 13
83              16:      6(int) Load 15
84                              ReturnValue 16
85                              FunctionEnd
86