[Bug 97420] "#version 0" crashes glsl_compiler

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Aug 23 04:33:55 UTC 2016


--- Comment #2 from Timothy Arceri <t_arceri at yahoo.com.au> ---
Looks like version is set twice. Once explicitly by the shader and once by
glcpp_parser_resolve_implicit_version() as we no longer set a bool to skip the
implicit call but check the version which is zero in this case.

_glcpp_parser_handle_version_declaration(glcpp_parser_t *parser, intmax_t
                                          const char *es_identifier,
                                          bool explicitly_set)
-   if (parser->version_resolved)
+   if (parser->version != 0)

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/20160823/429c102f/attachment.html>

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