GLSL: Disallow 'shared' in nested scopes.
This implements Khronos-private specification bug 16130.
This commit is contained in:
parent
c5f2ab965f
commit
dd56173d04
4 changed files with 609 additions and 599 deletions
|
|
@ -1,2 +1,6 @@
|
|||
#version 450 core
|
||||
layout(local_size_x = 0) in; // ERROR, 0 not allowed
|
||||
layout(local_size_x = 0) in; // ERROR, 0 not allowed
|
||||
void main()
|
||||
{
|
||||
shared float f; // ERROR shared must be global
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue