• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 block' : not supported for this version or the enabled extensions
9ERROR: 0:48: 'location' : can only apply to uniform, buffer, in, or out storage qualifiers
10ERROR: 0:49: 'shared' : initializer can only be a null initializer ('{}')
11ERROR: 0:52: 'local_size' : cannot change previously set size
12ERROR: 0:54: 'local_size' : can only apply to 'in'
13ERROR: 0:54: 'local_size' : can only apply to 'in'
14ERROR: 0:54: 'local_size' : can only apply to 'in'
15ERROR: 0:68: 'assign' :  l-value required "ro" (can't modify a readonly buffer)
16ERROR: 0:80: '=' :  cannot convert from ' temp double' to ' temp int'
17ERROR: 0:84: 'input block' : not supported in this stage: compute
18ERROR: 0:88: 'output block' : not supported in this stage: compute
19ERROR: 17 compilation errors.  No code generated.
20
21
22Shader version: 430
23local_size = (2, 1, 4096)
24ERROR: node is still EOpNull!
250:27  Function Definition: main( ( global void)
260:27    Function Parameters:
270:29    Sequence
280:29      Barrier ( global void)
290:30      MemoryBarrier ( global void)
300:31      MemoryBarrierAtomicCounter ( global void)
310:32      MemoryBarrierBuffer ( global void)
320:33      MemoryBarrierShared ( global void)
330:34      MemoryBarrierImage ( global void)
340:35      GroupMemoryBarrier ( global void)
350:36      move second child to first child ( temp int)
360:36        value: direct index for structure (layout( column_major shared) buffer int)
370: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})
380:36          Constant:
390:36            0 (const uint)
400:36        Convert float to int ( temp int)
410:36          indirect index (layout( column_major shared) temp float)
420:36            values: direct index for structure (layout( column_major shared) buffer runtime-sized array of float)
430: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})
440:36              Constant:
450:36                1 (const uint)
460:36            'gl_LocalInvocationIndex' ( in uint LocalInvocationIndex)
470:39      Test condition and select ( temp void)
480:39        Condition
490:39        Compare Greater Than ( temp bool)
500:39          'a' ( temp int)
510:39          Constant:
520:39            10 (const int)
530:39        true case
540:40        Barrier ( global void)
550:49  Sequence
560:49    move second child to first child ( temp float)
570:49      'fs' ( shared float)
580:49      Constant:
590:49        4.200000
600:66  Function Definition: foo( ( global void)
610:66    Function Parameters:
620:68    Sequence
630:68      move second child to first child ( temp float)
640:68        direct index (layout( column_major shared) readonly temp float)
650:68          values: direct index for structure (layout( column_major shared) readonly buffer unsized 3-element array of float)
660:68            'ro' (layout( column_major shared) readonly buffer block{layout( column_major shared) readonly buffer int value, layout( column_major shared) readonly buffer unsized 3-element array of float values})
670:68            Constant:
680:68              1 (const int)
690:68          Constant:
700:68            2 (const int)
710:68        Constant:
720:68          4.700000
730:69      array length ( temp int)
740:69        values: direct index for structure (layout( column_major shared) readonly buffer unsized 3-element array of float)
750:69          'ro' (layout( column_major shared) readonly buffer block{layout( column_major shared) readonly buffer int value, layout( column_major shared) readonly buffer unsized 3-element array of float values})
760:69          Constant:
770:69            1 (const int)
780:70      Barrier ( global void)
790:75  Function Definition: fooaoeu( ( global void)
800:75    Function Parameters:
810:76    Sequence
820:76      Sequence
830:76        move second child to first child ( temp 2-component vector of int)
840:76          'storePos' ( temp 2-component vector of int)
850:76          Convert uint to int ( temp 2-component vector of int)
860:76            vector swizzle ( temp 2-component vector of uint)
870:76              'gl_GlobalInvocationID' ( in 3-component vector of uint GlobalInvocationID)
880:76              Sequence
890:76                Constant:
900:76                  0 (const int)
910:76                Constant:
920:76                  1 (const int)
930:77      Sequence
940:77        move second child to first child ( temp double)
950:77          'localCoef' ( temp double)
960:77          Convert float to double ( temp double)
970:77            length ( global float)
980:77              divide ( temp 2-component vector of float)
990:77                Convert int to float ( temp 2-component vector of float)
1000:77                  subtract ( temp 2-component vector of int)
1010:77                    Convert uint to int ( temp 2-component vector of int)
1020:77                      vector swizzle ( temp 2-component vector of uint)
1030:77                        'gl_LocalInvocationID' ( in 3-component vector of uint LocalInvocationID)
1040:77                        Sequence
1050:77                          Constant:
1060:77                            0 (const int)
1070:77                          Constant:
1080:77                            1 (const int)
1090:77                    Constant:
1100:77                      8 (const int)
1110:77                Constant:
1120:77                  8.000000
1130:78      Sequence
1140:78        move second child to first child ( temp 4-component vector of double)
1150:78          'aa' ( temp 4-component vector of double)
1160:78          Constant:
1170:78            0.400000
1180:78            0.200000
1190:78            0.300000
1200:78            0.400000
1210:79      Sequence
1220:79        move second child to first child ( temp double)
1230:79          'globalCoef' ( temp double)
1240:79          Constant:
1250:79            1.000000
1260:81      Sequence
1270:81        move second child to first child ( temp double)
1280:81          'di' ( temp double)
1290:81          Convert int to double ( temp double)
1300:81            'i' ( temp int)
1310:?   Linker Objects
1320:?     'gl_WorkGroupSize' ( const 3-component vector of uint WorkGroupSize)
1330:?       2 (const uint)
1340:?       1 (const uint)
1350:?       4096 (const uint)
1360:?     'total' ( const int)
1370:?       66592 (const int)
1380:?     '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})
1390:?     '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})
1400:?     'v3' (layout( location=2) in 3-component vector of float)
1410:?     'f' ( in float)
1420:?     'fo' ( out float)
1430:?     's' ( shared 4-component vector of float)
1440:?     'sl' (layout( location=2) shared 4-component vector of float)
1450:?     'fs' ( shared float)
1460:?     'arrX' ( global 2-element array of int)
1470:?     'arrY' ( global 1-element array of int)
1480:?     'arrZ' ( global 4096-element array of int)
1490:?     'ro' (layout( column_major shared) readonly buffer block{layout( column_major shared) readonly buffer int value, layout( column_major shared) readonly buffer unsized 3-element array of float values})
1500:?     'roll' ( uniform double)
1510:?     'destTex' ( writeonly uniform image2D)
1520:?     'inbi' ( in block{ in int a})
1530:?     'outbi' ( out block{ out int a})
154
155
156Linked compute stage:
157
158
159Shader version: 430
160local_size = (2, 1, 4096)
161ERROR: node is still EOpNull!
1620:27  Function Definition: main( ( global void)
1630:27    Function Parameters:
1640:29    Sequence
1650:29      Barrier ( global void)
1660:30      MemoryBarrier ( global void)
1670:31      MemoryBarrierAtomicCounter ( global void)
1680:32      MemoryBarrierBuffer ( global void)
1690:33      MemoryBarrierShared ( global void)
1700:34      MemoryBarrierImage ( global void)
1710:35      GroupMemoryBarrier ( global void)
1720:36      move second child to first child ( temp int)
1730:36        value: direct index for structure (layout( column_major shared) buffer int)
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            0 (const uint)
1770:36        Convert float to int ( temp int)
1780:36          indirect index (layout( column_major shared) temp float)
1790:36            values: direct index for structure (layout( column_major shared) buffer runtime-sized array of float)
1800: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})
1810:36              Constant:
1820:36                1 (const uint)
1830:36            'gl_LocalInvocationIndex' ( in uint LocalInvocationIndex)
1840:39      Test condition and select ( temp void)
1850:39        Condition
1860:39        Compare Greater Than ( temp bool)
1870:39          'a' ( temp int)
1880:39          Constant:
1890:39            10 (const int)
1900:39        true case
1910:40        Barrier ( global void)
1920:49  Sequence
1930:49    move second child to first child ( temp float)
1940:49      'fs' ( shared float)
1950:49      Constant:
1960:49        4.200000
1970:?   Linker Objects
1980:?     'gl_WorkGroupSize' ( const 3-component vector of uint WorkGroupSize)
1990:?       2 (const uint)
2000:?       1 (const uint)
2010:?       4096 (const uint)
2020:?     'total' ( const int)
2030:?       66592 (const int)
2040:?     '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})
2050:?     '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})
2060:?     'v3' (layout( location=2) in 3-component vector of float)
2070:?     'f' ( in float)
2080:?     'fo' ( out float)
2090:?     's' ( shared 4-component vector of float)
2100:?     'sl' (layout( location=2) shared 4-component vector of float)
2110:?     'fs' ( shared float)
2120:?     'arrX' ( global 2-element array of int)
2130:?     'arrY' ( global 1-element array of int)
2140:?     'arrZ' ( global 4096-element array of int)
2150:?     'ro' (layout( column_major shared) readonly buffer block{layout( column_major shared) readonly buffer int value, layout( column_major shared) readonly buffer unsized 3-element array of float values})
2160:?     'roll' ( uniform double)
2170:?     'destTex' ( writeonly uniform image2D)
2180:?     'inbi' ( in block{ in int a})
2190:?     'outbi' ( out block{ out int a})
220
221