On Wed, 2016-05-25 at 17:39 +1000, Dave Airlie wrote:
> From: Dave Airlie
>
> The current code disallows unsized arrays except at the end of
> an SSBO but it is a bit overzealous in doing so.
>
> struct a {
> int b[];
> int f[4];
> };
>
> is valid as long as b is implicitly sized wi
From: Dave Airlie
The current code disallows unsized arrays except at the end of
an SSBO but it is a bit overzealous in doing so.
struct a {
int b[];
int f[4];
};
is valid as long as b is implicitly sized within the shader,
i.e. it is accessed only by integer indices.
I've subm