GLSL front-end: Check recursively for opaque types in a block; these are all illegal.

This commit is contained in:
John Kessenich 2015-09-30 18:57:47 -06:00
parent ee21fc9081
commit 3cd0024ea8
6 changed files with 23 additions and 10 deletions

View file

@ -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 {