dri-devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla-daemon@freedesktop.org
To: dri-devel@lists.freedesktop.org
Subject: [Bug 84977] r300/compiler: register allocation pass generate invalid swizzle for r300/r400
Date: Tue, 28 Oct 2014 21:56:23 +0000	[thread overview]
Message-ID: <bug-84977-502-P15B84wixc@http.bugs.freedesktop.org/> (raw)
In-Reply-To: <bug-84977-502@http.bugs.freedesktop.org/>


[-- Attachment #1.1: Type: text/plain, Size: 1273 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=84977

--- Comment #11 from David Heidelberger (okias) <david.heidelberger@ixit.cz> ---
Created attachment 108592
  --> https://bugs.freedesktop.org/attachment.cgi?id=108592&action=edit
r300_regalloc-separated_workaround.txt

I made separeted workaround with line 

if (writemask == 12) can_change_writemask = 0;

$ diff -Naur r300_regalloc.txt r300_regalloc-separated_workaround.txt 
--- r300_regalloc.txt   2014-10-28 22:54:13.673516366 +0100
+++ r300_regalloc-separated_workaround.txt      2014-10-28 22:54:05.065450759
+0100
@@ -64,10 +64,10 @@
  25: src0.w = temp[5]
      LG2 temp[5].w, src0.w
  26: src0.xyz = temp[5], src0.w = temp[6], src1.xyz = temp[3]
-     MAD temp[6].x, src0.y__, src1.x__, -src0.H__
+     MAD temp[6].z, src0.__y, src1.__x, -src0.__H
      MAD temp[6].w, src0.x, src0.w, -src0.H
  27: src0.xyz = temp[5], src0.w = temp[5], src1.xyz = temp[6], src1.w =
temp[6], src2.xyz = const[4]
-     MAD temp[3].xy, src0.xy_, src1.wx_, src0.11_
+     MAD temp[3].xy, src0.xy_, src1.wz_, src0.11_
      MAD temp[5].w, src0.w, src2.x, src0.0
  28: src0.xyz = temp[3], src0.w = temp[4]
      MAD temp[3].x, -src0.x__, src0.1__, src0.y__

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 2303 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

  parent reply	other threads:[~2014-10-28 21:56 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-14  8:31 [Bug 84977] New: r300/compiler: register allocation pass generate invalid swizzle for r300/r400 bugzilla-daemon
2014-10-14  8:33 ` [Bug 84977] " bugzilla-daemon
2014-10-14  8:34 ` bugzilla-daemon
2014-10-14 17:07 ` bugzilla-daemon
2014-10-14 22:11 ` bugzilla-daemon
2014-10-15 13:55 ` bugzilla-daemon
2014-10-15 21:51 ` bugzilla-daemon
2014-10-17 14:07 ` bugzilla-daemon
2014-10-18 10:07 ` bugzilla-daemon
2014-10-28 11:02 ` bugzilla-daemon
2014-10-28 11:18 ` bugzilla-daemon
2014-10-28 21:56 ` bugzilla-daemon [this message]
2019-09-18 18:52 ` bugzilla-daemon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-84977-502-P15B84wixc@http.bugs.freedesktop.org/ \
    --to=bugzilla-daemon@freedesktop.org \
    --cc=dri-devel@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox