• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1iomap.crossStage.vert
2Shader version: 460
30:? Sequence
40:32  Function Definition: main( ( global void)
50:32    Function Parameters:
60:34    Sequence
70:34      move second child to first child ( temp 4-component vector of float)
80:34        'o1' ( smooth out 4-component vector of float)
90:34        Constant:
100:34          0.000000
110:34          0.000000
120:34          0.000000
130:34          0.000000
140:35      move second child to first child ( temp 2-component vector of float)
150:35        'o2' ( smooth out 2-component vector of float)
160:35        Constant:
170:35          0.000000
180:35          0.000000
190:36      move second child to first child ( temp 4-component vector of float)
200:36        o3: direct index for structure ( out 4-component vector of float)
210:36          'anon@0' (layout( location=5) out block{ out 4-component vector of float o3})
220:36          Constant:
230:36            0 (const uint)
240:36        Constant:
250:36          0.000000
260:36          0.000000
270:36          0.000000
280:36          0.000000
290:?   Linker Objects
300:?     'o1' ( smooth out 4-component vector of float)
310:?     'o2' ( smooth out 2-component vector of float)
320:?     'anon@0' (layout( location=5) out block{ out 4-component vector of float o3})
330:?     'u1' ( uniform 2-component vector of float)
340:?     'u2' ( uniform 3-component vector of float)
350:?       0.000000
360:?       0.000000
370:?       0.000000
380:?     'u3' ( uniform 4-component vector of float)
390:?       0.000000
400:?       0.000000
410:?       0.000000
420:?       0.000000
430:?     'um2' ( uniform 2X2 matrix of float)
440:?       4.000000
450:?       0.000000
460:?       0.000000
470:?       4.000000
480:?     'glass' (layout( location=0 binding=0) uniform sampler2D)
490:?     'anon@1' (layout( column_major std140) uniform block{layout( column_major std140) uniform 4-component vector of float a, layout( column_major std140) uniform 4-component vector of float b})
500:?     'anon@2' (layout( column_major std430) buffer block{layout( column_major std430) buffer 2-component vector of float vb1})
510:?     'blockName1' (layout( column_major std140) uniform 2-element array of block{layout( column_major std140) uniform 4-component vector of float a, layout( column_major std140) uniform 2-component vector of float b})
520:?     'gl_VertexID' ( gl_VertexId int VertexId)
530:?     'gl_InstanceID' ( gl_InstanceId int InstanceId)
54
55iomap.crossStage.frag
56Shader version: 460
570:? Sequence
580:36  Function Definition: main( ( global void)
590:36    Function Parameters:
600:38    Sequence
610:38      Sequence
620:38        move second child to first child ( temp 4-component vector of float)
630:38          'color' ( temp 4-component vector of float)
640:38          component-wise multiply ( temp 4-component vector of float)
650:38            component-wise multiply ( temp 4-component vector of float)
660:38              component-wise multiply ( temp 4-component vector of float)
670:38                'o1' ( smooth in 4-component vector of float)
680:38                vector swizzle ( temp 4-component vector of float)
690:38                  'u1' ( uniform 2-component vector of float)
700:38                  Sequence
710:38                    Constant:
720:38                      0 (const int)
730:38                    Constant:
740:38                      1 (const int)
750:38                    Constant:
760:38                      0 (const int)
770:38                    Constant:
780:38                      1 (const int)
790:38              vector swizzle ( temp 4-component vector of float)
800:38                'u2' ( uniform 3-component vector of float)
810:38                Sequence
820:38                  Constant:
830:38                    0 (const int)
840:38                  Constant:
850:38                    1 (const int)
860:38                  Constant:
870:38                    2 (const int)
880:38                  Constant:
890:38                    0 (const int)
900:38            vector swizzle ( temp 4-component vector of float)
910:38              'u3' ( uniform 4-component vector of float)
920:38                0.000000
930:38                0.000000
940:38                0.000000
950:38                0.000000
960:38              Sequence
970:38                Constant:
980:38                  0 (const int)
990:38                Constant:
1000:38                  1 (const int)
1010:38                Constant:
1020:38                  2 (const int)
1030:38                Constant:
1040:38                  3 (const int)
1050:39      move second child to first child ( temp 4-component vector of float)
1060:39        'outColor' ( out 4-component vector of float)
1070:39        'color' ( temp 4-component vector of float)
1080:?   Linker Objects
1090:?     'anon@0' (layout( location=5) in block{ in 4-component vector of float o3})
1100:?     'o2' ( smooth in 2-component vector of float)
1110:?     'o1' ( smooth in 4-component vector of float)
1120:?     'outColor' ( out 4-component vector of float)
1130:?     'u1' ( uniform 2-component vector of float)
1140:?     'u2' ( uniform 3-component vector of float)
1150:?     'u3' ( uniform 4-component vector of float)
1160:?       0.000000
1170:?       0.000000
1180:?       0.000000
1190:?       0.000000
1200:?     'um2' ( uniform 2X2 matrix of float)
1210:?       4.000000
1220:?       0.000000
1230:?       0.000000
1240:?       4.000000
1250:?     'glass' (layout( location=0 binding=0) uniform sampler2D)
1260:?     'anon@1' (layout( column_major std140) uniform block{layout( column_major std140) uniform 4-component vector of float a, layout( column_major std140) uniform 4-component vector of float b})
1270:?     'anon@2' (layout( column_major std430) buffer block{layout( column_major std430) buffer 2-component vector of float fb1})
1280:?     'blockName2' (layout( column_major std140) uniform 2-element array of block{layout( column_major std140) uniform 4-component vector of float a, layout( column_major std140) uniform 2-component vector of float b})
129
130
131Linked vertex stage:
132
133
134Linked fragment stage:
135
136WARNING: Linking unknown stage and fragment stages: Matched shader interfaces are using different instance names.
137    unknown stage stage: Block: crossStageBlock2 Instance: blockName1: ""
138    fragment stage: Block: crossStageBlock2 Instance: blockName2: ""
139
140Shader version: 460
1410:? Sequence
1420:32  Function Definition: main( ( global void)
1430:32    Function Parameters:
1440:34    Sequence
1450:34      move second child to first child ( temp 4-component vector of float)
1460:34        'o1' ( smooth out 4-component vector of float)
1470:34        Constant:
1480:34          0.000000
1490:34          0.000000
1500:34          0.000000
1510:34          0.000000
1520:35      move second child to first child ( temp 2-component vector of float)
1530:35        'o2' ( smooth out 2-component vector of float)
1540:35        Constant:
1550:35          0.000000
1560:35          0.000000
1570:36      move second child to first child ( temp 4-component vector of float)
1580:36        o3: direct index for structure ( out 4-component vector of float)
1590:36          'anon@0' (layout( location=5) out block{ out 4-component vector of float o3})
1600:36          Constant:
1610:36            0 (const uint)
1620:36        Constant:
1630:36          0.000000
1640:36          0.000000
1650:36          0.000000
1660:36          0.000000
1670:?   Linker Objects
1680:?     'o1' ( smooth out 4-component vector of float)
1690:?     'o2' ( smooth out 2-component vector of float)
1700:?     'anon@0' (layout( location=5) out block{ out 4-component vector of float o3})
1710:?     'u1' ( uniform 2-component vector of float)
1720:?     'u2' ( uniform 3-component vector of float)
1730:?       0.000000
1740:?       0.000000
1750:?       0.000000
1760:?     'u3' ( uniform 4-component vector of float)
1770:?       0.000000
1780:?       0.000000
1790:?       0.000000
1800:?       0.000000
1810:?     'um2' ( uniform 2X2 matrix of float)
1820:?       4.000000
1830:?       0.000000
1840:?       0.000000
1850:?       4.000000
1860:?     'glass' (layout( location=0 binding=0) uniform sampler2D)
1870:?     'anon@1' (layout( column_major std140) uniform block{layout( column_major std140) uniform 4-component vector of float a, layout( column_major std140) uniform 4-component vector of float b})
1880:?     'anon@2' (layout( column_major std430) buffer block{layout( column_major std430) buffer 2-component vector of float vb1})
1890:?     'blockName1' (layout( column_major std140) uniform 2-element array of block{layout( column_major std140) uniform 4-component vector of float a, layout( column_major std140) uniform 2-component vector of float b})
1900:?     'gl_VertexID' ( gl_VertexId int VertexId)
1910:?     'gl_InstanceID' ( gl_InstanceId int InstanceId)
192Shader version: 460
1930:? Sequence
1940:36  Function Definition: main( ( global void)
1950:36    Function Parameters:
1960:38    Sequence
1970:38      Sequence
1980:38        move second child to first child ( temp 4-component vector of float)
1990:38          'color' ( temp 4-component vector of float)
2000:38          component-wise multiply ( temp 4-component vector of float)
2010:38            component-wise multiply ( temp 4-component vector of float)
2020:38              component-wise multiply ( temp 4-component vector of float)
2030:38                'o1' ( smooth in 4-component vector of float)
2040:38                vector swizzle ( temp 4-component vector of float)
2050:38                  'u1' ( uniform 2-component vector of float)
2060:38                  Sequence
2070:38                    Constant:
2080:38                      0 (const int)
2090:38                    Constant:
2100:38                      1 (const int)
2110:38                    Constant:
2120:38                      0 (const int)
2130:38                    Constant:
2140:38                      1 (const int)
2150:38              vector swizzle ( temp 4-component vector of float)
2160:38                'u2' ( uniform 3-component vector of float)
2170:38                Sequence
2180:38                  Constant:
2190:38                    0 (const int)
2200:38                  Constant:
2210:38                    1 (const int)
2220:38                  Constant:
2230:38                    2 (const int)
2240:38                  Constant:
2250:38                    0 (const int)
2260:38            vector swizzle ( temp 4-component vector of float)
2270:38              'u3' ( uniform 4-component vector of float)
2280:38                0.000000
2290:38                0.000000
2300:38                0.000000
2310:38                0.000000
2320:38              Sequence
2330:38                Constant:
2340:38                  0 (const int)
2350:38                Constant:
2360:38                  1 (const int)
2370:38                Constant:
2380:38                  2 (const int)
2390:38                Constant:
2400:38                  3 (const int)
2410:39      move second child to first child ( temp 4-component vector of float)
2420:39        'outColor' ( out 4-component vector of float)
2430:39        'color' ( temp 4-component vector of float)
2440:?   Linker Objects
2450:?     'anon@0' (layout( location=5) in block{ in 4-component vector of float o3})
2460:?     'o2' ( smooth in 2-component vector of float)
2470:?     'o1' ( smooth in 4-component vector of float)
2480:?     'outColor' ( out 4-component vector of float)
2490:?     'u1' ( uniform 2-component vector of float)
2500:?     'u2' ( uniform 3-component vector of float)
2510:?     'u3' ( uniform 4-component vector of float)
2520:?       0.000000
2530:?       0.000000
2540:?       0.000000
2550:?       0.000000
2560:?     'um2' ( uniform 2X2 matrix of float)
2570:?       4.000000
2580:?       0.000000
2590:?       0.000000
2600:?       4.000000
2610:?     'glass' (layout( location=0 binding=0) uniform sampler2D)
2620:?     'anon@1' (layout( column_major std140) uniform block{layout( column_major std140) uniform 4-component vector of float a, layout( column_major std140) uniform 4-component vector of float b})
2630:?     'anon@2' (layout( column_major std430) buffer block{layout( column_major std430) buffer 2-component vector of float fb1})
2640:?     'blockName2' (layout( column_major std140) uniform 2-element array of block{layout( column_major std140) uniform 4-component vector of float a, layout( column_major std140) uniform 2-component vector of float b})
265
266// Module Version 10000
267// Generated by (magic number): 8000b
268// Id's are bound by 56
269
270                              Capability Shader
271               1:             ExtInstImport  "GLSL.std.450"
272                              MemoryModel Logical GLSL450
273                              EntryPoint Vertex 4  "main" 9 14 18 54 55
274                              Source GLSL 460
275                              Name 4  "main"
276                              Name 9  "o1"
277                              Name 14  "o2"
278                              Name 16  "outBlock"
279                              MemberName 16(outBlock) 0  "o3"
280                              Name 18  ""
281                              Name 23  "u1"
282                              Name 27  "u2"
283                              Name 29  "u3"
284                              Name 36  "um2"
285                              Name 40  "glass"
286                              Name 41  "crossStageBlock1"
287                              MemberName 41(crossStageBlock1) 0  "a"
288                              MemberName 41(crossStageBlock1) 1  "b"
289                              Name 43  ""
290                              Name 44  "vertOnlyBlock"
291                              MemberName 44(vertOnlyBlock) 0  "vb1"
292                              Name 46  ""
293                              Name 47  "crossStageBlock2"
294                              MemberName 47(crossStageBlock2) 0  "a"
295                              MemberName 47(crossStageBlock2) 1  "b"
296                              Name 52  "blockName1"
297                              Name 54  "gl_VertexID"
298                              Name 55  "gl_InstanceID"
299                              Decorate 9(o1) Location 0
300                              Decorate 14(o2) Location 1
301                              Decorate 16(outBlock) Block
302                              Decorate 18 Location 5
303                              Decorate 23(u1) Location 1
304                              Decorate 23(u1) DescriptorSet 0
305                              Decorate 27(u2) Location 2
306                              Decorate 27(u2) DescriptorSet 0
307                              Decorate 29(u3) Location 3
308                              Decorate 29(u3) DescriptorSet 0
309                              Decorate 36(um2) Location 4
310                              Decorate 36(um2) DescriptorSet 0
311                              Decorate 40(glass) Location 0
312                              Decorate 40(glass) DescriptorSet 0
313                              Decorate 40(glass) Binding 0
314                              MemberDecorate 41(crossStageBlock1) 0 Offset 0
315                              MemberDecorate 41(crossStageBlock1) 1 Offset 16
316                              Decorate 41(crossStageBlock1) Block
317                              Decorate 43 DescriptorSet 0
318                              Decorate 43 Binding 0
319                              MemberDecorate 44(vertOnlyBlock) 0 Offset 0
320                              Decorate 44(vertOnlyBlock) BufferBlock
321                              Decorate 46 DescriptorSet 0
322                              Decorate 46 Binding 0
323                              MemberDecorate 47(crossStageBlock2) 0 Offset 0
324                              MemberDecorate 47(crossStageBlock2) 1 Offset 16
325                              Decorate 47(crossStageBlock2) Block
326                              Decorate 52(blockName1) DescriptorSet 0
327                              Decorate 52(blockName1) Binding 0
328                              Decorate 54(gl_VertexID) BuiltIn VertexId
329                              Decorate 55(gl_InstanceID) BuiltIn InstanceId
330               2:             TypeVoid
331               3:             TypeFunction 2
332               6:             TypeFloat 32
333               7:             TypeVector 6(float) 4
334               8:             TypePointer Output 7(fvec4)
335           9(o1):      8(ptr) Variable Output
336              10:    6(float) Constant 0
337              11:    7(fvec4) ConstantComposite 10 10 10 10
338              12:             TypeVector 6(float) 2
339              13:             TypePointer Output 12(fvec2)
340          14(o2):     13(ptr) Variable Output
341              15:   12(fvec2) ConstantComposite 10 10
342    16(outBlock):             TypeStruct 7(fvec4)
343              17:             TypePointer Output 16(outBlock)
344              18:     17(ptr) Variable Output
345              19:             TypeInt 32 1
346              20:     19(int) Constant 0
347              22:             TypePointer UniformConstant 12(fvec2)
348          23(u1):     22(ptr) Variable UniformConstant
349              24:             TypeVector 6(float) 3
350              25:   24(fvec3) ConstantComposite 10 10 10
351              26:             TypePointer UniformConstant 24(fvec3)
352          27(u2):     26(ptr) Variable UniformConstant 25
353              28:             TypePointer UniformConstant 7(fvec4)
354          29(u3):     28(ptr) Variable UniformConstant 11
355              30:             TypeMatrix 12(fvec2) 2
356              31:    6(float) Constant 1082130432
357              32:   12(fvec2) ConstantComposite 31 10
358              33:   12(fvec2) ConstantComposite 10 31
359              34:          30 ConstantComposite 32 33
360              35:             TypePointer UniformConstant 30
361         36(um2):     35(ptr) Variable UniformConstant 34
362              37:             TypeImage 6(float) 2D sampled format:Unknown
363              38:             TypeSampledImage 37
364              39:             TypePointer UniformConstant 38
365       40(glass):     39(ptr) Variable UniformConstant
36641(crossStageBlock1):             TypeStruct 7(fvec4) 7(fvec4)
367              42:             TypePointer Uniform 41(crossStageBlock1)
368              43:     42(ptr) Variable Uniform
36944(vertOnlyBlock):             TypeStruct 12(fvec2)
370              45:             TypePointer Uniform 44(vertOnlyBlock)
371              46:     45(ptr) Variable Uniform
37247(crossStageBlock2):             TypeStruct 7(fvec4) 12(fvec2)
373              48:             TypeInt 32 0
374              49:     48(int) Constant 2
375              50:             TypeArray 47(crossStageBlock2) 49
376              51:             TypePointer Uniform 50
377  52(blockName1):     51(ptr) Variable Uniform
378              53:             TypePointer Input 19(int)
379 54(gl_VertexID):     53(ptr) Variable Input
38055(gl_InstanceID):     53(ptr) Variable Input
381         4(main):           2 Function None 3
382               5:             Label
383                              Store 9(o1) 11
384                              Store 14(o2) 15
385              21:      8(ptr) AccessChain 18 20
386                              Store 21 11
387                              Return
388                              FunctionEnd
389// Module Version 10000
390// Generated by (magic number): 8000b
391// Id's are bound by 62
392
393                              Capability Shader
394               1:             ExtInstImport  "GLSL.std.450"
395                              MemoryModel Logical GLSL450
396                              EntryPoint Fragment 4  "main" 11 32 36 38
397                              ExecutionMode 4 OriginLowerLeft
398                              Source GLSL 460
399                              Name 4  "main"
400                              Name 9  "color"
401                              Name 11  "o1"
402                              Name 15  "u1"
403                              Name 21  "u2"
404                              Name 28  "u3"
405                              Name 32  "outColor"
406                              Name 34  "outBlock"
407                              MemberName 34(outBlock) 0  "o3"
408                              Name 36  ""
409                              Name 38  "o2"
410                              Name 45  "um2"
411                              Name 49  "glass"
412                              Name 50  "crossStageBlock1"
413                              MemberName 50(crossStageBlock1) 0  "a"
414                              MemberName 50(crossStageBlock1) 1  "b"
415                              Name 52  ""
416                              Name 53  "fragOnlyBlock"
417                              MemberName 53(fragOnlyBlock) 0  "fb1"
418                              Name 55  ""
419                              Name 56  "crossStageBlock2"
420                              MemberName 56(crossStageBlock2) 0  "a"
421                              MemberName 56(crossStageBlock2) 1  "b"
422                              Name 61  "blockName2"
423                              Decorate 11(o1) Location 0
424                              Decorate 15(u1) Location 1
425                              Decorate 15(u1) DescriptorSet 0
426                              Decorate 21(u2) Location 2
427                              Decorate 21(u2) DescriptorSet 0
428                              Decorate 28(u3) Location 3
429                              Decorate 28(u3) DescriptorSet 0
430                              Decorate 32(outColor) Location 0
431                              Decorate 34(outBlock) Block
432                              Decorate 36 Location 5
433                              Decorate 38(o2) Location 1
434                              Decorate 45(um2) Location 4
435                              Decorate 45(um2) DescriptorSet 0
436                              Decorate 49(glass) Location 0
437                              Decorate 49(glass) DescriptorSet 0
438                              Decorate 49(glass) Binding 0
439                              MemberDecorate 50(crossStageBlock1) 0 Offset 0
440                              MemberDecorate 50(crossStageBlock1) 1 Offset 16
441                              Decorate 50(crossStageBlock1) Block
442                              Decorate 52 DescriptorSet 0
443                              Decorate 52 Binding 0
444                              MemberDecorate 53(fragOnlyBlock) 0 Offset 0
445                              Decorate 53(fragOnlyBlock) BufferBlock
446                              Decorate 55 DescriptorSet 0
447                              Decorate 55 Binding 0
448                              MemberDecorate 56(crossStageBlock2) 0 Offset 0
449                              MemberDecorate 56(crossStageBlock2) 1 Offset 16
450                              Decorate 56(crossStageBlock2) Block
451                              Decorate 61(blockName2) DescriptorSet 0
452                              Decorate 61(blockName2) Binding 0
453               2:             TypeVoid
454               3:             TypeFunction 2
455               6:             TypeFloat 32
456               7:             TypeVector 6(float) 4
457               8:             TypePointer Function 7(fvec4)
458              10:             TypePointer Input 7(fvec4)
459          11(o1):     10(ptr) Variable Input
460              13:             TypeVector 6(float) 2
461              14:             TypePointer UniformConstant 13(fvec2)
462          15(u1):     14(ptr) Variable UniformConstant
463              19:             TypeVector 6(float) 3
464              20:             TypePointer UniformConstant 19(fvec3)
465          21(u2):     20(ptr) Variable UniformConstant
466              25:    6(float) Constant 0
467              26:    7(fvec4) ConstantComposite 25 25 25 25
468              27:             TypePointer UniformConstant 7(fvec4)
469          28(u3):     27(ptr) Variable UniformConstant 26
470              31:             TypePointer Output 7(fvec4)
471    32(outColor):     31(ptr) Variable Output
472    34(outBlock):             TypeStruct 7(fvec4)
473              35:             TypePointer Input 34(outBlock)
474              36:     35(ptr) Variable Input
475              37:             TypePointer Input 13(fvec2)
476          38(o2):     37(ptr) Variable Input
477              39:             TypeMatrix 13(fvec2) 2
478              40:    6(float) Constant 1082130432
479              41:   13(fvec2) ConstantComposite 40 25
480              42:   13(fvec2) ConstantComposite 25 40
481              43:          39 ConstantComposite 41 42
482              44:             TypePointer UniformConstant 39
483         45(um2):     44(ptr) Variable UniformConstant 43
484              46:             TypeImage 6(float) 2D sampled format:Unknown
485              47:             TypeSampledImage 46
486              48:             TypePointer UniformConstant 47
487       49(glass):     48(ptr) Variable UniformConstant
48850(crossStageBlock1):             TypeStruct 7(fvec4) 7(fvec4)
489              51:             TypePointer Uniform 50(crossStageBlock1)
490              52:     51(ptr) Variable Uniform
49153(fragOnlyBlock):             TypeStruct 13(fvec2)
492              54:             TypePointer Uniform 53(fragOnlyBlock)
493              55:     54(ptr) Variable Uniform
49456(crossStageBlock2):             TypeStruct 7(fvec4) 13(fvec2)
495              57:             TypeInt 32 0
496              58:     57(int) Constant 2
497              59:             TypeArray 56(crossStageBlock2) 58
498              60:             TypePointer Uniform 59
499  61(blockName2):     60(ptr) Variable Uniform
500         4(main):           2 Function None 3
501               5:             Label
502        9(color):      8(ptr) Variable Function
503              12:    7(fvec4) Load 11(o1)
504              16:   13(fvec2) Load 15(u1)
505              17:    7(fvec4) VectorShuffle 16 16 0 1 0 1
506              18:    7(fvec4) FMul 12 17
507              22:   19(fvec3) Load 21(u2)
508              23:    7(fvec4) VectorShuffle 22 22 0 1 2 0
509              24:    7(fvec4) FMul 18 23
510              29:    7(fvec4) Load 28(u3)
511              30:    7(fvec4) FMul 24 29
512                              Store 9(color) 30
513              33:    7(fvec4) Load 9(color)
514                              Store 32(outColor) 33
515                              Return
516                              FunctionEnd
517