<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - HyperZ is broken for r300 (bad z for some micro and macrotiles?)"
href="https://bugs.freedesktop.org/show_bug.cgi?id=110897#c28">Comment # 28</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - HyperZ is broken for r300 (bad z for some micro and macrotiles?)"
href="https://bugs.freedesktop.org/show_bug.cgi?id=110897">bug 110897</a>
from <span class="vcard"><a class="email" href="mailto:u9vata@gmail.com" title="Richard Thier <u9vata@gmail.com>"> <span class="fn">Richard Thier</span></a>
</span></b>
<pre>I still see the glitches with the following changes:
@@ -364,11 +369,21 @@ static void r300_clear(struct pipe_context* pipe,
/* Clear. */
if (buffers) {
/* Clear using the blitter. */
+
+ /* FIXME: Twoline HACKZ TO SAVE FLAGS THAT blitter_clear clears */
+ bool tmp_zmask_clear_dirty = r300->zmask_clear.dirty;
+ bool tmp_hiz_clear_dirty = r300->hiz_clear.dirty;
+
r300_blitter_begin(r300, R300_CLEAR);
util_blitter_clear(r300->blitter, width, height, 1,
buffers, color, depth, stencil);
+ /* FIXME: two lines of hack! */
+ r300->zmask_clear.dirty = tmp_zmask_clear_dirty;
+ r300->hiz_clear.dirty = tmp_hiz_clear_dirty;
+
r300_blitter_end(r300);
- } else if (r300->zmask_clear.dirty ||
+/* TIPP: here maybe not else if, just an if should be present??? */
+ } /*else*/ if (r300->zmask_clear.dirty ||
r300->hiz_clear.dirty ||
r300->cmask_clear.dirty) {
Even though we are now entering the things after this if and go where the zram
clear emit is. Maybe this is not the problem...</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>