<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Savage 2 Edges render white [r600g]"
href="https://bugs.freedesktop.org/show_bug.cgi?id=63579#c9">Comment # 9</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Savage 2 Edges render white [r600g]"
href="https://bugs.freedesktop.org/show_bug.cgi?id=63579">bug 63579</a>
from <span class="vcard"><a class="email" href="mailto:kusmabite@gmail.com" title="Erik Faye-Lund <kusmabite@gmail.com>"> <span class="fn">Erik Faye-Lund</span></a>
</span></b>
<pre>I don't know where you have the retroactive-story from, but the specification
does not mention it being retroactive, and even goes as far as to say:
"This document specifies only version 4.20 of the OpenGL Shading Language. It
requires __VERSION__ to substitute 420, and requires #version to accept only
420. If #version is declared with a smaller number, the language accepted is a
previous version of the shading language, which will be supported depending on
the version and type of context in the OpenGL API. See the OpenGL Graphics
System Specification, Version 4.2, for details on what language versions are
supported. Previous versions of the OpenGL Shading Language, as well as the
OpenGL ES Shading Language, are not strict subsets of the version specified
here, particularly with respect to precision, name-hiding rules, and treatment
of interface variables. See the specification corresponding to a particular
language version for details specific to that version of the language."
And new revisions of those older shader-languages specifications have not been
issued. You are right in saying that the specs allows for comments before the
#version-string, but IMO the only reasonable thing to do in such a case is to
not support line-continuation characters until a version declaration has been
defined.
As for what "every other vendor has implemented line continuation in some form
since forever", I can tell you that at least my NVIDIA OpenGL 4.3 driver does
*not* implement line continuation, seemingly in *any* form. Not even when the
shader starts with "#version 420".</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>