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: Thu, 17 Nov 2016 22:34:55 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1398395913==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id BAAA089954 for ; Thu, 17 Nov 2016 22:34:54 +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 --===============1398395913== Content-Type: multipart/alternative; boundary="14794220940.ceB1BB3Fd.5201"; charset="UTF-8" --14794220940.ceB1BB3Fd.5201 Date: Thu, 17 Nov 2016 22:34:54 +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 #15 from Jakob Bornecrantz --- (In reply to Nicolai H=C3=A4hnle from comment #14) > I suspect the reason that the blob drivers do it this way is that if you > don't, you're likely to hit a subtle bug with emit inside control flow. A= nd > making the effort to exploit the undefined-ness probably pays off very > rarely, so... I'm about to send out a patch to mesa-dev that might explain > this better. In any case, the shader still did the wrong thing according = to > the spec :) Following the spec fixed the problems I was seeing, thanks! It slightly slo= wer then on Windows, but within the same magnitude. Cheers, Jakob. --=20 You are receiving this mail because: You are the assignee for the bug.= --14794220940.ceB1BB3Fd.5201 Date: Thu, 17 Nov 2016 22:34:54 +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

Commen= t # 15 on bug 98664<= /a> from Jakob Bornecrantz
(In reply to Nicolai H=C3=A4hnle from comment #14)
> I suspect the reason that the blob drivers do it=
 this way is that if you
> don't, you're likely to hit a subtle bug with emit inside control flow=
. And
> making the effort to exploit the undefined-ness probably pays off very
> rarely, so... I'm about to send out a patch to mesa-dev that might exp=
lain
> this better. In any case, the shader still did the wrong thing accordi=
ng to
> the spec :)

Following the spec fixed the problems I was seeing, thanks! It slightly slo=
wer
then on Windows, but within the same magnitude.

Cheers, Jakob.


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