Add basic intra-stage linking validation for matching types and qualification of uniforms/ins/outs/globals, function body duplication, and mixing ES/non-ES shaders.
Still need to handle arrays and built-in redeclarations, and many more rules, but this puts the basics in place. git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@23225 e7fa87d3-cd2b-0410-9028-fcbf551c1848
This commit is contained in:
@@ -2,4 +2,9 @@ ERROR: 0:9: 'vec5' : undeclared identifier
|
||||
ERROR: 0:9: '' : syntax error
|
||||
ERROR: 2 compilation errors. No code generated.
|
||||
|
||||
ERROR: node is still EOpNull!
|
||||
0:? Linker Objects
|
||||
0:? 'bigColor' (uniform 4-component vector of float)
|
||||
0:? 'BaseColor' (smooth in 4-component vector of float)
|
||||
0:? 'd' (uniform float)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user