yum-mirror/glslang

git clone https://git.yummers.dev/yum-mirror/glslang

Zackery Mason-BlaugFix several issues with link-time implicit array size mergingfd433938

main
13.6 KiB226 linesraw
1implicitArraySizeUniform.vert
2Shader version: 460
3Requested GL_EXT_nonuniform_qualifier
40:? Sequence
50:49  Function Definition: main( ( global void)
60:49    Function Parameters: 
70:50    Sequence
80:50      move second child to first child ( temp 4-component vector of float)
90:50        'out_VS' ( smooth out 4-component vector of float)
100:50        texture ( global 4-component vector of float)
110:50          indirect index ( nonuniform temp sampler2D)
120:50            's1' ( uniform runtime-sized array of sampler2D)
130:50            copy object ( nonuniform temp int)
140:50              Constant:
150:50                0 (const int)
160:50          Constant:
170:50            0.000000
180:50            0.000000
190:51      move second child to first child ( temp 4-component vector of float)
200:51        'out_VS' ( smooth out 4-component vector of float)
210:51        direct index (layout( column_major shared) temp 4-component vector of float)
220:51          a: direct index for structure (layout( column_major shared) uniform unsized 11-element array of 4-component vector of float)
230:51            'u0' (layout( column_major shared) uniform block{layout( column_major shared) uniform unsized 11-element array of 4-component vector of float a})
240:51            Constant:
250:51              0 (const int)
260:51          Constant:
270:51            10 (const int)
280:52      move second child to first child ( temp 4-component vector of float)
290:52        'out_VS' ( smooth out 4-component vector of float)
300:52        direct index (layout( column_major shared) temp 4-component vector of float)
310:52          a: direct index for structure (layout( column_major shared) buffer unsized 6-element array of 4-component vector of float)
320:52            'b1' (layout( column_major shared) buffer block{layout( column_major shared) buffer unsized 6-element array of 4-component vector of float a})
330:52            Constant:
340:52              0 (const int)
350:52          Constant:
360:52            5 (const int)
370:?   Linker Objects
380:?     'f0' ( uniform unsized 1-element array of float)
390:?     's0' ( uniform unsized 1-element array of sampler2D)
400:?     's1' ( uniform runtime-sized array of sampler2D)
410:?     'u0' (layout( column_major shared) uniform block{layout( column_major shared) uniform unsized 11-element array of 4-component vector of float a})
420:?     'u1' (layout( column_major shared) uniform block{layout( column_major shared) uniform unsized 1-element array of 4-component vector of float a})
430:?     'b0' (layout( column_major shared) buffer unsized 1-element array of block{layout( column_major shared) buffer 4-component vector of float a})
440:?     'b1' (layout( column_major shared) buffer block{layout( column_major shared) buffer unsized 6-element array of 4-component vector of float a})
450:?     'b2' (layout( column_major shared) buffer block{layout( column_major shared) buffer unsized 1-element array of 4-component vector of float a})
460:?     'out_VS' ( smooth out 4-component vector of float)
470:?     'gl_VertexID' ( gl_VertexId int VertexId)
480:?     'gl_InstanceID' ( gl_InstanceId int InstanceId)
49
50implicitArraySizeUniform.frag
51Shader version: 460
52Requested GL_EXT_nonuniform_qualifier
530:? Sequence
540:50  Function Definition: main( ( global void)
550:50    Function Parameters: 
560:51    Sequence
570:51      move second child to first child ( temp 4-component vector of float)
580:51        'o' ( out 4-component vector of float)
590:51        texture ( global 4-component vector of float)
600:51          indirect index ( nonuniform temp sampler2D)
610:51            's0' ( uniform runtime-sized array of sampler2D)
620:51            copy object ( nonuniform temp int)
630:51              Constant:
640:51                1 (const int)
650:51          vector swizzle ( temp 2-component vector of float)
660:51            'gl_FragCoord' ( gl_FragCoord 4-component vector of float FragCoord)
670:51            Sequence
680:51              Constant:
690:51                0 (const int)
700:51              Constant:
710:51                1 (const int)
720:52      add second child into first child ( temp 4-component vector of float)
730:52        'o' ( out 4-component vector of float)
740:52        direct index (layout( column_major shared) temp 4-component vector of float)
750:52          a: direct index for structure (layout( column_major shared) uniform unsized 7-element array of 4-component vector of float)
760:52            'u1' (layout( column_major shared) uniform block{layout( column_major shared) uniform unsized 7-element array of 4-component vector of float a})
770:52            Constant:
780:52              0 (const int)
790:52          Constant:
800:52            6 (const int)
810:53      add second child into first child ( temp 4-component vector of float)
820:53        'o' ( out 4-component vector of float)
830:53        a: direct index for structure (layout( column_major shared) buffer 4-component vector of float)
840:53          direct index (layout( column_major shared) temp block{layout( column_major shared) buffer 4-component vector of float a})
850:53            'b0' (layout( column_major shared) buffer unsized 10-element array of block{layout( column_major shared) buffer 4-component vector of float a})
860:53            Constant:
870:53              9 (const int)
880:53          Constant:
890:53            0 (const int)
900:54      add second child into first child ( temp 4-component vector of float)
910:54        'o' ( out 4-component vector of float)
920:54        indirect index (layout( column_major shared) nonuniform temp 4-component vector of float)
930:54          a: direct index for structure (layout( column_major shared) buffer runtime-sized array of 4-component vector of float)
940:54            'b2' (layout( column_major shared) buffer block{layout( column_major shared) buffer runtime-sized array of 4-component vector of float a})
950:54            Constant:
960:54              0 (const int)
970:54          copy object ( nonuniform temp int)
980:54            Constant:
990:54              1 (const int)
1000:?   Linker Objects
1010:?     'f0' ( uniform unsized 1-element array of float)
1020:?     's0' ( uniform runtime-sized array of sampler2D)
1030:?     's1' ( uniform unsized 1-element array of sampler2D)
1040:?     'u0' (layout( column_major shared) uniform block{layout( column_major shared) uniform unsized 1-element array of 4-component vector of float a})
1050:?     'u1' (layout( column_major shared) uniform block{layout( column_major shared) uniform unsized 7-element array of 4-component vector of float a})
1060:?     'b0' (layout( column_major shared) buffer unsized 10-element array of block{layout( column_major shared) buffer 4-component vector of float a})
1070:?     'b1' (layout( column_major shared) buffer block{layout( column_major shared) buffer 11-element array of 4-component vector of float a})
1080:?     'b2' (layout( column_major shared) buffer block{layout( column_major shared) buffer runtime-sized array of 4-component vector of float a})
1090:?     'out_VS' ( smooth in 4-component vector of float)
1100:?     'o' ( out 4-component vector of float)
111
112
113Linked vertex stage:
114
115
116Linked fragment stage:
117
118
119Shader version: 460
120Requested GL_EXT_nonuniform_qualifier
1210:? Sequence
1220:49  Function Definition: main( ( global void)
1230:49    Function Parameters: 
1240:50    Sequence
1250:50      move second child to first child ( temp 4-component vector of float)
1260:50        'out_VS' ( smooth out 4-component vector of float)
1270:50        texture ( global 4-component vector of float)
1280:50          indirect index ( nonuniform temp sampler2D)
1290:50            's1' ( uniform runtime-sized array of sampler2D)
1300:50            copy object ( nonuniform temp int)
1310:50              Constant:
1320:50                0 (const int)
1330:50          Constant:
1340:50            0.000000
1350:50            0.000000
1360:51      move second child to first child ( temp 4-component vector of float)
1370:51        'out_VS' ( smooth out 4-component vector of float)
1380:51        direct index (layout( column_major shared) temp 4-component vector of float)
1390:51          a: direct index for structure (layout( column_major shared) uniform 11-element array of 4-component vector of float)
1400:51            'u0' (layout( column_major shared) uniform block{layout( column_major shared) uniform 11-element array of 4-component vector of float a})
1410:51            Constant:
1420:51              0 (const int)
1430:51          Constant:
1440:51            10 (const int)
1450:52      move second child to first child ( temp 4-component vector of float)
1460:52        'out_VS' ( smooth out 4-component vector of float)
1470:52        direct index (layout( column_major shared) temp 4-component vector of float)
1480:52          a: direct index for structure (layout( column_major shared) buffer 11-element array of 4-component vector of float)
1490:52            'b1' (layout( column_major shared) buffer block{layout( column_major shared) buffer 11-element array of 4-component vector of float a})
1500:52            Constant:
1510:52              0 (const int)
1520:52          Constant:
1530:52            5 (const int)
1540:?   Linker Objects
1550:?     'f0' ( uniform 1-element array of float)
1560:?     's0' ( uniform runtime-sized array of sampler2D)
1570:?     's1' ( uniform runtime-sized array of sampler2D)
1580:?     'u0' (layout( column_major shared) uniform block{layout( column_major shared) uniform 11-element array of 4-component vector of float a})
1590:?     'u1' (layout( column_major shared) uniform block{layout( column_major shared) uniform 7-element array of 4-component vector of float a})
1600:?     'b0' (layout( column_major shared) buffer 10-element array of block{layout( column_major shared) buffer 4-component vector of float a})
1610:?     'b1' (layout( column_major shared) buffer block{layout( column_major shared) buffer 11-element array of 4-component vector of float a})
1620:?     'b2' (layout( column_major shared) buffer block{layout( column_major shared) buffer runtime-sized array of 4-component vector of float a})
1630:?     'out_VS' ( smooth out 4-component vector of float)
1640:?     'gl_VertexID' ( gl_VertexId int VertexId)
1650:?     'gl_InstanceID' ( gl_InstanceId int InstanceId)
166Shader version: 460
167Requested GL_EXT_nonuniform_qualifier
1680:? Sequence
1690:50  Function Definition: main( ( global void)
1700:50    Function Parameters: 
1710:51    Sequence
1720:51      move second child to first child ( temp 4-component vector of float)
1730:51        'o' ( out 4-component vector of float)
1740:51        texture ( global 4-component vector of float)
1750:51          indirect index ( nonuniform temp sampler2D)
1760:51            's0' ( uniform runtime-sized array of sampler2D)
1770:51            copy object ( nonuniform temp int)
1780:51              Constant:
1790:51                1 (const int)
1800:51          vector swizzle ( temp 2-component vector of float)
1810:51            'gl_FragCoord' ( gl_FragCoord 4-component vector of float FragCoord)
1820:51            Sequence
1830:51              Constant:
1840:51                0 (const int)
1850:51              Constant:
1860:51                1 (const int)
1870:52      add second child into first child ( temp 4-component vector of float)
1880:52        'o' ( out 4-component vector of float)
1890:52        direct index (layout( column_major shared) temp 4-component vector of float)
1900:52          a: direct index for structure (layout( column_major shared) uniform 7-element array of 4-component vector of float)
1910:52            'u1' (layout( column_major shared) uniform block{layout( column_major shared) uniform 7-element array of 4-component vector of float a})
1920:52            Constant:
1930:52              0 (const int)
1940:52          Constant:
1950:52            6 (const int)
1960:53      add second child into first child ( temp 4-component vector of float)
1970:53        'o' ( out 4-component vector of float)
1980:53        a: direct index for structure (layout( column_major shared) buffer 4-component vector of float)
1990:53          direct index (layout( column_major shared) temp block{layout( column_major shared) buffer 4-component vector of float a})
2000:53            'b0' (layout( column_major shared) buffer 10-element array of block{layout( column_major shared) buffer 4-component vector of float a})
2010:53            Constant:
2020:53              9 (const int)
2030:53          Constant:
2040:53            0 (const int)
2050:54      add second child into first child ( temp 4-component vector of float)
2060:54        'o' ( out 4-component vector of float)
2070:54        indirect index (layout( column_major shared) nonuniform temp 4-component vector of float)
2080:54          a: direct index for structure (layout( column_major shared) buffer runtime-sized array of 4-component vector of float)
2090:54            'b2' (layout( column_major shared) buffer block{layout( column_major shared) buffer runtime-sized array of 4-component vector of float a})
2100:54            Constant:
2110:54              0 (const int)
2120:54          copy object ( nonuniform temp int)
2130:54            Constant:
2140:54              1 (const int)
2150:?   Linker Objects
2160:?     'f0' ( uniform 1-element array of float)
2170:?     's0' ( uniform runtime-sized array of sampler2D)
2180:?     's1' ( uniform runtime-sized array of sampler2D)
2190:?     'u0' (layout( column_major shared) uniform block{layout( column_major shared) uniform 11-element array of 4-component vector of float a})
2200:?     'u1' (layout( column_major shared) uniform block{layout( column_major shared) uniform 7-element array of 4-component vector of float a})
2210:?     'b0' (layout( column_major shared) buffer 10-element array of block{layout( column_major shared) buffer 4-component vector of float a})
2220:?     'b1' (layout( column_major shared) buffer block{layout( column_major shared) buffer 11-element array of 4-component vector of float a})
2230:?     'b2' (layout( column_major shared) buffer block{layout( column_major shared) buffer runtime-sized array of 4-component vector of float a})
2240:?     'out_VS' ( smooth in 4-component vector of float)
2250:?     'o' ( out 4-component vector of float)
226