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