summaryrefslogtreecommitdiff
path: root/src/glsl/glsl_parser_extras.h
diff options
context:
space:
mode:
authorCarl Worth <cworth@cworth.org>2010-07-21 11:23:51 -0700
committerCarl Worth <cworth@cworth.org>2010-07-21 11:42:27 -0700
commitc24bcad9f88379ffba9e2f0ff92f22cdf60c2927 (patch)
tree0763d225cdac2ad5e8728c7a52c822ea6cc41267 /src/glsl/glsl_parser_extras.h
parentf38d15b80d4e4c8ecb7a76087cdc49835f0aa271 (diff)
glsl: Correctly handle unary plus operator.
Previously, any occurence of the unary plus operator would trigger a bogus type mismatch error. Fix this by making the ast_plus case look more like the ast_neg case as far as type-checking is concerned. With this change the shaders/CorrectPreprocess8.frag test in piglit now passes.
Diffstat (limited to 'src/glsl/glsl_parser_extras.h')
0 files changed, 0 insertions, 0 deletions