Semantics: Catch nested types containing 'int' with non-'flat' interpolation.

This commit is contained in:
John Kessenich
2015-12-22 16:39:07 -07:00
parent 50e57560a1
commit 69d01eadd6
4 changed files with 12 additions and 6 deletions

View File

@@ -37,7 +37,7 @@ struct s {
};
in s badout; // ERROR, can't contain a sampler
// ERROR, can't have int in struct without flat
struct S2 {
vec3 c;
float f;