Implement location overlap error checking.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@24376 e7fa87d3-cd2b-0410-9028-fcbf551c1848
This commit is contained in:
parent
2f15597a7e
commit
0b39137009
13 changed files with 146 additions and 12 deletions
|
|
@ -2,6 +2,7 @@
|
|||
ERROR: 0:7: 'vertex input arrays' : not supported with this profile: es
|
||||
ERROR: 0:8: 'in' : cannot be a structure or array
|
||||
ERROR: 0:8: 'vertex input arrays' : not supported with this profile: es
|
||||
ERROR: 0:8: 'location' : repeated use of location 10
|
||||
ERROR: 0:12: 'badm4' : cannot specify matrix layout on a variable declaration
|
||||
ERROR: 0:12: 'badm4' : cannot specify packing on a variable declaration
|
||||
ERROR: 0:19: 'badf' : member of uniform block cannot have an auxiliary or interpolation qualifier
|
||||
|
|
@ -15,7 +16,8 @@ ERROR: 0:42: 'location qualifier on output' : not supported in this stage: verte
|
|||
ERROR: 0:50: 'shared' : not supported with this profile: es
|
||||
ERROR: 0:50: 'shared' : not supported in this stage: vertex
|
||||
ERROR: 0:54: 'aoeuntaoeu' : layout qualifiers for matrix layout and packing only apply to uniform or buffer blocks
|
||||
ERROR: 16 compilation errors. No code generated.
|
||||
ERROR: 0:57: 'location' : repeated use of location 40
|
||||
ERROR: 18 compilation errors. No code generated.
|
||||
|
||||
|
||||
ERROR: node is still EOpNull!
|
||||
|
|
@ -72,6 +74,8 @@ ERROR: node is still EOpNull!
|
|||
0:? 'badoutA' (layout(location=10 ) smooth out highp 4-component vector of float)
|
||||
0:? 'compute_only' (shared highp 4-component vector of float)
|
||||
0:? 'aoeuntaoeu' (layout(packed ) highp float)
|
||||
0:? 'cd' (layout(location=40 ) in highp float)
|
||||
0:? 'ce' (layout(location=37 ) in highp 4X3 matrix of float)
|
||||
0:? 'gl_VertexID' (gl_VertexId highp int)
|
||||
0:? 'gl_InstanceID' (gl_InstanceId highp int)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue