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:17:54 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1415068972==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id B484C6EB52 for ; Wed, 19 Nov 2014 17:17:54 -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 --===============1415068972== Content-Type: multipart/alternative; boundary="1416446274.dCCe0.23797"; charset="UTF-8" --1416446274.dCCe0.23797 Date: Thu, 20 Nov 2014 01:17:54 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=85696 David Heidelberg (okias) changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords|bisected, regression | Summary|[regression] r600g+nine: |r600g+nine: Bioshock shader |Bioshock shader failure |failure after |after |7b1c0cbc90d456384b0950ad21f |7b1c0cbc90d456384b0950ad21f |aa3c61a6b43ff |aa3c61a6b43ff | --- Comment #4 from David Heidelberg (okias) --- 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). Axel had idea we could do something like: . if wants to use rL to index constant register . . if a0 is used somewhere in the shader . . then copy the content to temp. load rL to a0. do the op. restore a0 . . else copy rL to a0 and use it . else do nothing particular -- You are receiving this mail because: You are the assignee for the bug. --1416446274.dCCe0.23797 Date: Thu, 20 Nov 2014 01:17:54 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" changed bug 85696
What Removed Added
Keywords bisected, regression  
Summary [regression] r600g+nine: Bioshock shader failure after 7b1c0cbc90d456384b0950ad21faa3c61a6b43ff r600g+nine: Bioshock shader failure after 7b1c0cbc90d456384b0950ad21faa3c61a6b43ff

Comment # 4 on bug 85696 from
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).

Axel had idea we could do something like:

. if wants to use rL to index constant register
. . if a0 is used somewhere in the shader
. . then copy the content to temp. load rL to a0. do the op. restore a0
. . else copy rL to a0 and use it
. else do nothing particular


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