GLSL front-end: Check recursively for opaque types in a block; these are all illegal.
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
300block.frag
|
||||
ERROR: 0:10: '' : cannot nest a structure definition inside a structure or block
|
||||
ERROR: 0:21: '' : cannot nest a structure definition inside a structure or block
|
||||
ERROR: 0:20: 'sampler' : member of block cannot be a sampler type
|
||||
ERROR: 0:20: 'sampler' : member of block cannot be or contain a sampler, image, or atomic_uint type
|
||||
ERROR: 0:24: 'fbs' : member of block cannot be or contain a sampler, image, or atomic_uint type
|
||||
ERROR: 0:45: 'variable indexing uniform block array' : not supported for this version or the enabled extensions
|
||||
ERROR: 0:46: 'fooBlock' : cannot be used (maybe an instance name is needed)
|
||||
ERROR: 0:46: 'fooBlock' : undeclared identifier
|
||||
@@ -15,7 +16,7 @@ ERROR: 0:55: 'barBlockArray' : cannot be used (maybe an instance name is needed)
|
||||
ERROR: 0:55: 'barBlockArray' : undeclared identifier
|
||||
ERROR: 0:55: '*' : wrong operand types: no operation '*' exists that takes a left-hand operand of type 'const int' and a right operand of type 'temp float' (or there is no acceptable conversion)
|
||||
ERROR: 0:58: 'fooBlock' : redefinition
|
||||
ERROR: 16 compilation errors. No code generated.
|
||||
ERROR: 17 compilation errors. No code generated.
|
||||
|
||||
|
||||
Shader version: 300
|
||||
|
||||
@@ -15,7 +15,7 @@ ERROR: 0:79: 'vertex-shader array-of-struct output' : not supported with this pr
|
||||
ERROR: 0:81: 'vertex-shader struct output containing an array' : not supported with this profile: es
|
||||
ERROR: 0:83: 'vertex-shader struct output containing structure' : not supported with this profile: es
|
||||
ERROR: 0:85: 'std430 on a uniform block' : not supported with this profile: es
|
||||
ERROR: 0:97: 's' : member of block cannot be a sampler type
|
||||
ERROR: 0:97: 's' : member of block cannot be or contain a sampler, image, or atomic_uint type
|
||||
ERROR: 0:105: 'location' : overlapping use of location 12
|
||||
ERROR: 0:107: 'input block' : not supported in this stage: vertex
|
||||
ERROR: 0:109: 'gl_PerVertex' : block redeclaration has extra members
|
||||
|
||||
Reference in New Issue
Block a user