[Mesa-stable] [PATCH] glsl: Disallow uniform block layout qualifiers on non-uniform block vars.

Matt Turner mattst88 at gmail.com
Mon Aug 26 16:49:02 PDT 2013


On Mon, Aug 26, 2013 at 4:35 PM, Ian Romanick <idr at freedesktop.org> wrote:
>> I think this will allow things like:
>
> struct foo {
>     layout(row_major) mat4 bar;
> };
>
> Yeah?

Don't think so:

error: syntax error, unexpected LAYOUT_TOK


More information about the mesa-stable mailing list