GLSL: Disallow 'shared' in nested scopes.
This implements Khronos-private specification bug 16130.
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user