From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 97988] [radeonsi] playing back videos with VDPAU exhibits deinterlacing/anti-aliasing issues not visible with VA-API Date: Tue, 04 Oct 2016 12:27:15 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1984985809==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id B08006E628 for ; Tue, 4 Oct 2016 12:27:15 +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 --===============1984985809== Content-Type: multipart/alternative; boundary="14755840350.11e9258.13679"; charset="UTF-8" --14755840350.11e9258.13679 Date: Tue, 4 Oct 2016 12:27:15 +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=3D97988 --- Comment #14 from Christian K=C3=B6nig --- (In reply to Marek Ol=C5=A1=C3=A1k from comment #13) > (In reply to Tom Stellard from comment #12) > >=20 > > I think the best solution here would be to teach the backend how to do a > > scalar select based on value of vccz. >=20 > You are missing the point. The condition code (VCC) isn't the same across > all threads. The problem is that the conditional assignment is transformed > into a form that makes descriptor load addresses non-uniform (dependent o= n a > VGPR). There is nothing the AMDGPU backend can do about it. It's not a > problem in the backend. Well the backend could iterate over all the variants to handle that, but I = have strong doubts that this would result in optimal performance. So I think the best solution for now would be to mark the texture intrinsic= in a way which disallows such optimizations. --=20 You are receiving this mail because: You are the assignee for the bug.= --14755840350.11e9258.13679 Date: Tue, 4 Oct 2016 12:27:15 +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 # 14 on bug 97988<= /a> from Christian K=C3=B6nig
(In reply to Marek Ol=C5=A1=C3=A1k from comment #13)
> (In reply to Tom Stellard from comment #12)
> >=20
> > I think the best solution here would be to teach the backend how =
to do a
> > scalar select based on value of vccz.
>=20
> You are missing the point. The condition code (VCC) isn't the same acr=
oss
> all threads. The problem is that the conditional assignment is transfo=
rmed
> into a form that makes descriptor load addresses non-uniform (dependen=
t on a
> VGPR). There is nothing the AMDGPU backend can do about it. It's not a
> problem in the backend.

Well the backend could iterate over all the variants to handle that, but I =
have
strong doubts that this would result in optimal performance.

So I think the best solution for now would be to mark the texture intrinsic=
 in
a way which disallows such optimizations.


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