[Bug 63579] Savage 2 Edges render white [r600g]
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Tue Apr 16 12:06:55 PDT 2013
https://bugs.freedesktop.org/show_bug.cgi?id=63579
--- Comment #9 from Erik Faye-Lund <kusmabite at gmail.com> ---
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".
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20130416/2bd94c84/attachment.html>
More information about the dri-devel
mailing list