yum-mirror/glslang

git clone https://git.yummers.dev/yum-mirror/glslang

Arcady Goldmints-OrlovCheck for invalid usage of gl_WorkGroupSize components9c4f12c5

main
2.6 KiB80 linesraw
1negativeWorkGroupSize.comp
2ERROR: 0:4: 'initializer' : can't read from gl_WorkGroupSize before a fixed workgroup size has been declared 
3ERROR: 0:5: '.' : can't read from gl_WorkGroupSize before a fixed workgroup size has been declared 
4ERROR: 2 compilation errors.  No code generated.
5
6
7Shader version: 460
8local_size = (64, 1, 1)
9ERROR: node is still EOpNull!
100:3  Function Definition: fn( ( global void)
110:3    Function Parameters: 
120:4    Sequence
130:4      Sequence
140:4        move second child to first child ( temp 3-component vector of uint)
150:4          'wgs' ( temp 3-component vector of uint)
160:4          Constant:
170:4            1 (const uint)
180:4            1 (const uint)
190:4            1 (const uint)
200:5      Sequence
210:5        move second child to first child ( temp uint)
220:5          'foo' ( temp uint)
230:5          Constant:
240:5            1 (const uint)
250:10  Function Definition: main( ( global void)
260:10    Function Parameters: 
270:11    Sequence
280:11      Function Call: fn( ( global void)
290:12      Sequence
300:12        move second child to first child ( temp 3-component vector of uint)
310:12          'wgs' ( temp 3-component vector of uint)
320:12          Constant:
330:12            64 (const uint)
340:12            1 (const uint)
350:12            1 (const uint)
360:?   Linker Objects
370:?     'gl_WorkGroupSize' ( const 3-component vector of uint WorkGroupSize)
380:?       64 (const uint)
390:?       1 (const uint)
400:?       1 (const uint)
41
42
43Linked compute stage:
44
45
46Shader version: 460
47local_size = (64, 1, 1)
48ERROR: node is still EOpNull!
490:3  Function Definition: fn( ( global void)
500:3    Function Parameters: 
510:4    Sequence
520:4      Sequence
530:4        move second child to first child ( temp 3-component vector of uint)
540:4          'wgs' ( temp 3-component vector of uint)
550:4          Constant:
560:4            1 (const uint)
570:4            1 (const uint)
580:4            1 (const uint)
590:5      Sequence
600:5        move second child to first child ( temp uint)
610:5          'foo' ( temp uint)
620:5          Constant:
630:5            1 (const uint)
640:10  Function Definition: main( ( global void)
650:10    Function Parameters: 
660:11    Sequence
670:11      Function Call: fn( ( global void)
680:12      Sequence
690:12        move second child to first child ( temp 3-component vector of uint)
700:12          'wgs' ( temp 3-component vector of uint)
710:12          Constant:
720:12            64 (const uint)
730:12            1 (const uint)
740:12            1 (const uint)
750:?   Linker Objects
760:?     'gl_WorkGroupSize' ( const 3-component vector of uint WorkGroupSize)
770:?       64 (const uint)
780:?       1 (const uint)
790:?       1 (const uint)
80