[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


https://bugs.freedesktop.org/show_bug.cgi?id=106823

--- 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 QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-3d-bugs/attachments/20180605/775e8fff/attachment.html>


More information about the intel-3d-bugs mailing list