[Mesa-dev] Questions about arrays in GLSL 1.50 interface blocks

Paul Berry stereotype441 at gmail.com
Tue Aug 6 13:42:49 PDT 2013


On 6 August 2013 13:34, Matt Turner <mattst88 at gmail.com> wrote:

> On Tue, Aug 6, 2013 at 12:11 PM, Paul Berry <stereotype441 at gmail.com>
> wrote:
> > Based on what we've seen with AMD and nVidia so far, it seems like the
> > intended behaviour is probably: redeclarations of interface blocks are
> > prohibited, with the exception of gl_PerVertex (which may only be
> redeclared
> > once in a given compilation unit).
>
> Which means disallowing user-defined unsized arrays in interface
> blocks (other than gl_PerVertex)? Seems fine, just confirming.
>

Whoops, I wasn't specific about that.

It looks like both nVidia, AMD, and the spec all agree that unsized arrays
should be allowed in interface blocks, so I think we should allow them in
Mesa too.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20130806/2f57ad26/attachment.html>


More information about the mesa-dev mailing list