0fc40325c628107331f0ab1247634a0f334ece97
[platform/upstream/glslang.git] / Test / baseResults / hlsl.structStructName.frag.out
1 hlsl.structStructName.frag
2 Shader version: 450
3 gl_FragCoord origin is upper left
4 0:? Sequence
5 0:4  Function Definition: @main( ( temp int)
6 0:4    Function Parameters: 
7 0:?     Sequence
8 0:6      Branch: Return with expression
9 0:6        s: direct index for structure ( temp int)
10 0:6          't' ( temp structure{ temp int s})
11 0:6          Constant:
12 0:6            0 (const int)
13 0:4  Function Definition: main( ( temp void)
14 0:4    Function Parameters: 
15 0:?     Sequence
16 0:4      move second child to first child ( temp int)
17 0:?         '@entryPointOutput' (layout( location=0) out int)
18 0:4        Function Call: @main( ( temp int)
19 0:?   Linker Objects
20 0:?     '@entryPointOutput' (layout( location=0) out int)
21
22
23 Linked fragment stage:
24
25
26 Shader version: 450
27 gl_FragCoord origin is upper left
28 0:? Sequence
29 0:4  Function Definition: @main( ( temp int)
30 0:4    Function Parameters: 
31 0:?     Sequence
32 0:6      Branch: Return with expression
33 0:6        s: direct index for structure ( temp int)
34 0:6          't' ( temp structure{ temp int s})
35 0:6          Constant:
36 0:6            0 (const int)
37 0:4  Function Definition: main( ( temp void)
38 0:4    Function Parameters: 
39 0:?     Sequence
40 0:4      move second child to first child ( temp int)
41 0:?         '@entryPointOutput' (layout( location=0) out int)
42 0:4        Function Call: @main( ( temp int)
43 0:?   Linker Objects
44 0:?     '@entryPointOutput' (layout( location=0) out int)
45
46 // Module Version 10000
47 // Generated by (magic number): 80001
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                               Name 4  "main"
56                               Name 8  "@main("
57                               Name 10  "S"
58                               MemberName 10(S) 0  "s"
59                               Name 12  "t"
60                               Name 20  "@entryPointOutput"
61                               Decorate 20(@entryPointOutput) Location 0
62                2:             TypeVoid
63                3:             TypeFunction 2
64                6:             TypeInt 32 1
65                7:             TypeFunction 6(int)
66            10(S):             TypeStruct 6(int)
67               11:             TypePointer Function 10(S)
68               13:      6(int) Constant 0
69               14:             TypePointer Function 6(int)
70               19:             TypePointer Output 6(int)
71 20(@entryPointOutput):     19(ptr) Variable Output
72          4(main):           2 Function None 3
73                5:             Label
74               21:      6(int) FunctionCall 8(@main()
75                               Store 20(@entryPointOutput) 21
76                               Return
77                               FunctionEnd
78        8(@main():      6(int) Function None 7
79                9:             Label
80            12(t):     11(ptr) Variable Function
81               15:     14(ptr) AccessChain 12(t) 13
82               16:      6(int) Load 15
83                               ReturnValue 16
84                               FunctionEnd