aboutsummaryrefslogtreecommitdiffstats
path: root/src/glsl/lower_output_reads.cpp
diff options
context:
space:
mode:
authorPaul Berry <[email protected]>2012-08-02 08:17:55 -0700
committerIan Romanick <[email protected]>2012-12-06 12:13:21 -0800
commit534ec62152e70ed8f6467feaf07b2db2197e11b1 (patch)
tree9f93f3e9e50823ef55c3144f42d9c4fe06191222 /src/glsl/lower_output_reads.cpp
parent948e5dda67caa49fa9fc7cdc4649343eaf305b49 (diff)
glsl: parse GLSL ES 3.00 keywords correctly.
GLSL ES 3.00 adds the following keywords over GLSL 1.00: uint, uvec[2-4], matNxM, centroid, flat, smooth, various samplers, layout, switch, default, and case. Additionally, it reserves a large number of keywords, some of which were already reserved in versions of desktop GL that Mesa supports, some of which are new to Mesa. A few of the reserved keywords in GLSL ES 3.00 are keywords that are supported in all other versions of GLSL: attribute, varying, sampler1D, sampler1DShador, sampler2DRect, and sampler2DRectShadow. This patch updates the lexer to handle all of the new keywords correctly when the language being parsed is GLSL 3.00 ES. Reviewed-by: Ian Romanick <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]> Acked-by: Carl Worth <[email protected]>
Diffstat (limited to 'src/glsl/lower_output_reads.cpp')
0 files changed, 0 insertions, 0 deletions