1430.comp
2ERROR: 0:4: 'local_size' : cannot change previously set size
3ERROR: 0:5: 'local_size' : too large; see gl_MaxComputeWorkGroupSize
4ERROR: 0:43: 'in' : global storage input qualifier cannot be used in a compute shader
5ERROR: 0:43: 'location qualifier on input' : not supported in this stage: compute
6ERROR: 0:44: 'in' : global storage input qualifier cannot be used in a compute shader
7ERROR: 0:45: 'out' : global storage output qualifier cannot be used in a compute shader
8ERROR: 0:48: 'shared' : cannot apply layout qualifiers to a shared variable
9ERROR: 0:48: 'location' : can only apply to uniform, buffer, in, or out storage qualifiers
10ERROR: 0:49: 'shared' :  cannot initialize this type of qualifier
11ERROR: 0:51: 'local_size' : can only apply to 'in'
12ERROR: 0:51: 'local_size' : can only apply to 'in'
13ERROR: 0:51: 'local_size' : can only apply to 'in'
14ERROR: 0:65: 'assign' :  l-value required "ro" (can't modify a readonly buffer)
15ERROR: 0:77: '=' :  cannot convert from ' temp double' to ' temp int'
16ERROR: 0:81: 'input block' : not supported in this stage: compute
17ERROR: 0:85: 'output block' : not supported in this stage: compute
18ERROR: 16 compilation errors.  No code generated.
19
20
21Shader version: 430
22local_size = (2, 1, 4096)
23ERROR: node is still EOpNull!
240:27  Function Definition: main( ( global void)
250:27    Function Parameters:
260:29    Sequence
270:29      Barrier ( global void)
280:30      MemoryBarrier ( global void)
290:31      MemoryBarrierAtomicCounter ( global void)
300:32      MemoryBarrierBuffer ( global void)
310:33      MemoryBarrierShared ( global void)
320:34      MemoryBarrierImage ( global void)
330:35      GroupMemoryBarrier ( global void)
340:36      move second child to first child ( temp int)
350:36        value: direct index for structure (layout( column_major shared) buffer int)
360:36          'anon@0' (layout( column_major shared) buffer block{layout( column_major shared) buffer int value, layout( column_major shared) buffer runtime-sized array of float values})
370:36          Constant:
380:36            0 (const uint)
390:36        Convert float to int ( temp int)
400:36          indirect index (layout( column_major shared) temp float)
410:36            values: direct index for structure (layout( column_major shared) buffer runtime-sized array of float)
420:36              'anon@0' (layout( column_major shared) buffer block{layout( column_major shared) buffer int value, layout( column_major shared) buffer runtime-sized array of float values})
430:36              Constant:
440:36                1 (const uint)
450:36            'gl_LocalInvocationIndex' ( in uint LocalInvocationIndex)
460:39      Test condition and select ( temp void)
470:39        Condition
480:39        Compare Greater Than ( temp bool)
490:39          'a' ( temp int)
500:39          Constant:
510:39            10 (const int)
520:39        true case
530:40        Barrier ( global void)
540:63  Function Definition: foo( ( global void)
550:63    Function Parameters:
560:65    Sequence
570:65      move second child to first child ( temp float)
580:65        direct index (layout( column_major shared) temp float)
590:65          values: direct index for structure (layout( column_major shared) buffer unsized 3-element array of float)
600:65            'ro' (layout( column_major shared) readonly buffer block{layout( column_major shared) buffer int value, layout( column_major shared) buffer unsized 3-element array of float values})
610:65            Constant:
620:65              1 (const int)
630:65          Constant:
640:65            2 (const int)
650:65        Constant:
660:65          4.700000
670:66      array length ( temp int)
680:66        values: direct index for structure (layout( column_major shared) buffer unsized 3-element array of float)
690:66          'ro' (layout( column_major shared) readonly buffer block{layout( column_major shared) buffer int value, layout( column_major shared) buffer unsized 3-element array of float values})
700:66          Constant:
710:66            1 (const int)
720:67      Barrier ( global void)
730:72  Function Definition: fooaoeu( ( global void)
740:72    Function Parameters:
750:73    Sequence
760:73      Sequence
770:73        move second child to first child ( temp 2-component vector of int)
780:73          'storePos' ( temp 2-component vector of int)
790:73          Convert uint to int ( temp 2-component vector of int)
800:73            vector swizzle ( temp 2-component vector of uint)
810:73              'gl_GlobalInvocationID' ( in 3-component vector of uint GlobalInvocationID)
820:73              Sequence
830:73                Constant:
840:73                  0 (const int)
850:73                Constant:
860:73                  1 (const int)
870:74      Sequence
880:74        move second child to first child ( temp double)
890:74          'localCoef' ( temp double)
900:74          Convert float to double ( temp double)
910:74            length ( global float)
920:74              divide ( temp 2-component vector of float)
930:74                Convert int to float ( temp 2-component vector of float)
940:74                  subtract ( temp 2-component vector of int)
950:74                    Convert uint to int ( temp 2-component vector of int)
960:74                      vector swizzle ( temp 2-component vector of uint)
970:74                        'gl_LocalInvocationID' ( in 3-component vector of uint LocalInvocationID)
980:74                        Sequence
990:74                          Constant:
1000:74                            0 (const int)
1010:74                          Constant:
1020:74                            1 (const int)
1030:74                    Constant:
1040:74                      8 (const int)
1050:74                Constant:
1060:74                  8.000000
1070:75      Sequence
1080:75        move second child to first child ( temp 4-component vector of double)
1090:75          'aa' ( temp 4-component vector of double)
1100:75          Constant:
1110:75            0.400000
1120:75            0.200000
1130:75            0.300000
1140:75            0.400000
1150:76      Sequence
1160:76        move second child to first child ( temp double)
1170:76          'globalCoef' ( temp double)
1180:76          Constant:
1190:76            1.000000
1200:78      Sequence
1210:78        move second child to first child ( temp double)
1220:78          'di' ( temp double)
1230:78          Convert int to double ( temp double)
1240:78            'i' ( temp int)
1250:?   Linker Objects
1260:?     'gl_WorkGroupSize' ( const 3-component vector of uint WorkGroupSize)
1270:?       2 (const uint)
1280:?       1 (const uint)
1290:?       4096 (const uint)
1300:?     'total' ( const int)
1310:?       66592 (const int)
1320:?     'anon@0' (layout( column_major shared) buffer block{layout( column_major shared) buffer int value, layout( column_major shared) buffer runtime-sized array of float values})
1330:?     'invalid' (layout( column_major shared) buffer block{layout( column_major shared) buffer unsized 1-element array of float values, layout( column_major shared) buffer int value})
1340:?     'v3' (layout( location=2) in 3-component vector of float)
1350:?     'f' ( in float)
1360:?     'fo' ( out float)
1370:?     's' ( shared 4-component vector of float)
1380:?     'sl' (layout( location=2) shared 4-component vector of float)
1390:?     'fs' ( shared float)
1400:?     'arrX' ( global 2-element array of int)
1410:?     'arrY' ( global 1-element array of int)
1420:?     'arrZ' ( global 4096-element array of int)
1430:?     'ro' (layout( column_major shared) readonly buffer block{layout( column_major shared) buffer int value, layout( column_major shared) buffer unsized 3-element array of float values})
1440:?     'roll' ( uniform double)
1450:?     'destTex' ( writeonly uniform image2D)
1460:?     'inbi' ( in block{ in int a})
1470:?     'outbi' ( out block{ out int a})
148
149
150Linked compute stage:
151
152
153Shader version: 430
154local_size = (2, 1, 4096)
155ERROR: node is still EOpNull!
1560:27  Function Definition: main( ( global void)
1570:27    Function Parameters:
1580:29    Sequence
1590:29      Barrier ( global void)
1600:30      MemoryBarrier ( global void)
1610:31      MemoryBarrierAtomicCounter ( global void)
1620:32      MemoryBarrierBuffer ( global void)
1630:33      MemoryBarrierShared ( global void)
1640:34      MemoryBarrierImage ( global void)
1650:35      GroupMemoryBarrier ( global void)
1660:36      move second child to first child ( temp int)
1670:36        value: direct index for structure (layout( column_major shared) buffer int)
1680:36          'anon@0' (layout( column_major shared) buffer block{layout( column_major shared) buffer int value, layout( column_major shared) buffer runtime-sized array of float values})
1690:36          Constant:
1700:36            0 (const uint)
1710:36        Convert float to int ( temp int)
1720:36          indirect index (layout( column_major shared) temp float)
1730:36            values: direct index for structure (layout( column_major shared) buffer runtime-sized array of float)
1740:36              'anon@0' (layout( column_major shared) buffer block{layout( column_major shared) buffer int value, layout( column_major shared) buffer runtime-sized array of float values})
1750:36              Constant:
1760:36                1 (const uint)
1770:36            'gl_LocalInvocationIndex' ( in uint LocalInvocationIndex)
1780:39      Test condition and select ( temp void)
1790:39        Condition
1800:39        Compare Greater Than ( temp bool)
1810:39          'a' ( temp int)
1820:39          Constant:
1830:39            10 (const int)
1840:39        true case
1850:40        Barrier ( global void)
1860:?   Linker Objects
1870:?     'gl_WorkGroupSize' ( const 3-component vector of uint WorkGroupSize)
1880:?       2 (const uint)
1890:?       1 (const uint)
1900:?       4096 (const uint)
1910:?     'total' ( const int)
1920:?       66592 (const int)
1930:?     'anon@0' (layout( column_major shared) buffer block{layout( column_major shared) buffer int value, layout( column_major shared) buffer runtime-sized array of float values})
1940:?     'invalid' (layout( column_major shared) buffer block{layout( column_major shared) buffer 1-element array of float values, layout( column_major shared) buffer int value})
1950:?     'v3' (layout( location=2) in 3-component vector of float)
1960:?     'f' ( in float)
1970:?     'fo' ( out float)
1980:?     's' ( shared 4-component vector of float)
1990:?     'sl' (layout( location=2) shared 4-component vector of float)
2000:?     'fs' ( shared float)
2010:?     'arrX' ( global 2-element array of int)
2020:?     'arrY' ( global 1-element array of int)
2030:?     'arrZ' ( global 4096-element array of int)
2040:?     'ro' (layout( column_major shared) readonly buffer block{layout( column_major shared) buffer int value, layout( column_major shared) buffer unsized 3-element array of float values})
2050:?     'roll' ( uniform double)
2060:?     'destTex' ( writeonly uniform image2D)
2070:?     'inbi' ( in block{ in int a})
2080:?     'outbi' ( out block{ out int a})
209
210