GLSL: Disallow 'shared' in nested scopes.

This implements Khronos-private specification bug 16130.
This commit is contained in:
John Kessenich
2017-06-08 10:13:15 -06:00
parent c5f2ab965f
commit dd56173d04
4 changed files with 609 additions and 599 deletions

View File

@@ -1,20 +1,24 @@
450.comp
ERROR: 0:2: 'local_size_x' : must be at least 1
ERROR: 1 compilation errors. No code generated.
ERROR: 0:5: 'shared' : not allowed in nested scope
ERROR: 2 compilation errors. No code generated.
Shader version: 450
local_size = (1, 1, 1)
ERROR: node is still EOpNull!
0:3 Function Definition: main( ( global void)
0:3 Function Parameters:
0:? Linker Objects
Linked compute stage:
ERROR: Linking compute stage: Missing entry point: Each stage requires one entry point
Shader version: 450
local_size = (1, 1, 1)
ERROR: node is still EOpNull!
0:3 Function Definition: main( ( global void)
0:3 Function Parameters:
0:? Linker Objects