OSDN Git Service

glsl: Add missing location info to case labels.
authorEric Anholt <eric@anholt.net>
Mon, 30 Jan 2012 17:41:55 +0000 (09:41 -0800)
committerIan Romanick <ian.d.romanick@intel.com>
Tue, 7 Feb 2012 18:26:17 +0000 (10:26 -0800)
commit2b4df494b1f5f020444b14fcaeea6e02adb7d7ac
tree7c82c7ee58a94efb176455e2fb420f2a20315233
parent728bda08d85813eeda12ae52e0893a37533ba02c
glsl: Add missing location info to case labels.

Otherwise, the upcoming error messages said the location was 0:0(0).

NOTE: This is a candidate for the 8.0 branch.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
(cherry picked from commit 663dcbbffeaedf0643e7e9d930ccfbcd698d1d9c)
src/glsl/glsl_parser.yy