From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 66642] [nva5] Wrong provoking vertex is selected for flat attribute interpolation (clipping?) Date: Mon, 19 Aug 2013 19:27:49 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0212374291==" Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: nouveau-bounces+gcfxn-nouveau=m.gmane.org-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Errors-To: nouveau-bounces+gcfxn-nouveau=m.gmane.org-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org List-Id: nouveau.vger.kernel.org --===============0212374291== Content-Type: multipart/alternative; boundary="1376940469.1034D0c2.4734"; charset="us-ascii" --1376940469.1034D0c2.4734 Date: Mon, 19 Aug 2013 19:27:49 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=66642 --- Comment #1 from Ilia Mirkin --- Created attachment 84289 --> https://bugs.freedesktop.org/attachment.cgi?id=84289&action=edit pushbuf dump of generated_tests/spec/glsl-1.30/execution/interpolation/interpolation-flat-gl_BackColor-smooth-none.shader_test calim and I looked at this briefly, he couldn't figure out the issue. (And I know nowhere close to enough about it to even try.) Some observations: (a) I see the same problem on NV96. (b) All the interpolation-flat-gl_*BackColor-smooth-* tests fail, the FrontColor ones succeed. Attached is a pushbuf dump of the program. Would be good to see what the blob does on the same test. """ so, if you want to fix it completely you have to add shader variants, if you just want to fix it partially you have to set SHADE_MODEL depending on the shader instead of just the rasterizer state, or you ignore it because it's an insignificant corner case no one cares about ah yes, or you see if the blob knows a cheat around it it would be good to know if it actually sets SHADE_MODEL to flat in that test """ -- You are receiving this mail because: You are the assignee for the bug. --1376940469.1034D0c2.4734 Date: Mon, 19 Aug 2013 19:27:49 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 1 on bug 66642 from
Created attachment 84289 [details]
pushbuf dump of
generated_tests/spec/glsl-1.30/execution/interpolation/interpolation-flat-gl_BackColor-smooth-none.shader_test

calim and I looked at this briefly, he couldn't figure out the issue. (And I
know nowhere close to enough about it to even try.)

Some observations:

(a) I see the same problem on NV96.
(b) All the interpolation-flat-gl_*BackColor-smooth-* tests fail, the
FrontColor ones succeed.

Attached is a pushbuf dump of the program. Would be good to see what the blob
does on the same test.

"""
<calim> so, if you want to fix it completely you have to add shader variants,
if you just want to fix it partially you have to set SHADE_MODEL depending on
the shader instead of just the rasterizer state, or you ignore it because it's
an insignificant corner case no one cares about
<calim> ah yes, or you see if the blob knows a cheat around it
<calim> it would be good to know if it actually sets SHADE_MODEL to flat in
that test
"""


You are receiving this mail because:
  • You are the assignee for the bug.
--1376940469.1034D0c2.4734-- --===============0212374291== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Nouveau mailing list Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org http://lists.freedesktop.org/mailman/listinfo/nouveau --===============0212374291==--