[Bug 63579] Savage 2 Edges render white [r600g]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Comment # 9 on bug 63579 from
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:
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/dri-devel

[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux