projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ad3dc37
)
glsl: Remove extraneously extraneous parens
author
Chad Versace
<chad.versace@intel.com>
Thu, 27 Jan 2011 09:40:51 +0000
(
01:40
-0800)
committer
Chad Versace
<chad.versace@intel.com>
Thu, 27 Jan 2011 00:37:45 +0000
(16:37 -0800)
I found this parenthetical usage of parentheses to be extraneously
extraneous:
(yyextra->ARB_fragment_coord_conventions_enable)
src/glsl/glsl_lexer.lpp
patch
|
blob
|
history
diff --git
a/src/glsl/glsl_lexer.lpp
b/src/glsl/glsl_lexer.lpp
index 555bc1f885474c707d7baa3d10d2244129fb7703..4d6866390d6638d3e52af2c258ffbfa7c26150f4 100644
(file)
--- a/
src/glsl/glsl_lexer.lpp
+++ b/
src/glsl/glsl_lexer.lpp
@@
-254,7
+254,7
@@
layout {
if ((yyextra->language_version >= 140)
|| yyextra->AMD_conservative_depth_enable
|| yyextra->ARB_explicit_attrib_location_enable
- ||
(yyextra->ARB_fragment_coord_conventions_enable))
{
+ ||
yyextra->ARB_fragment_coord_conventions_enable)
{
return LAYOUT_TOK;
} else {
yylval->identifier = strdup(yytext);