<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - r300/compiler: register allocation pass generate invalid swizzle for r300/r400"
href="https://bugs.freedesktop.org/show_bug.cgi?id=84977#c11">Comment # 11</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - r300/compiler: register allocation pass generate invalid swizzle for r300/r400"
href="https://bugs.freedesktop.org/show_bug.cgi?id=84977">bug 84977</a>
from <span class="vcard"><a class="email" href="mailto:david.heidelberger@ixit.cz" title="David Heidelberger (okias) <david.heidelberger@ixit.cz>"> <span class="fn">David Heidelberger (okias)</span></a>
</span></b>
<pre>Created <span class=""><a href="attachment.cgi?id=108592" name="attach_108592" title="r300_regalloc-separated_workaround.txt">attachment 108592</a> <a href="attachment.cgi?id=108592&action=edit" title="r300_regalloc-separated_workaround.txt">[details]</a></span>
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__</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>