GLSL front-end: Check recursively for opaque types in a block; these are all illegal.
This commit is contained in:
parent
ee21fc9081
commit
3cd0024ea8
6 changed files with 23 additions and 10 deletions
|
|
@ -18,10 +18,10 @@ uniform fooBlock {
|
|||
uvec4 bv;
|
||||
uniform mat2 bm2;
|
||||
lowp isampler2D sampler; // ERROR
|
||||
struct T2 { // ERROR
|
||||
struct T2 { // ERROR
|
||||
int a;
|
||||
} t;
|
||||
S fbs;
|
||||
S fbs; // ERROR, contains a sampler
|
||||
};
|
||||
|
||||
uniform barBlock {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue