summaryrefslogtreecommitdiffstats
path: root/src/glsl/ir_clone.cpp
diff options
context:
space:
mode:
authorPaul Berry <[email protected]>2013-10-15 17:25:44 -0700
committerPaul Berry <[email protected]>2013-10-17 11:51:01 -0700
commit79e835a71202f1a6e112266b199e833d952da606 (patch)
tree310951d698c55b05eec6e8d3c044f6100c43c29c /src/glsl/ir_clone.cpp
parenta36f7e651e947ff14dbbd242b1d9ab160442c532 (diff)
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 <[email protected]>
Diffstat (limited to 'src/glsl/ir_clone.cpp')
0 files changed, 0 insertions, 0 deletions