All of lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla-daemon@freedesktop.org
To: dri-devel@lists.freedesktop.org
Subject: [Bug 32945] [r300g] HyperZ: Wrong size in the HiZ clear packet causes the zbuffer not to be fully cleared
Date: Thu,  3 Mar 2011 12:52:57 -0800 (PST)	[thread overview]
Message-ID: <20110303205257.4A108130009@annarchy.freedesktop.org> (raw)
In-Reply-To: <bug-32945-502@http.bugs.freedesktop.org/>

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

--- Comment #20 from Marek Olšák <maraeo@gmail.com> 2011-03-03 12:52:56 PST ---
I can't fix this by myself, because I don't have your GPU. If you want to play
with it, here's how:

In mesa/src/gallium/drivers/r300, there is file r300_texture_desc.c. On lines
356 and 357, there are two arrays containing info how HiZ buffers should be
aligned:

static unsigned hiz_align_x[4] = {8, 32, 48, 32};
static unsigned hiz_align_y[4] = {8, 8, 8, 32};

The 3rd element in those arrays contains a number for your GPU (because your
GPU has 3 pipes). Currently the alignment is 48x8. Feel free to try a different
size, like 32x32, 64x64, 48x32, whatever comes to your mind.

If nothing helps, it means the alignment is right and the problem is somewhere
else.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

  parent reply	other threads:[~2011-03-03 20:52 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-09 21:55 [Bug 32945] New: Lower part of the screen corrupt with HyperZ enabled bugzilla-daemon
2011-01-09 23:07 ` [Bug 32945] " bugzilla-daemon
2011-01-10 16:00 ` bugzilla-daemon
2011-01-25  5:00 ` bugzilla-daemon
2011-01-25 14:32 ` bugzilla-daemon
2011-01-25 14:34 ` bugzilla-daemon
2011-01-25 15:54 ` bugzilla-daemon
2011-01-25 16:06 ` bugzilla-daemon
2011-01-25 16:33 ` bugzilla-daemon
2011-01-25 22:29 ` bugzilla-daemon
2011-01-25 22:55 ` bugzilla-daemon
2011-01-25 23:37 ` bugzilla-daemon
2011-01-26  0:38 ` bugzilla-daemon
2011-01-26 15:59 ` bugzilla-daemon
2011-01-28  0:10 ` bugzilla-daemon
2011-01-28 11:08 ` bugzilla-daemon
2011-01-28 12:38 ` bugzilla-daemon
2011-02-11  2:10 ` [Bug 32945] [r300g] HyperZ: Wrong size in the HiZ clear packet causes the zbuffer not to be fully cleared bugzilla-daemon
2011-03-01  0:34 ` bugzilla-daemon
2011-03-01 12:05 ` bugzilla-daemon
2011-03-01 12:06 ` bugzilla-daemon
2011-03-03 20:52 ` bugzilla-daemon [this message]
2011-03-06 22:07 ` bugzilla-daemon
2011-03-06 22:12 ` bugzilla-daemon
2011-03-07 20:01 ` [Bug 32945] [RADEON:KMS:R300G] " bugzilla-daemon
2011-03-07 20:41 ` [Bug 32945] [RADEON:KMS:R300G] HiZ: Weird behavior with 3 pipes bugzilla-daemon
2011-03-10 21:13 ` bugzilla-daemon
2011-03-11  3:40 ` bugzilla-daemon
2011-03-11 16:47 ` bugzilla-daemon
2011-03-11 19:33 ` 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=20110303205257.4A108130009@annarchy.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.