Mesa (master): glsl: Change grammar rules for selection statements to match the spec.

Kenneth Graunke kwg at kemper.freedesktop.org
Tue Sep 7 20:18:23 UTC 2010


Module: Mesa
Branch: master
Commit: 0427228bbc241d0b76df853812d023273b496637
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0427228bbc241d0b76df853812d023273b496637

Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Tue Sep  7 12:56:18 2010 -0700

glsl: Change grammar rules for selection statements to match the spec.

Fixes piglit test case loop-06.vert.

Unfortunately, causes 1 shift/reduce conflict.

---

 src/glsl/glsl_parser.cpp | 1793 +++++++++++++++++++++++-----------------------
 src/glsl/glsl_parser.h   |   18 +-
 src/glsl/glsl_parser.ypp |   52 +-
 3 files changed, 913 insertions(+), 950 deletions(-)

Diff:   http://cgit.freedesktop.org/mesa/mesa/diff/?id=0427228bbc241d0b76df853812d023273b496637



More information about the mesa-commit mailing list