diff options
author | Paul Berry <stereotype441@gmail.com> | 2013-10-17 13:30:35 -0700 |
---|---|---|
committer | Paul Berry <stereotype441@gmail.com> | 2013-10-17 13:30:35 -0700 |
commit | 4a9fb624cf43de2a64f73bb0a8eeae682a279188 (patch) | |
tree | 6ba0b4247e93d70549a86925e34805de0f8045d8 | |
parent | fa2d1ed587bc7491ef0909bdf3c595af69cabd74 (diff) |
Checked of a task related to this mesa commit:
commit 79e835a71202f1a6e112266b199e833d952da606
Author: Paul Berry <stereotype441@gmail.com>
Date: Tue Oct 15 17:25:44 2013 -0700
glsl: Treat layout-qualifier-id's as case-insensitive in desktop GLSL.
In desktop GLSL, location qualifiers are case-insensitive. In GLSL
ES, they are case-sensitive. This patch handles the difference by
using a new function to match layout qualifiers,
match_layout_qualifier(), which calls either strcmp() or strcasecmp()
as appropriate.
Fixes piglit tests:
- layout-not-case-sensitive-in.geom
- layout-not-case-sensitive-max-vert.geom
- layout-not-case-sensitive-out.geom
- layout-not-case-sensitive.frag
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
-rw-r--r-- | gl32.xml | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -141,7 +141,7 @@ The tokens in a layout-qualifier-id-list are identifiers, not keywords. </task> - <task name="LayoutNoCase" specref="GLSL 1.50 4.3.8" piglit="done" mesa="no"> + <task name="LayoutNoCase" specref="GLSL 1.50 4.3.8" piglit="done" mesa="done"> The tokens in a layout-qualifier-id-list are not case-sensitive (with certain exceptions). </task> |