diff options
author | Dan McCabe <[email protected]> | 2011-11-07 15:07:43 -0800 |
---|---|---|
committer | Dan McCabe <[email protected]> | 2011-11-07 16:31:21 -0800 |
commit | 80944599dcf070efa84ebf192c31f4129cee697d (patch) | |
tree | bc018dd5e5dda706139714d7aaf7b143a0ff6899 /.gitignore | |
parent | 19daba54707b4ff90159850ce97faceba9c336c0 (diff) |
glsl: Add productions to GLSL grammar for switch statement
The grammar is modified to support switch statements. Rather than follow the
grammar in the appendix, which allows case labels to be placed ANYWHERE
as a regular statement, we follow the development of the grammar as
described in the body of the GLSL spec.
In this variation, the switch statement has a body which consists of a list
of case statements. A case statement is preceded by a list of case labels and
ends with a list of statements.
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions