yum-mirror/glslang

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

Sven van HaastregtAdd variadic function support for builtin functionsd42b2a6b

main
1.2 KiB47 linesraw
1variadic.comp
2ERROR: 0:3: '...' : variadic argument specifier is only available for builtins 
3ERROR: 0:10: 'foo' : no matching overloaded function found 
4ERROR: 0:11: 'foo' : no matching overloaded function found 
5ERROR: 3 compilation errors.  No code generated.
6
7
8Shader version: 450
9local_size = (1, 1, 1)
10ERROR: node is still EOpNull!
110:3  Function Definition: foo(i1; ( global void)
120:3    Function Parameters: 
130:3      'n' ( in int)
140:7  Function Definition: main( ( global void)
150:7    Function Parameters: 
160:9    Sequence
170:9      Function Call: foo(i1; ( global void)
180:9        Constant:
190:9          7 (const int)
200:10      Constant:
210:10        0.000000
220:11      Constant:
230:11        0.000000
240:?   Linker Objects
25
26
27Linked compute stage:
28
29
30Shader version: 450
31local_size = (1, 1, 1)
32ERROR: node is still EOpNull!
330:3  Function Definition: foo(i1; ( global void)
340:3    Function Parameters: 
350:3      'n' ( in int)
360:7  Function Definition: main( ( global void)
370:7    Function Parameters: 
380:9    Sequence
390:9      Function Call: foo(i1; ( global void)
400:9        Constant:
410:9          7 (const int)
420:10      Constant:
430:10        0.000000
440:11      Constant:
450:11        0.000000
460:?   Linker Objects
47