Re: [Mesa-dev] [PATCH 0/5] glsl: Add switch statement support to the GLSL compiler.

2011-08-03 Thread Dan McCabe
On 08/03/2011 12:39 PM, Paul Berry wrote: On 1 August 2011 17:29, Dan McCabe wrote: This patch set adds support for switch statements to the GLSL compiler. We modify the grammar for the compiler with productions for switch statements and case labels, while adding supporting supporting productio

Re: [Mesa-dev] [PATCH 0/5] glsl: Add switch statement support to the GLSL compiler.

2011-08-03 Thread Paul Berry
On 1 August 2011 17:29, Dan McCabe wrote: > This patch set adds support for switch statements to the GLSL compiler. We > modify the grammar for the compiler with productions for switch statements > and case labels, while adding supporting supporting productions not already > present. New AST class

[Mesa-dev] [PATCH 0/5] glsl: Add switch statement support to the GLSL compiler.

2011-08-01 Thread Dan McCabe
This patch set adds support for switch statements to the GLSL compiler. We modify the grammar for the compiler with productions for switch statements and case labels, while adding supporting supporting productions not already present. New AST classes are defined to support those productions. Howev