From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 98664] Fragment shader while loop causes geometry corruption Date: Wed, 16 Nov 2016 17:03:44 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0643640461==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 042456E080 for ; Wed, 16 Nov 2016 17:03:44 +0000 (UTC) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0643640461== Content-Type: multipart/alternative; boundary="14793158230.64c43A94.23373"; charset="UTF-8" --14793158230.64c43A94.23373 Date: Wed, 16 Nov 2016 17:03:43 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D98664 --- Comment #8 from Jakob Bornecrantz --- (In reply to Ilia Mirkin from comment #7) > Created attachment 128012 [details] > last frame with i965/SKL mesa 13.0.1 That is how it should look. 17:02 < nha> funny because Prf_Jakob seems to think it's related to loops in the pixel shader... Looks my analysis was wrong. Since the fragment shader in use is trivial, t= ho making it even more trivial makes it work (not using inMinEdge). #version 450 core layout (location =3D 0) in vec3 inPosition; layout (location =3D 0) out vec4 outColor; void main(void) { outColor =3D vec4(inPosition, 1.0); } --=20 You are receiving this mail because: You are the assignee for the bug.= --14793158230.64c43A94.23373 Date: Wed, 16 Nov 2016 17:03:43 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated

Comment= # 8 on bug 98664<= /a> from Jakob Bornecrantz
(In reply to Ilia Mirkin from comment #7)
> Created attachment 128012 [details]=

> last frame with i965/SKL mesa 13.0.1

That is how it should look.



17:02 < nha> funny because Prf_Jakob seems to think it's related to l=
oops in
the pixel shader...

Looks my analysis was wrong. Since the fragment shader in use is trivial, t=
ho
making it even more trivial makes it work (not using inMinEdge).


#version 450 core

layout (location =3D 0) in vec3 inPosition;
layout (location =3D 0) out vec4 outColor;


void main(void)
{
        outColor =3D vec4(inPosition, 1.0);
}


You are receiving this mail because:
  • You are the assignee for the bug.
= --14793158230.64c43A94.23373-- --===============0643640461== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0643640461==--