Mesa (master): r300g: allow HiZ with a 16-bit zbuffer

Marek Olšák mareko at kemper.freedesktop.org
Mon Jan 14 02:29:14 UTC 2013


Module: Mesa
Branch: master
Commit: 631c631cbf5b7e84e42a7cfffa1c206d63143370
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=631c631cbf5b7e84e42a7cfffa1c206d63143370

Author: Marek Olšák <maraeo at gmail.com>
Date:   Fri May 13 02:26:08 2011 +0200

r300g: allow HiZ with a 16-bit zbuffer

---

 src/gallium/drivers/r300/r300_texture_desc.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/src/gallium/drivers/r300/r300_texture_desc.c b/src/gallium/drivers/r300/r300_texture_desc.c
index 590f6b9..cdb56cc 100644
--- a/src/gallium/drivers/r300/r300_texture_desc.c
+++ b/src/gallium/drivers/r300/r300_texture_desc.c
@@ -349,7 +349,6 @@ static void r300_setup_hyperz_properties(struct r300_screen *screen,
     static unsigned hiz_align_y[4] = {8, 8, 8, 32};
 
     if (util_format_is_depth_or_stencil(tex->b.b.format) &&
-        util_format_get_blocksizebits(tex->b.b.format) == 32 &&
         tex->tex.microtile) {
         unsigned i, pipes;
 




More information about the mesa-commit mailing list