projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
17a4206
)
glsl: Take 'double' as reserved after GLSL ES 1.0
author
zhaowei yuan
<zhaowei.yuan@samsung.com>
Mon, 4 Jun 2018 21:33:59 +0000
(
05:33
+0800)
committer
Kenneth Graunke
<kenneth@whitecape.org>
Wed, 6 Jun 2018 06:39:25 +0000
(23:39 -0700)
GLSL ES 1.0.17 specifies that "double" is a keyword reserved
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=106823
Signed-off-by: zhaowei yuan <zhaowei.yuan@samsung.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/compiler/glsl/glsl_lexer.ll
patch
|
blob
|
history
diff --git
a/src/compiler/glsl/glsl_lexer.ll
b/src/compiler/glsl/glsl_lexer.ll
index b7cf10018de2d2cbf4d67111ff77bbf809832846..de6dc645cfcda9f77e01890439808ef01c7e7302 100644
(file)
--- a/
src/compiler/glsl/glsl_lexer.ll
+++ b/
src/compiler/glsl/glsl_lexer.ll
@@
-600,7
+600,7
@@
external KEYWORD(110, 100, 0, 0, EXTERNAL);
interface KEYWORD(110, 100, 0, 0, INTERFACE);
long KEYWORD(110, 100, 0, 0, LONG_TOK);
short KEYWORD(110, 100, 0, 0, SHORT_TOK);
-double TYPE_WITH_ALT(130,
3
00, 130, 300, yyextra->ARB_gpu_shader_fp64_enable, glsl_type::double_type);
+double TYPE_WITH_ALT(130,
1
00, 130, 300, yyextra->ARB_gpu_shader_fp64_enable, glsl_type::double_type);
half KEYWORD(110, 100, 0, 0, HALF);
fixed KEYWORD(110, 100, 0, 0, FIXED_TOK);
unsigned KEYWORD(110, 100, 0, 0, UNSIGNED);