• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1glsl.es320.subgroupBallotNeg.comp
2ERROR: 0:31: 'id' : argument must be compile-time constant
3ERROR: 1 compilation errors.  No code generated.
4
5
6Shader version: 450
7Requested GL_KHR_shader_subgroup_ballot
8Requested GL_KHR_shader_subgroup_basic
9local_size = (8, 8, 1)
10ERROR: node is still EOpNull!
110:14  Function Definition: main( ( global void)
120:14    Function Parameters:
130:16    Sequence
140:16      Sequence
150:16        move second child to first child ( temp uint)
160:16          'invocation' ( temp uint)
170:16          mod ( temp uint)
180:16            add ( temp uint)
190:16              'gl_SubgroupInvocationID' ( in uint SubgroupInvocationID)
200:16              'gl_SubgroupSize' ( in uint SubgroupSize)
210:16            Constant:
220:16              4 (const uint)
230:18      Sequence
240:18        move second child to first child ( temp 4-component vector of uint)
250:18          'relMask' ( temp 4-component vector of uint)
260:21          add ( temp 4-component vector of uint)
270:20            add ( temp 4-component vector of uint)
280:19              add ( temp 4-component vector of uint)
290:18                add ( temp 4-component vector of uint)
300:18                  'gl_SubgroupEqMask' ( in 4-component vector of uint SubgroupEqMask)
310:19                  'gl_SubgroupGeMask' ( in 4-component vector of uint SubgroupGeMask)
320:20                'gl_SubgroupGtMask' ( in 4-component vector of uint SubgroupGtMask)
330:21              'gl_SubgroupLeMask' ( in 4-component vector of uint SubgroupLeMask)
340:22            'gl_SubgroupLtMask' ( in 4-component vector of uint SubgroupLtMask)
350:24      Sequence
360:24        move second child to first child ( temp 4-component vector of uint)
370:24          'result' ( temp 4-component vector of uint)
380:24          subgroupBallot ( global 4-component vector of uint)
390:24            Constant:
400:24              true (const bool)
410:26      move second child to first child ( temp uint)
420:26        direct index ( temp uint)
430:26          u4: direct index for structure (layout( column_major shared) buffer 4-component vector of uint)
440:26            direct index (layout( binding=0 column_major shared) temp block{layout( column_major shared) buffer 4-component vector of float f4, layout( column_major shared) buffer 4-component vector of int i4, layout( column_major shared) buffer 4-component vector of uint u4})
450:26              'data' (layout( binding=0 column_major shared) buffer 4-element array of block{layout( column_major shared) buffer 4-component vector of float f4, layout( column_major shared) buffer 4-component vector of int i4, layout( column_major shared) buffer 4-component vector of uint u4})
460:26              Constant:
470:26                0 (const int)
480:26            Constant:
490:26              2 (const int)
500:26          Constant:
510:26            0 (const int)
520:26        subgroupBallotBitCount ( global uint)
530:26          'result' ( temp 4-component vector of uint)
540:27      move second child to first child ( temp uint)
550:27        direct index ( temp uint)
560:27          u4: direct index for structure (layout( column_major shared) buffer 4-component vector of uint)
570:27            direct index (layout( binding=0 column_major shared) temp block{layout( column_major shared) buffer 4-component vector of float f4, layout( column_major shared) buffer 4-component vector of int i4, layout( column_major shared) buffer 4-component vector of uint u4})
580:27              'data' (layout( binding=0 column_major shared) buffer 4-element array of block{layout( column_major shared) buffer 4-component vector of float f4, layout( column_major shared) buffer 4-component vector of int i4, layout( column_major shared) buffer 4-component vector of uint u4})
590:27              Constant:
600:27                0 (const int)
610:27            Constant:
620:27              2 (const int)
630:27          Constant:
640:27            1 (const int)
650:27        Test condition and select ( temp uint)
660:27          Condition
670:27          subgroupBallotBitExtract ( global bool)
680:27            'result' ( temp 4-component vector of uint)
690:27            Constant:
700:27              0 (const uint)
710:27          true case
720:27          Constant:
730:27            1 (const uint)
740:27          false case
750:27          Constant:
760:27            0 (const uint)
770:28      move second child to first child ( temp uint)
780:28        direct index ( temp uint)
790:28          u4: direct index for structure (layout( column_major shared) buffer 4-component vector of uint)
800:28            direct index (layout( binding=0 column_major shared) temp block{layout( column_major shared) buffer 4-component vector of float f4, layout( column_major shared) buffer 4-component vector of int i4, layout( column_major shared) buffer 4-component vector of uint u4})
810:28              'data' (layout( binding=0 column_major shared) buffer 4-element array of block{layout( column_major shared) buffer 4-component vector of float f4, layout( column_major shared) buffer 4-component vector of int i4, layout( column_major shared) buffer 4-component vector of uint u4})
820:28              Constant:
830:28                0 (const int)
840:28            Constant:
850:28              2 (const int)
860:28          Constant:
870:28            2 (const int)
880:28        add ( temp uint)
890:28          subgroupBallotInclusiveBitCount ( global uint)
900:28            'result' ( temp 4-component vector of uint)
910:28          subgroupBallotExclusiveBitCount ( global uint)
920:28            'result' ( temp 4-component vector of uint)
930:29      move second child to first child ( temp uint)
940:29        direct index ( temp uint)
950:29          u4: direct index for structure (layout( column_major shared) buffer 4-component vector of uint)
960:29            direct index (layout( binding=0 column_major shared) temp block{layout( column_major shared) buffer 4-component vector of float f4, layout( column_major shared) buffer 4-component vector of int i4, layout( column_major shared) buffer 4-component vector of uint u4})
970:29              'data' (layout( binding=0 column_major shared) buffer 4-element array of block{layout( column_major shared) buffer 4-component vector of float f4, layout( column_major shared) buffer 4-component vector of int i4, layout( column_major shared) buffer 4-component vector of uint u4})
980:29              Constant:
990:29                0 (const int)
1000:29            Constant:
1010:29              2 (const int)
1020:29          Constant:
1030:29            3 (const int)
1040:29        add ( temp uint)
1050:29          subgroupBallotFindLSB ( global uint)
1060:29            'result' ( temp 4-component vector of uint)
1070:29          subgroupBallotFindMSB ( global uint)
1080:29            'result' ( temp 4-component vector of uint)
1090:31      move second child to first child ( temp float)
1100:31        direct index ( temp float)
1110:31          f4: direct index for structure (layout( column_major shared) buffer 4-component vector of float)
1120:31            direct index (layout( binding=0 column_major shared) temp block{layout( column_major shared) buffer 4-component vector of float f4, layout( column_major shared) buffer 4-component vector of int i4, layout( column_major shared) buffer 4-component vector of uint u4})
1130:31              'data' (layout( binding=0 column_major shared) buffer 4-element array of block{layout( column_major shared) buffer 4-component vector of float f4, layout( column_major shared) buffer 4-component vector of int i4, layout( column_major shared) buffer 4-component vector of uint u4})
1140:31              Constant:
1150:31                1 (const int)
1160:31            Constant:
1170:31              0 (const int)
1180:31          Constant:
1190:31            0 (const int)
1200:31        subgroupBroadcast ( global float)
1210:31          direct index ( temp float)
1220:31            f4: direct index for structure (layout( column_major shared) buffer 4-component vector of float)
1230:31              direct index (layout( binding=0 column_major shared) temp block{layout( column_major shared) buffer 4-component vector of float f4, layout( column_major shared) buffer 4-component vector of int i4, layout( column_major shared) buffer 4-component vector of uint u4})
1240:31                'data' (layout( binding=0 column_major shared) buffer 4-element array of block{layout( column_major shared) buffer 4-component vector of float f4, layout( column_major shared) buffer 4-component vector of int i4, layout( column_major shared) buffer 4-component vector of uint u4})
1250:31                Constant:
1260:31                  0 (const int)
1270:31              Constant:
1280:31                0 (const int)
1290:31            Constant:
1300:31              0 (const int)
1310:31          'invocation' ( temp uint)
1320:?   Linker Objects
1330:?     'gl_WorkGroupSize' ( const 3-component vector of uint WorkGroupSize)
1340:?       8 (const uint)
1350:?       8 (const uint)
1360:?       1 (const uint)
1370:?     'data' (layout( binding=0 column_major shared) buffer 4-element array of block{layout( column_major shared) buffer 4-component vector of float f4, layout( column_major shared) buffer 4-component vector of int i4, layout( column_major shared) buffer 4-component vector of uint u4})
138
139
140Linked compute stage:
141
142
143Shader version: 450
144Requested GL_KHR_shader_subgroup_ballot
145Requested GL_KHR_shader_subgroup_basic
146local_size = (8, 8, 1)
147ERROR: node is still EOpNull!
1480:14  Function Definition: main( ( global void)
1490:14    Function Parameters:
1500:16    Sequence
1510:16      Sequence
1520:16        move second child to first child ( temp uint)
1530:16          'invocation' ( temp uint)
1540:16          mod ( temp uint)
1550:16            add ( temp uint)
1560:16              'gl_SubgroupInvocationID' ( in uint SubgroupInvocationID)
1570:16              'gl_SubgroupSize' ( in uint SubgroupSize)
1580:16            Constant:
1590:16              4 (const uint)
1600:18      Sequence
1610:18        move second child to first child ( temp 4-component vector of uint)
1620:18          'relMask' ( temp 4-component vector of uint)
1630:21          add ( temp 4-component vector of uint)
1640:20            add ( temp 4-component vector of uint)
1650:19              add ( temp 4-component vector of uint)
1660:18                add ( temp 4-component vector of uint)
1670:18                  'gl_SubgroupEqMask' ( in 4-component vector of uint SubgroupEqMask)
1680:19                  'gl_SubgroupGeMask' ( in 4-component vector of uint SubgroupGeMask)
1690:20                'gl_SubgroupGtMask' ( in 4-component vector of uint SubgroupGtMask)
1700:21              'gl_SubgroupLeMask' ( in 4-component vector of uint SubgroupLeMask)
1710:22            'gl_SubgroupLtMask' ( in 4-component vector of uint SubgroupLtMask)
1720:24      Sequence
1730:24        move second child to first child ( temp 4-component vector of uint)
1740:24          'result' ( temp 4-component vector of uint)
1750:24          subgroupBallot ( global 4-component vector of uint)
1760:24            Constant:
1770:24              true (const bool)
1780:26      move second child to first child ( temp uint)
1790:26        direct index ( temp uint)
1800:26          u4: direct index for structure (layout( column_major shared) buffer 4-component vector of uint)
1810:26            direct index (layout( binding=0 column_major shared) temp block{layout( column_major shared) buffer 4-component vector of float f4, layout( column_major shared) buffer 4-component vector of int i4, layout( column_major shared) buffer 4-component vector of uint u4})
1820:26              'data' (layout( binding=0 column_major shared) buffer 4-element array of block{layout( column_major shared) buffer 4-component vector of float f4, layout( column_major shared) buffer 4-component vector of int i4, layout( column_major shared) buffer 4-component vector of uint u4})
1830:26              Constant:
1840:26                0 (const int)
1850:26            Constant:
1860:26              2 (const int)
1870:26          Constant:
1880:26            0 (const int)
1890:26        subgroupBallotBitCount ( global uint)
1900:26          'result' ( temp 4-component vector of uint)
1910:27      move second child to first child ( temp uint)
1920:27        direct index ( temp uint)
1930:27          u4: direct index for structure (layout( column_major shared) buffer 4-component vector of uint)
1940:27            direct index (layout( binding=0 column_major shared) temp block{layout( column_major shared) buffer 4-component vector of float f4, layout( column_major shared) buffer 4-component vector of int i4, layout( column_major shared) buffer 4-component vector of uint u4})
1950:27              'data' (layout( binding=0 column_major shared) buffer 4-element array of block{layout( column_major shared) buffer 4-component vector of float f4, layout( column_major shared) buffer 4-component vector of int i4, layout( column_major shared) buffer 4-component vector of uint u4})
1960:27              Constant:
1970:27                0 (const int)
1980:27            Constant:
1990:27              2 (const int)
2000:27          Constant:
2010:27            1 (const int)
2020:27        Test condition and select ( temp uint)
2030:27          Condition
2040:27          subgroupBallotBitExtract ( global bool)
2050:27            'result' ( temp 4-component vector of uint)
2060:27            Constant:
2070:27              0 (const uint)
2080:27          true case
2090:27          Constant:
2100:27            1 (const uint)
2110:27          false case
2120:27          Constant:
2130:27            0 (const uint)
2140:28      move second child to first child ( temp uint)
2150:28        direct index ( temp uint)
2160:28          u4: direct index for structure (layout( column_major shared) buffer 4-component vector of uint)
2170:28            direct index (layout( binding=0 column_major shared) temp block{layout( column_major shared) buffer 4-component vector of float f4, layout( column_major shared) buffer 4-component vector of int i4, layout( column_major shared) buffer 4-component vector of uint u4})
2180:28              'data' (layout( binding=0 column_major shared) buffer 4-element array of block{layout( column_major shared) buffer 4-component vector of float f4, layout( column_major shared) buffer 4-component vector of int i4, layout( column_major shared) buffer 4-component vector of uint u4})
2190:28              Constant:
2200:28                0 (const int)
2210:28            Constant:
2220:28              2 (const int)
2230:28          Constant:
2240:28            2 (const int)
2250:28        add ( temp uint)
2260:28          subgroupBallotInclusiveBitCount ( global uint)
2270:28            'result' ( temp 4-component vector of uint)
2280:28          subgroupBallotExclusiveBitCount ( global uint)
2290:28            'result' ( temp 4-component vector of uint)
2300:29      move second child to first child ( temp uint)
2310:29        direct index ( temp uint)
2320:29          u4: direct index for structure (layout( column_major shared) buffer 4-component vector of uint)
2330:29            direct index (layout( binding=0 column_major shared) temp block{layout( column_major shared) buffer 4-component vector of float f4, layout( column_major shared) buffer 4-component vector of int i4, layout( column_major shared) buffer 4-component vector of uint u4})
2340:29              'data' (layout( binding=0 column_major shared) buffer 4-element array of block{layout( column_major shared) buffer 4-component vector of float f4, layout( column_major shared) buffer 4-component vector of int i4, layout( column_major shared) buffer 4-component vector of uint u4})
2350:29              Constant:
2360:29                0 (const int)
2370:29            Constant:
2380:29              2 (const int)
2390:29          Constant:
2400:29            3 (const int)
2410:29        add ( temp uint)
2420:29          subgroupBallotFindLSB ( global uint)
2430:29            'result' ( temp 4-component vector of uint)
2440:29          subgroupBallotFindMSB ( global uint)
2450:29            'result' ( temp 4-component vector of uint)
2460:31      move second child to first child ( temp float)
2470:31        direct index ( temp float)
2480:31          f4: direct index for structure (layout( column_major shared) buffer 4-component vector of float)
2490:31            direct index (layout( binding=0 column_major shared) temp block{layout( column_major shared) buffer 4-component vector of float f4, layout( column_major shared) buffer 4-component vector of int i4, layout( column_major shared) buffer 4-component vector of uint u4})
2500:31              'data' (layout( binding=0 column_major shared) buffer 4-element array of block{layout( column_major shared) buffer 4-component vector of float f4, layout( column_major shared) buffer 4-component vector of int i4, layout( column_major shared) buffer 4-component vector of uint u4})
2510:31              Constant:
2520:31                1 (const int)
2530:31            Constant:
2540:31              0 (const int)
2550:31          Constant:
2560:31            0 (const int)
2570:31        subgroupBroadcast ( global float)
2580:31          direct index ( temp float)
2590:31            f4: direct index for structure (layout( column_major shared) buffer 4-component vector of float)
2600:31              direct index (layout( binding=0 column_major shared) temp block{layout( column_major shared) buffer 4-component vector of float f4, layout( column_major shared) buffer 4-component vector of int i4, layout( column_major shared) buffer 4-component vector of uint u4})
2610:31                'data' (layout( binding=0 column_major shared) buffer 4-element array of block{layout( column_major shared) buffer 4-component vector of float f4, layout( column_major shared) buffer 4-component vector of int i4, layout( column_major shared) buffer 4-component vector of uint u4})
2620:31                Constant:
2630:31                  0 (const int)
2640:31              Constant:
2650:31                0 (const int)
2660:31            Constant:
2670:31              0 (const int)
2680:31          'invocation' ( temp uint)
2690:?   Linker Objects
2700:?     'gl_WorkGroupSize' ( const 3-component vector of uint WorkGroupSize)
2710:?       8 (const uint)
2720:?       8 (const uint)
2730:?       1 (const uint)
2740:?     'data' (layout( binding=0 column_major shared) buffer 4-element array of block{layout( column_major shared) buffer 4-component vector of float f4, layout( column_major shared) buffer 4-component vector of int i4, layout( column_major shared) buffer 4-component vector of uint u4})
275
276