Semantics: Catch nested types containing 'int' with non-'flat' interpolation.
This commit is contained in:
parent
50e57560a1
commit
69d01eadd6
4 changed files with 12 additions and 6 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue