Re: [Mesa-dev] [PATCH 05/26] glsl: Add GLSL version query functions.

2012-11-30 Thread Kenneth Graunke
On 11/30/2012 10:07 AM, Ian Romanick wrote: From: Paul Berry With the advent of GLSL 3.00 ES, the version checks we perform in the GLSL compiler (to determine which language features are present) will become more complicated. To reduce the complexity, this patch adds functions check_version()

[Mesa-dev] [PATCH 05/26] glsl: Add GLSL version query functions.

2012-11-30 Thread Ian Romanick
From: Paul Berry With the advent of GLSL 3.00 ES, the version checks we perform in the GLSL compiler (to determine which language features are present) will become more complicated. To reduce the complexity, this patch adds functions check_version() and is_version() to _mesa_glsl_parse_state. Th