From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 63579] Savage 2 Edges render white [r600g] Date: Tue, 16 Apr 2013 19:06:55 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2060588494==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id BCDC6E64C5 for ; Tue, 16 Apr 2013 12:06:54 -0700 (PDT) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============2060588494== Content-Type: multipart/alternative; boundary="1366139214.26D6D0.15848"; charset="us-ascii" --1366139214.26D6D0.15848 Date: Tue, 16 Apr 2013 19:06:54 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=63579 --- Comment #9 from Erik Faye-Lund --- 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. --1366139214.26D6D0.15848 Date: Tue, 16 Apr 2013 19:06:54 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

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:
  • You are the assignee for the bug.
--1366139214.26D6D0.15848-- --===============2060588494== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --===============2060588494==--