On Thu, 29 Mar 2012 18:20:43 -0700, Ian Romanick <i...@freedesktop.org> wrote:
> On 03/29/2012 02:59 PM, Eric Anholt wrote:
> > The samplerBuffer type will be undefined in !glsl 1.40, and the
> > keyword is marked as reserved.  The [iu]samplerBuffer types are not
> > marked as reserved pre-1.40, so they don't have separate tokens and
> > fall through to normal type handling.
> 
> My recollection of GLSL namespace rules is failing.  If these are only 
> caught by the symbol table, will that allow things like
> 
>       int isamplerBufer;

Good point, while GLSL 1.30 didn't have the 2 new ones marked as
reserved, GLSL 1.40 has all 3 marked served, so I need to handle them
with other reserved keyword stuff.  I think there are other new keywords
to reserve, too.

Attachment: pgpuxwfYXLbwr.pgp
Description: PGP signature

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to