• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1vk.relaxed.changeSet.vert
2Shader version: 460
30:? Sequence
40:11  Function Definition: main( ( global void)
50:11    Function Parameters:
60:13    Sequence
70:13      move second child to first child ( temp highp 4-component vector of float)
80:13        'Color' ( smooth out highp 4-component vector of float)
90:13        'aColor' ( in highp 4-component vector of float)
100:14      move second child to first child ( temp highp 2-component vector of float)
110:14        'UV' ( smooth out highp 2-component vector of float)
120:14        'aUV' ( in highp 2-component vector of float)
130:15      move second child to first child ( temp highp 4-component vector of float)
140:15        gl_Position: direct index for structure ( gl_Position highp 4-component vector of float Position)
150:15          '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,  out unsized 1-element array of float CullDistance gl_CullDistance})
160:15          Constant:
170:15            0 (const uint)
180:15        matrix-times-vector ( temp highp 4-component vector of float)
190:15          projectionMatrix: direct index for structure ( uniform highp 4X4 matrix of float)
200:15            'anon@0' (layout( column_major std140) uniform block{ uniform highp 4X4 matrix of float projectionMatrix})
210:15            Constant:
220:15              0 (const uint)
230:15          Construct vec4 ( temp highp 4-component vector of float)
240:15            'aPos' ( in highp 2-component vector of float)
250:15            Constant:
260:15              0.000000
270:15            Constant:
280:15              1.000000
290:?   Linker Objects
300:?     'aPos' ( in highp 2-component vector of float)
310:?     'aUV' ( in highp 2-component vector of float)
320:?     'aColor' ( in highp 4-component vector of float)
330:?     'anon@0' (layout( column_major std140) uniform block{ uniform highp 4X4 matrix of float projectionMatrix})
340:?     'Color' ( smooth out highp 4-component vector of float)
350:?     'UV' ( smooth out highp 2-component vector of float)
360:?     '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,  out unsized 1-element array of float CullDistance gl_CullDistance})
370:?     'gl_VertexID' ( in int VertexIndex)
380:?     'gl_InstanceID' ( in int InstanceIndex)
39
40vk.relaxed.changeSet.frag
41Shader version: 460
42gl_FragCoord origin is upper left
430:? Sequence
440:10  Function Definition: main( ( global void)
450:10    Function Parameters:
460:12    Sequence
470:12      move second child to first child ( temp highp 4-component vector of float)
480:12        'fragColor' (layout( location=0) out highp 4-component vector of float)
490:12        vector-scale ( temp highp 4-component vector of float)
500:12          'Color' ( smooth in highp 4-component vector of float)
510:12          direct index ( temp highp float)
520:12            texture ( global highp 4-component vector of float)
530:12              'sTexture' ( uniform highp sampler2D)
540:12              vector swizzle ( temp highp 2-component vector of float)
550:12                'UV' ( smooth in highp 2-component vector of float)
560:12                Sequence
570:12                  Constant:
580:12                    0 (const int)
590:12                  Constant:
600:12                    1 (const int)
610:12            Constant:
620:12              0 (const int)
630:?   Linker Objects
640:?     'fragColor' (layout( location=0) out highp 4-component vector of float)
650:?     'sTexture' ( uniform highp sampler2D)
660:?     'Color' ( smooth in highp 4-component vector of float)
670:?     'UV' ( smooth in highp 2-component vector of float)
68
69
70Linked vertex stage:
71
72
73Linked fragment stage:
74
75
76Shader version: 460
770:? Sequence
780:11  Function Definition: main( ( global void)
790:11    Function Parameters:
800:13    Sequence
810:13      move second child to first child ( temp highp 4-component vector of float)
820:13        'Color' ( smooth out highp 4-component vector of float)
830:13        'aColor' ( in highp 4-component vector of float)
840:14      move second child to first child ( temp highp 2-component vector of float)
850:14        'UV' ( smooth out highp 2-component vector of float)
860:14        'aUV' ( in highp 2-component vector of float)
870:15      move second child to first child ( temp highp 4-component vector of float)
880:15        gl_Position: direct index for structure ( gl_Position highp 4-component vector of float Position)
890:15          '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,  out 1-element array of float CullDistance gl_CullDistance})
900:15          Constant:
910:15            0 (const uint)
920:15        matrix-times-vector ( temp highp 4-component vector of float)
930:15          projectionMatrix: direct index for structure ( uniform highp 4X4 matrix of float)
940:15            'anon@0' (layout( column_major std140) uniform block{ uniform highp 4X4 matrix of float projectionMatrix})
950:15            Constant:
960:15              0 (const uint)
970:15          Construct vec4 ( temp highp 4-component vector of float)
980:15            'aPos' ( in highp 2-component vector of float)
990:15            Constant:
1000:15              0.000000
1010:15            Constant:
1020:15              1.000000
1030:?   Linker Objects
1040:?     'aPos' ( in highp 2-component vector of float)
1050:?     'aUV' ( in highp 2-component vector of float)
1060:?     'aColor' ( in highp 4-component vector of float)
1070:?     'anon@0' (layout( column_major std140) uniform block{ uniform highp 4X4 matrix of float projectionMatrix})
1080:?     'Color' ( smooth out highp 4-component vector of float)
1090:?     'UV' ( smooth out highp 2-component vector of float)
1100:?     '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,  out 1-element array of float CullDistance gl_CullDistance})
1110:?     'gl_VertexID' ( in int VertexIndex)
1120:?     'gl_InstanceID' ( in int InstanceIndex)
113Shader version: 460
114gl_FragCoord origin is upper left
1150:? Sequence
1160:10  Function Definition: main( ( global void)
1170:10    Function Parameters:
1180:12    Sequence
1190:12      move second child to first child ( temp highp 4-component vector of float)
1200:12        'fragColor' (layout( location=0) out highp 4-component vector of float)
1210:12        vector-scale ( temp highp 4-component vector of float)
1220:12          'Color' ( smooth in highp 4-component vector of float)
1230:12          direct index ( temp highp float)
1240:12            texture ( global highp 4-component vector of float)
1250:12              'sTexture' ( uniform highp sampler2D)
1260:12              vector swizzle ( temp highp 2-component vector of float)
1270:12                'UV' ( smooth in highp 2-component vector of float)
1280:12                Sequence
1290:12                  Constant:
1300:12                    0 (const int)
1310:12                  Constant:
1320:12                    1 (const int)
1330:12            Constant:
1340:12              0 (const int)
1350:?   Linker Objects
1360:?     'fragColor' (layout( location=0) out highp 4-component vector of float)
1370:?     'sTexture' ( uniform highp sampler2D)
1380:?     'Color' ( smooth in highp 4-component vector of float)
1390:?     'UV' ( smooth in highp 2-component vector of float)
140
141// Module Version 10000
142// Generated by (magic number): 8000a
143// Id's are bound by 46
144
145                              Capability Shader
146               1:             ExtInstImport  "GLSL.std.450"
147                              MemoryModel Logical GLSL450
148                              EntryPoint Vertex 4  "main" 9 11 15 17 24 34 44 45
149                              Source GLSL 460
150                              Name 4  "main"
151                              Name 9  "Color"
152                              Name 11  "aColor"
153                              Name 15  "UV"
154                              Name 17  "aUV"
155                              Name 22  "gl_PerVertex"
156                              MemberName 22(gl_PerVertex) 0  "gl_Position"
157                              MemberName 22(gl_PerVertex) 1  "gl_PointSize"
158                              MemberName 22(gl_PerVertex) 2  "gl_ClipDistance"
159                              MemberName 22(gl_PerVertex) 3  "gl_CullDistance"
160                              Name 24  ""
161                              Name 28  "gl_DefaultUniformBlock"
162                              MemberName 28(gl_DefaultUniformBlock) 0  "projectionMatrix"
163                              Name 30  ""
164                              Name 34  "aPos"
165                              Name 44  "gl_VertexID"
166                              Name 45  "gl_InstanceID"
167                              Decorate 9(Color) Location 0
168                              Decorate 11(aColor) Location 2
169                              Decorate 15(UV) Location 1
170                              Decorate 17(aUV) Location 1
171                              MemberDecorate 22(gl_PerVertex) 0 BuiltIn Position
172                              MemberDecorate 22(gl_PerVertex) 1 BuiltIn PointSize
173                              MemberDecorate 22(gl_PerVertex) 2 BuiltIn ClipDistance
174                              MemberDecorate 22(gl_PerVertex) 3 BuiltIn CullDistance
175                              Decorate 22(gl_PerVertex) Block
176                              MemberDecorate 28(gl_DefaultUniformBlock) 0 ColMajor
177                              MemberDecorate 28(gl_DefaultUniformBlock) 0 Offset 0
178                              MemberDecorate 28(gl_DefaultUniformBlock) 0 MatrixStride 16
179                              Decorate 28(gl_DefaultUniformBlock) Block
180                              Decorate 30 DescriptorSet 0
181                              Decorate 30 Binding 0
182                              Decorate 34(aPos) Location 0
183                              Decorate 44(gl_VertexID) BuiltIn VertexIndex
184                              Decorate 45(gl_InstanceID) BuiltIn InstanceIndex
185               2:             TypeVoid
186               3:             TypeFunction 2
187               6:             TypeFloat 32
188               7:             TypeVector 6(float) 4
189               8:             TypePointer Output 7(fvec4)
190        9(Color):      8(ptr) Variable Output
191              10:             TypePointer Input 7(fvec4)
192      11(aColor):     10(ptr) Variable Input
193              13:             TypeVector 6(float) 2
194              14:             TypePointer Output 13(fvec2)
195          15(UV):     14(ptr) Variable Output
196              16:             TypePointer Input 13(fvec2)
197         17(aUV):     16(ptr) Variable Input
198              19:             TypeInt 32 0
199              20:     19(int) Constant 1
200              21:             TypeArray 6(float) 20
20122(gl_PerVertex):             TypeStruct 7(fvec4) 6(float) 21 21
202              23:             TypePointer Output 22(gl_PerVertex)
203              24:     23(ptr) Variable Output
204              25:             TypeInt 32 1
205              26:     25(int) Constant 0
206              27:             TypeMatrix 7(fvec4) 4
20728(gl_DefaultUniformBlock):             TypeStruct 27
208              29:             TypePointer Uniform 28(gl_DefaultUniformBlock)
209              30:     29(ptr) Variable Uniform
210              31:             TypePointer Uniform 27
211        34(aPos):     16(ptr) Variable Input
212              36:    6(float) Constant 0
213              37:    6(float) Constant 1065353216
214              43:             TypePointer Input 25(int)
215 44(gl_VertexID):     43(ptr) Variable Input
21645(gl_InstanceID):     43(ptr) Variable Input
217         4(main):           2 Function None 3
218               5:             Label
219              12:    7(fvec4) Load 11(aColor)
220                              Store 9(Color) 12
221              18:   13(fvec2) Load 17(aUV)
222                              Store 15(UV) 18
223              32:     31(ptr) AccessChain 30 26
224              33:          27 Load 32
225              35:   13(fvec2) Load 34(aPos)
226              38:    6(float) CompositeExtract 35 0
227              39:    6(float) CompositeExtract 35 1
228              40:    7(fvec4) CompositeConstruct 38 39 36 37
229              41:    7(fvec4) MatrixTimesVector 33 40
230              42:      8(ptr) AccessChain 24 26
231                              Store 42 41
232                              Return
233                              FunctionEnd
234// Module Version 10000
235// Generated by (magic number): 8000a
236// Id's are bound by 27
237
238                              Capability Shader
239               1:             ExtInstImport  "GLSL.std.450"
240                              MemoryModel Logical GLSL450
241                              EntryPoint Fragment 4  "main" 9 11 20
242                              ExecutionMode 4 OriginUpperLeft
243                              Source GLSL 460
244                              Name 4  "main"
245                              Name 9  "fragColor"
246                              Name 11  "Color"
247                              Name 16  "sTexture"
248                              Name 20  "UV"
249                              Decorate 9(fragColor) Location 0
250                              Decorate 11(Color) Location 0
251                              Decorate 16(sTexture) DescriptorSet 1
252                              Decorate 16(sTexture) Binding 0
253                              Decorate 20(UV) Location 1
254               2:             TypeVoid
255               3:             TypeFunction 2
256               6:             TypeFloat 32
257               7:             TypeVector 6(float) 4
258               8:             TypePointer Output 7(fvec4)
259    9(fragColor):      8(ptr) Variable Output
260              10:             TypePointer Input 7(fvec4)
261       11(Color):     10(ptr) Variable Input
262              13:             TypeImage 6(float) 2D sampled format:Unknown
263              14:             TypeSampledImage 13
264              15:             TypePointer UniformConstant 14
265    16(sTexture):     15(ptr) Variable UniformConstant
266              18:             TypeVector 6(float) 2
267              19:             TypePointer Input 18(fvec2)
268          20(UV):     19(ptr) Variable Input
269              23:             TypeInt 32 0
270              24:     23(int) Constant 0
271         4(main):           2 Function None 3
272               5:             Label
273              12:    7(fvec4) Load 11(Color)
274              17:          14 Load 16(sTexture)
275              21:   18(fvec2) Load 20(UV)
276              22:    7(fvec4) ImageSampleImplicitLod 17 21
277              25:    6(float) CompositeExtract 22 0
278              26:    7(fvec4) VectorTimesScalar 12 25
279                              Store 9(fragColor) 26
280                              Return
281                              FunctionEnd
282