Re: [Mesa-dev] [PATCH 21/26] glsl: Add builtin variables for GLSL 3.00 ES.

2012-11-30 Thread Eric Anholt
Ian Romanick writes: > From: Paul Berry > > This patch also adds assertions so that when we add new GLSL versions, > we'll notice that we need to update the builtin variables. > > Reviewed-by: Ian Romanick > +static void > +generate_300ES_uniforms(exec_list *instructions, > +

[Mesa-dev] [PATCH 21/26] glsl: Add builtin variables for GLSL 3.00 ES.

2012-11-30 Thread Ian Romanick
From: Paul Berry This patch also adds assertions so that when we add new GLSL versions, we'll notice that we need to update the builtin variables. Reviewed-by: Ian Romanick --- src/glsl/builtin_variables.cpp | 193 - 1 file changed, 151 insertions(+), 42