Re: [Mesa-dev] [PATCH] glsl: Track UBO block names in the symbol table.

2012-12-10 Thread Ian Romanick
On 12/08/2012 09:49 PM, Kenneth Graunke wrote: On 12/08/2012 12:45 PM, Ian Romanick wrote: From: Kenneth Graunke kenn...@whitecape.org The GLSL 1.40 spec says: Uniform block names and variable names declared within uniform blocks are scoped at the program level. Track the block

[Mesa-dev] [PATCH] glsl: Track UBO block names in the symbol table.

2012-12-08 Thread Ian Romanick
From: Kenneth Graunke kenn...@whitecape.org The GLSL 1.40 spec says: Uniform block names and variable names declared within uniform blocks are scoped at the program level. Track the block name in the symbol table and emit errors when conflicts exist. Fixes es3conform's

Re: [Mesa-dev] [PATCH] glsl: Track UBO block names in the symbol table.

2012-12-08 Thread Kenneth Graunke
On 12/08/2012 12:45 PM, Ian Romanick wrote: From: Kenneth Graunke kenn...@whitecape.org The GLSL 1.40 spec says: Uniform block names and variable names declared within uniform blocks are scoped at the program level. Track the block name in the symbol table and emit errors when