[Mesa-dev] [Bug 106823] Failed to recongnize keyword of shader code

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Jun 5 07:59:38 UTC 2018


--- Comment #1 from Kenneth Graunke <kenneth at whitecape.org> ---
That is indeed a bug, GLSL ES 1.0.17 specifies that "double" is a keyword
reserved for future use.  The fix is to change glsl_lexer.ll to be

double          TYPE_WITH_ALT(130, 100, 130, 300,
yyextra->ARB_gpu_shader_fp64_enable, glsl_type::double_type)

instead of 130, 300, 130, 300.  Want to send a patch or should I?

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20180605/2d84e13a/attachment.html>

More information about the mesa-dev mailing list