• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1glsl.es320.subgroupBasic.comp
2Shader version: 320
3Requested GL_KHR_shader_subgroup_basic
4local_size = (8, 8, 1)
50:? Sequence
60:12  Function Definition: main( ( global void)
70:12    Function Parameters:
80:14    Sequence
90:14      move second child to first child ( temp highp int)
100:14        indirect index (layout( column_major shared) temp highp int)
110:14          a: direct index for structure (layout( column_major shared) buffer runtime-sized array of highp int)
120:14            'data' (layout( binding=0 column_major shared) buffer block{layout( column_major shared) buffer runtime-sized array of highp int a})
130:14            Constant:
140:14              0 (const int)
150:14          'gl_SubgroupSize' ( in mediump uint SubgroupSize)
160:14        Constant:
170:14          1 (const int)
180:15      move second child to first child ( temp highp int)
190:15        indirect index (layout( column_major shared) temp highp int)
200:15          a: direct index for structure (layout( column_major shared) buffer runtime-sized array of highp int)
210:15            'data' (layout( binding=0 column_major shared) buffer block{layout( column_major shared) buffer runtime-sized array of highp int a})
220:15            Constant:
230:15              0 (const int)
240:15          'gl_SubgroupInvocationID' ( in mediump uint SubgroupInvocationID)
250:15        Constant:
260:15          1 (const int)
270:16      move second child to first child ( temp highp int)
280:16        indirect index (layout( column_major shared) temp highp int)
290:16          a: direct index for structure (layout( column_major shared) buffer runtime-sized array of highp int)
300:16            'data' (layout( binding=0 column_major shared) buffer block{layout( column_major shared) buffer runtime-sized array of highp int a})
310:16            Constant:
320:16              0 (const int)
330:16          'gl_NumSubgroups' ( in highp uint NumSubgroups)
340:16        Constant:
350:16          1 (const int)
360:17      move second child to first child ( temp highp int)
370:17        indirect index (layout( column_major shared) temp highp int)
380:17          a: direct index for structure (layout( column_major shared) buffer runtime-sized array of highp int)
390:17            'data' (layout( binding=0 column_major shared) buffer block{layout( column_major shared) buffer runtime-sized array of highp int a})
400:17            Constant:
410:17              0 (const int)
420:17          'gl_SubgroupID' ( in highp uint SubgroupID)
430:17        Test condition and select ( temp highp int)
440:17          Condition
450:17          subgroupElect ( global bool)
460:17          true case
470:17          Constant:
480:17            1 (const int)
490:17          false case
500:17          Constant:
510:17            0 (const int)
520:18      subgroupBarrier ( global void)
530:19      subgroupMemoryBarrier ( global void)
540:20      subgroupMemoryBarrierBuffer ( global void)
550:21      subgroupMemoryBarrierShared ( global void)
560:22      subgroupMemoryBarrierImage ( global void)
570:?   Linker Objects
580:?     'gl_WorkGroupSize' ( const highp 3-component vector of uint WorkGroupSize)
590:?       8 (const uint)
600:?       8 (const uint)
610:?       1 (const uint)
620:?     'data' (layout( binding=0 column_major shared) buffer block{layout( column_major shared) buffer runtime-sized array of highp int a})
63
64
65Linked compute stage:
66
67
68Shader version: 320
69Requested GL_KHR_shader_subgroup_basic
70local_size = (8, 8, 1)
710:? Sequence
720:12  Function Definition: main( ( global void)
730:12    Function Parameters:
740:14    Sequence
750:14      move second child to first child ( temp highp int)
760:14        indirect index (layout( column_major shared) temp highp int)
770:14          a: direct index for structure (layout( column_major shared) buffer runtime-sized array of highp int)
780:14            'data' (layout( binding=0 column_major shared) buffer block{layout( column_major shared) buffer runtime-sized array of highp int a})
790:14            Constant:
800:14              0 (const int)
810:14          'gl_SubgroupSize' ( in mediump uint SubgroupSize)
820:14        Constant:
830:14          1 (const int)
840:15      move second child to first child ( temp highp int)
850:15        indirect index (layout( column_major shared) temp highp int)
860:15          a: direct index for structure (layout( column_major shared) buffer runtime-sized array of highp int)
870:15            'data' (layout( binding=0 column_major shared) buffer block{layout( column_major shared) buffer runtime-sized array of highp int a})
880:15            Constant:
890:15              0 (const int)
900:15          'gl_SubgroupInvocationID' ( in mediump uint SubgroupInvocationID)
910:15        Constant:
920:15          1 (const int)
930:16      move second child to first child ( temp highp int)
940:16        indirect index (layout( column_major shared) temp highp int)
950:16          a: direct index for structure (layout( column_major shared) buffer runtime-sized array of highp int)
960:16            'data' (layout( binding=0 column_major shared) buffer block{layout( column_major shared) buffer runtime-sized array of highp int a})
970:16            Constant:
980:16              0 (const int)
990:16          'gl_NumSubgroups' ( in highp uint NumSubgroups)
1000:16        Constant:
1010:16          1 (const int)
1020:17      move second child to first child ( temp highp int)
1030:17        indirect index (layout( column_major shared) temp highp int)
1040:17          a: direct index for structure (layout( column_major shared) buffer runtime-sized array of highp int)
1050:17            'data' (layout( binding=0 column_major shared) buffer block{layout( column_major shared) buffer runtime-sized array of highp int a})
1060:17            Constant:
1070:17              0 (const int)
1080:17          'gl_SubgroupID' ( in highp uint SubgroupID)
1090:17        Test condition and select ( temp highp int)
1100:17          Condition
1110:17          subgroupElect ( global bool)
1120:17          true case
1130:17          Constant:
1140:17            1 (const int)
1150:17          false case
1160:17          Constant:
1170:17            0 (const int)
1180:18      subgroupBarrier ( global void)
1190:19      subgroupMemoryBarrier ( global void)
1200:20      subgroupMemoryBarrierBuffer ( global void)
1210:21      subgroupMemoryBarrierShared ( global void)
1220:22      subgroupMemoryBarrierImage ( global void)
1230:?   Linker Objects
1240:?     'gl_WorkGroupSize' ( const highp 3-component vector of uint WorkGroupSize)
1250:?       8 (const uint)
1260:?       8 (const uint)
1270:?       1 (const uint)
1280:?     'data' (layout( binding=0 column_major shared) buffer block{layout( column_major shared) buffer runtime-sized array of highp int a})
129
130