• 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' : 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: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:66  Function Definition: foo( ( global void)
560:66    Function Parameters:
570:68    Sequence
580:68      move second child to first child ( temp float)
590:68        direct index (layout( column_major shared) readonly temp float)
600:68          values: direct index for structure (layout( column_major shared) readonly buffer unsized 3-element array of float)
610: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})
620:68            Constant:
630:68              1 (const int)
640:68          Constant:
650:68            2 (const int)
660:68        Constant:
670:68          4.700000
680:69      array length ( temp int)
690:69        values: direct index for structure (layout( column_major shared) readonly buffer unsized 3-element array of float)
700: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})
710:69          Constant:
720:69            1 (const int)
730:70      Barrier ( global void)
740:75  Function Definition: fooaoeu( ( global void)
750:75    Function Parameters:
760:76    Sequence
770:76      Sequence
780:76        move second child to first child ( temp 2-component vector of int)
790:76          'storePos' ( temp 2-component vector of int)
800:76          Convert uint to int ( temp 2-component vector of int)
810:76            vector swizzle ( temp 2-component vector of uint)
820:76              'gl_GlobalInvocationID' ( in 3-component vector of uint GlobalInvocationID)
830:76              Sequence
840:76                Constant:
850:76                  0 (const int)
860:76                Constant:
870:76                  1 (const int)
880:77      Sequence
890:77        move second child to first child ( temp double)
900:77          'localCoef' ( temp double)
910:77          Convert float to double ( temp double)
920:77            length ( global float)
930:77              divide ( temp 2-component vector of float)
940:77                Convert int to float ( temp 2-component vector of float)
950:77                  subtract ( temp 2-component vector of int)
960:77                    Convert uint to int ( temp 2-component vector of int)
970:77                      vector swizzle ( temp 2-component vector of uint)
980:77                        'gl_LocalInvocationID' ( in 3-component vector of uint LocalInvocationID)
990:77                        Sequence
1000:77                          Constant:
1010:77                            0 (const int)
1020:77                          Constant:
1030:77                            1 (const int)
1040:77                    Constant:
1050:77                      8 (const int)
1060:77                Constant:
1070:77                  8.000000
1080:78      Sequence
1090:78        move second child to first child ( temp 4-component vector of double)
1100:78          'aa' ( temp 4-component vector of double)
1110:78          Constant:
1120:78            0.400000
1130:78            0.200000
1140:78            0.300000
1150:78            0.400000
1160:79      Sequence
1170:79        move second child to first child ( temp double)
1180:79          'globalCoef' ( temp double)
1190:79          Constant:
1200:79            1.000000
1210:81      Sequence
1220:81        move second child to first child ( temp double)
1230:81          'di' ( temp double)
1240:81          Convert int to double ( temp double)
1250:81            'i' ( temp int)
1260:?   Linker Objects
1270:?     'gl_WorkGroupSize' ( const 3-component vector of uint WorkGroupSize)
1280:?       2 (const uint)
1290:?       1 (const uint)
1300:?       4096 (const uint)
1310:?     'total' ( const int)
1320:?       66592 (const int)
1330:?     '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})
1340:?     '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})
1350:?     'v3' (layout( location=2) in 3-component vector of float)
1360:?     'f' ( in float)
1370:?     'fo' ( out float)
1380:?     's' ( shared 4-component vector of float)
1390:?     'sl' (layout( location=2) shared 4-component vector of float)
1400:?     'fs' ( shared float)
1410:?     'arrX' ( global 2-element array of int)
1420:?     'arrY' ( global 1-element array of int)
1430:?     'arrZ' ( global 4096-element array of int)
1440:?     '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})
1450:?     'roll' ( uniform double)
1460:?     'destTex' ( writeonly uniform image2D)
1470:?     'inbi' ( in block{ in int a})
1480:?     'outbi' ( out block{ out int a})
149
150
151Linked compute stage:
152
153
154Shader version: 430
155local_size = (2, 1, 4096)
156ERROR: node is still EOpNull!
1570:27  Function Definition: main( ( global void)
1580:27    Function Parameters:
1590:29    Sequence
1600:29      Barrier ( global void)
1610:30      MemoryBarrier ( global void)
1620:31      MemoryBarrierAtomicCounter ( global void)
1630:32      MemoryBarrierBuffer ( global void)
1640:33      MemoryBarrierShared ( global void)
1650:34      MemoryBarrierImage ( global void)
1660:35      GroupMemoryBarrier ( global void)
1670:36      move second child to first child ( temp int)
1680:36        value: direct index for structure (layout( column_major shared) buffer int)
1690: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})
1700:36          Constant:
1710:36            0 (const uint)
1720:36        Convert float to int ( temp int)
1730:36          indirect index (layout( column_major shared) temp float)
1740:36            values: direct index for structure (layout( column_major shared) buffer runtime-sized array of float)
1750: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})
1760:36              Constant:
1770:36                1 (const uint)
1780:36            'gl_LocalInvocationIndex' ( in uint LocalInvocationIndex)
1790:39      Test condition and select ( temp void)
1800:39        Condition
1810:39        Compare Greater Than ( temp bool)
1820:39          'a' ( temp int)
1830:39          Constant:
1840:39            10 (const int)
1850:39        true case
1860:40        Barrier ( global void)
1870:?   Linker Objects
1880:?     'gl_WorkGroupSize' ( const 3-component vector of uint WorkGroupSize)
1890:?       2 (const uint)
1900:?       1 (const uint)
1910:?       4096 (const uint)
1920:?     'total' ( const int)
1930:?       66592 (const int)
1940:?     '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})
1950:?     '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})
1960:?     'v3' (layout( location=2) in 3-component vector of float)
1970:?     'f' ( in float)
1980:?     'fo' ( out float)
1990:?     's' ( shared 4-component vector of float)
2000:?     'sl' (layout( location=2) shared 4-component vector of float)
2010:?     'fs' ( shared float)
2020:?     'arrX' ( global 2-element array of int)
2030:?     'arrY' ( global 1-element array of int)
2040:?     'arrZ' ( global 4096-element array of int)
2050:?     '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})
2060:?     'roll' ( uniform double)
2070:?     'destTex' ( writeonly uniform image2D)
2080:?     'inbi' ( in block{ in int a})
2090:?     'outbi' ( out block{ out int a})
210
211