<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - "#version 0" crashes glsl_compiler"
href="https://bugs.freedesktop.org/show_bug.cgi?id=97420#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - "#version 0" crashes glsl_compiler"
href="https://bugs.freedesktop.org/show_bug.cgi?id=97420">bug 97420</a>
from <span class="vcard"><a class="email" href="mailto:t_arceri@yahoo.com.au" title="Timothy Arceri <t_arceri@yahoo.com.au>"> <span class="fn">Timothy Arceri</span></a>
</span></b>
<pre>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
versio
const char *es_identifier,
bool explicitly_set)
{
- if (parser->version_resolved)
+ if (parser->version != 0)
return;</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>