From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 85696] r600g+nine: Bioshock shader failure after 7b1c0cbc90d456384b0950ad21faa3c61a6b43ff Date: Thu, 20 Nov 2014 01:29:12 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1369194756==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 1864F6F9F4 for ; Wed, 19 Nov 2014 17:29:12 -0800 (PST) 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 --===============1369194756== Content-Type: multipart/alternative; boundary="1416446951.711AA80.27854"; charset="UTF-8" --1416446951.711AA80.27854 Date: Thu, 20 Nov 2014 01:29:11 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=85696 --- Comment #5 from Ilia Mirkin --- (In reply to David Heidelberg (okias) from comment #4) > It's bug in Nine. > > Instead of one available ADDR[0], we try use DCL ADDR[0..1]. > > ADDR[0] is allocated by LOOP (for counter purposes) and then later is > allocated ADDR[1]. > > 0 is the address register (already allocated by LOOP, but in this case > unused) > 1 is UBO index register (misused by location for MOVA (coverted)-> ARR) > 2 is sampler index register (not used, correctly). While the opengl state tracker uses ADDR in this way, it is not in any way required by TGSI or gallium that this be the case. ADDR registers can be used however you want, they're just registers like any other, except that they can be used for indirect indexing into TEMP and CONST registers (perhaps IN and OUT as well, not sure), and with ARB_gs5, into SAMP as well. -- You are receiving this mail because: You are the assignee for the bug. --1416446951.711AA80.27854 Date: Thu, 20 Nov 2014 01:29:11 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 5 on bug 85696 from
(In reply to David Heidelberg (okias) from comment #4)
> It's bug in Nine.
> 
> Instead of one available ADDR[0], we try use DCL ADDR[0..1].
> 
> ADDR[0] is allocated by LOOP (for counter purposes) and then later is
> allocated ADDR[1].
> 
> 0 is the address register (already allocated by LOOP, but in this case
> unused)
> 1 is UBO index register (misused by location for MOVA (coverted)-> ARR)
> 2 is sampler index register (not used, correctly).

While the opengl state tracker uses ADDR in this way, it is not in any way
required by TGSI or gallium that this be the case. ADDR registers can be used
however you want, they're just registers like any other, except that they can
be used for indirect indexing into TEMP and CONST registers (perhaps IN and OUT
as well, not sure), and with ARB_gs5, into SAMP as well.


You are receiving this mail because:
  • You are the assignee for the bug.
--1416446951.711AA80.27854-- --===============1369194756== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============1369194756==--