xref: /aosp_15_r20/external/angle/third_party/glslang/src/Test/baseResults/iomap.variableOutBlockIn.vert.out (revision 8975f5c5ed3d1c378011245431ada316dfb6f244)
1iomap.variableOutBlockIn.vert
2Shader version: 440
30:? Sequence
40:6  Function Definition: main( ( global void)
50:6    Function Parameters:
60:8    Sequence
70:8      move second child to first child ( temp 4-component vector of float)
80:8        'a1' (layout( location=0) smooth out 4-component vector of float)
90:8        Constant:
100:8          1.000000
110:8          1.000000
120:8          1.000000
130:8          1.000000
140:9      move second child to first child ( temp 2-component vector of float)
150:9        'a2' (layout( location=1) smooth out 2-component vector of float)
160:9        Constant:
170:9          0.500000
180:9          0.500000
190:10      move second child to first child ( temp 4-component vector of float)
200:10        gl_Position: direct index for structure ( gl_Position 4-component vector of float Position)
210:10          'anon@0' ( out block{ gl_Position 4-component vector of float Position gl_Position,  gl_PointSize float PointSize gl_PointSize,  out unsized 1-element array of float ClipDistance gl_ClipDistance})
220:10          Constant:
230:10            0 (const uint)
240:10        Constant:
250:10          1.000000
260:10          1.000000
270:10          1.000000
280:10          1.000000
290:?   Linker Objects
300:?     'a1' (layout( location=0) smooth out 4-component vector of float)
310:?     'a2' (layout( location=1) smooth out 2-component vector of float)
320:?     'anon@0' ( out block{ gl_Position 4-component vector of float Position gl_Position,  gl_PointSize float PointSize gl_PointSize,  out unsized 1-element array of float ClipDistance gl_ClipDistance})
330:?     'gl_VertexID' ( gl_VertexId int VertexId)
340:?     'gl_InstanceID' ( gl_InstanceId int InstanceId)
35
36iomap.variableOutBlockIn.frag
37Shader version: 440
380:? Sequence
390:10  Function Definition: main( ( global void)
400:10    Function Parameters:
410:12    Sequence
420:12      move second child to first child ( temp 4-component vector of float)
430:12        'color' (layout( location=0) out 4-component vector of float)
440:12        Construct vec4 ( temp 4-component vector of float)
450:12          vector swizzle ( temp 2-component vector of float)
460:12            a1: direct index for structure ( in 4-component vector of float)
470:12              'anon@0' (layout( location=0) in block{ in 4-component vector of float a1,  in 2-component vector of float a2})
480:12              Constant:
490:12                0 (const uint)
500:12            Sequence
510:12              Constant:
520:12                0 (const int)
530:12              Constant:
540:12                1 (const int)
550:12          a2: direct index for structure ( in 2-component vector of float)
560:12            'anon@0' (layout( location=0) in block{ in 4-component vector of float a1,  in 2-component vector of float a2})
570:12            Constant:
580:12              1 (const uint)
590:?   Linker Objects
600:?     'anon@0' (layout( location=0) in block{ in 4-component vector of float a1,  in 2-component vector of float a2})
610:?     'color' (layout( location=0) out 4-component vector of float)
62
63
64Linked vertex stage:
65
66
67Linked fragment stage:
68
69
70Shader version: 440
710:? Sequence
720:6  Function Definition: main( ( global void)
730:6    Function Parameters:
740:8    Sequence
750:8      move second child to first child ( temp 4-component vector of float)
760:8        'a1' (layout( location=0) smooth out 4-component vector of float)
770:8        Constant:
780:8          1.000000
790:8          1.000000
800:8          1.000000
810:8          1.000000
820:9      move second child to first child ( temp 2-component vector of float)
830:9        'a2' (layout( location=1) smooth out 2-component vector of float)
840:9        Constant:
850:9          0.500000
860:9          0.500000
870:10      move second child to first child ( temp 4-component vector of float)
880:10        gl_Position: direct index for structure ( gl_Position 4-component vector of float Position)
890:10          'anon@0' ( out block{ gl_Position 4-component vector of float Position gl_Position,  gl_PointSize float PointSize gl_PointSize,  out 1-element array of float ClipDistance gl_ClipDistance})
900:10          Constant:
910:10            0 (const uint)
920:10        Constant:
930:10          1.000000
940:10          1.000000
950:10          1.000000
960:10          1.000000
970:?   Linker Objects
980:?     'a1' (layout( location=0) smooth out 4-component vector of float)
990:?     'a2' (layout( location=1) smooth out 2-component vector of float)
1000:?     'anon@0' ( out block{ gl_Position 4-component vector of float Position gl_Position,  gl_PointSize float PointSize gl_PointSize,  out 1-element array of float ClipDistance gl_ClipDistance})
1010:?     'gl_VertexID' ( gl_VertexId int VertexId)
1020:?     'gl_InstanceID' ( gl_InstanceId int InstanceId)
103Shader version: 440
1040:? Sequence
1050:10  Function Definition: main( ( global void)
1060:10    Function Parameters:
1070:12    Sequence
1080:12      move second child to first child ( temp 4-component vector of float)
1090:12        'color' (layout( location=0) out 4-component vector of float)
1100:12        Construct vec4 ( temp 4-component vector of float)
1110:12          vector swizzle ( temp 2-component vector of float)
1120:12            a1: direct index for structure ( in 4-component vector of float)
1130:12              'anon@0' (layout( location=0) in block{ in 4-component vector of float a1,  in 2-component vector of float a2})
1140:12              Constant:
1150:12                0 (const uint)
1160:12            Sequence
1170:12              Constant:
1180:12                0 (const int)
1190:12              Constant:
1200:12                1 (const int)
1210:12          a2: direct index for structure ( in 2-component vector of float)
1220:12            'anon@0' (layout( location=0) in block{ in 4-component vector of float a1,  in 2-component vector of float a2})
1230:12            Constant:
1240:12              1 (const uint)
1250:?   Linker Objects
1260:?     'anon@0' (layout( location=0) in block{ in 4-component vector of float a1,  in 2-component vector of float a2})
1270:?     'color' (layout( location=0) out 4-component vector of float)
128
129// Module Version 10000
130// Generated by (magic number): 8000b
131// Id's are bound by 29
132
133                              Capability Shader
134               1:             ExtInstImport  "GLSL.std.450"
135                              MemoryModel Logical GLSL450
136                              EntryPoint Vertex 4  "main" 9 14 22 27 28
137                              Source GLSL 440
138                              Name 4  "main"
139                              Name 9  "a1"
140                              Name 14  "a2"
141                              Name 20  "gl_PerVertex"
142                              MemberName 20(gl_PerVertex) 0  "gl_Position"
143                              MemberName 20(gl_PerVertex) 1  "gl_PointSize"
144                              MemberName 20(gl_PerVertex) 2  "gl_ClipDistance"
145                              Name 22  ""
146                              Name 27  "gl_VertexID"
147                              Name 28  "gl_InstanceID"
148                              Decorate 9(a1) Location 0
149                              Decorate 14(a2) Location 1
150                              Decorate 20(gl_PerVertex) Block
151                              MemberDecorate 20(gl_PerVertex) 0 BuiltIn Position
152                              MemberDecorate 20(gl_PerVertex) 1 BuiltIn PointSize
153                              MemberDecorate 20(gl_PerVertex) 2 BuiltIn ClipDistance
154                              Decorate 27(gl_VertexID) BuiltIn VertexId
155                              Decorate 28(gl_InstanceID) BuiltIn InstanceId
156               2:             TypeVoid
157               3:             TypeFunction 2
158               6:             TypeFloat 32
159               7:             TypeVector 6(float) 4
160               8:             TypePointer Output 7(fvec4)
161           9(a1):      8(ptr) Variable Output
162              10:    6(float) Constant 1065353216
163              11:    7(fvec4) ConstantComposite 10 10 10 10
164              12:             TypeVector 6(float) 2
165              13:             TypePointer Output 12(fvec2)
166          14(a2):     13(ptr) Variable Output
167              15:    6(float) Constant 1056964608
168              16:   12(fvec2) ConstantComposite 15 15
169              17:             TypeInt 32 0
170              18:     17(int) Constant 1
171              19:             TypeArray 6(float) 18
17220(gl_PerVertex):             TypeStruct 7(fvec4) 6(float) 19
173              21:             TypePointer Output 20(gl_PerVertex)
174              22:     21(ptr) Variable Output
175              23:             TypeInt 32 1
176              24:     23(int) Constant 0
177              26:             TypePointer Input 23(int)
178 27(gl_VertexID):     26(ptr) Variable Input
17928(gl_InstanceID):     26(ptr) Variable Input
180         4(main):           2 Function None 3
181               5:             Label
182                              Store 9(a1) 11
183                              Store 14(a2) 16
184              25:      8(ptr) AccessChain 22 24
185                              Store 25 11
186                              Return
187                              FunctionEnd
188// Module Version 10000
189// Generated by (magic number): 8000b
190// Id's are bound by 29
191
192                              Capability Shader
193               1:             ExtInstImport  "GLSL.std.450"
194                              MemoryModel Logical GLSL450
195                              EntryPoint Fragment 4  "main" 9 13
196                              ExecutionMode 4 OriginLowerLeft
197                              Source GLSL 440
198                              Name 4  "main"
199                              Name 9  "color"
200                              Name 11  "Inputs"
201                              MemberName 11(Inputs) 0  "a1"
202                              MemberName 11(Inputs) 1  "a2"
203                              Name 13  ""
204                              Decorate 9(color) Location 0
205                              Decorate 11(Inputs) Block
206                              Decorate 13 Location 0
207               2:             TypeVoid
208               3:             TypeFunction 2
209               6:             TypeFloat 32
210               7:             TypeVector 6(float) 4
211               8:             TypePointer Output 7(fvec4)
212        9(color):      8(ptr) Variable Output
213              10:             TypeVector 6(float) 2
214      11(Inputs):             TypeStruct 7(fvec4) 10(fvec2)
215              12:             TypePointer Input 11(Inputs)
216              13:     12(ptr) Variable Input
217              14:             TypeInt 32 1
218              15:     14(int) Constant 0
219              16:             TypePointer Input 7(fvec4)
220              20:     14(int) Constant 1
221              21:             TypePointer Input 10(fvec2)
222         4(main):           2 Function None 3
223               5:             Label
224              17:     16(ptr) AccessChain 13 15
225              18:    7(fvec4) Load 17
226              19:   10(fvec2) VectorShuffle 18 18 0 1
227              22:     21(ptr) AccessChain 13 20
228              23:   10(fvec2) Load 22
229              24:    6(float) CompositeExtract 19 0
230              25:    6(float) CompositeExtract 19 1
231              26:    6(float) CompositeExtract 23 0
232              27:    6(float) CompositeExtract 23 1
233              28:    7(fvec4) CompositeConstruct 24 25 26 27
234                              Store 9(color) 28
235                              Return
236                              FunctionEnd
237