48 lines
1.6 KiB
Plaintext
48 lines
1.6 KiB
Plaintext
|
|
const in out uniform flat noperspective $pure inline noinline readonly writeonly
|
||
|
|
buffer void func1() {}
|
||
|
|
|
||
|
|
void func2(const in out uniform flat noperspective $pure
|
||
|
|
inline noinline readonly writeonly buffer float test) {}
|
||
|
|
|
||
|
|
const in out uniform flat noperspective $pure inline noinline readonly writeonly
|
||
|
|
buffer float var;
|
||
|
|
|
||
|
|
const in out uniform flat noperspective $pure inline noinline readonly writeonly
|
||
|
|
buffer MyInterfaceBlock { float var; };
|
||
|
|
|
||
|
|
/*%%*
|
||
|
|
type 'void' does not support qualifier 'readonly writeonly'
|
||
|
|
'const' is not permitted here
|
||
|
|
'in' is not permitted here
|
||
|
|
'out' is not permitted here
|
||
|
|
'uniform' is not permitted here
|
||
|
|
'flat' is not permitted here
|
||
|
|
'noperspective' is not permitted here
|
||
|
|
'$pure' is not permitted here
|
||
|
|
'buffer' is not permitted here
|
||
|
|
functions cannot be both 'inline' and 'noinline'
|
||
|
|
type 'float' does not support qualifier 'readonly writeonly'
|
||
|
|
'uniform' is not permitted here
|
||
|
|
'flat' is not permitted here
|
||
|
|
'noperspective' is not permitted here
|
||
|
|
'$pure' is not permitted here
|
||
|
|
'inline' is not permitted here
|
||
|
|
'noinline' is not permitted here
|
||
|
|
'buffer' is not permitted here
|
||
|
|
type 'float' does not support qualifier 'readonly writeonly'
|
||
|
|
'in uniform' variables not permitted
|
||
|
|
'uniform buffer' variables not permitted
|
||
|
|
'$pure' is not permitted here
|
||
|
|
'inline' is not permitted here
|
||
|
|
'noinline' is not permitted here
|
||
|
|
'buffer' is not permitted here
|
||
|
|
'const' variables must be initialized
|
||
|
|
'in uniform' variables not permitted
|
||
|
|
'readonly' and 'writeonly' qualifiers cannot be combined
|
||
|
|
'uniform buffer' variables not permitted
|
||
|
|
'$pure' is not permitted here
|
||
|
|
'inline' is not permitted here
|
||
|
|
'noinline' is not permitted here
|
||
|
|
'const' variables must be initialized
|
||
|
|
*%%*/
|