Module: Mesa
Branch: 9.1
Commit: b5477f1b3fbdf2c224a6cf7fc8a30c2a3eedab74
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=b5477f1b3fbdf2c224a6cf7fc8a30c2a3eedab74

Author: Marek Olšák <mar...@gmail.com>
Date:   Mon Jul 15 23:39:39 2013 +0200

Revert "r300g: allow HiZ with a 16-bit zbuffer"

This reverts commit 631c631cbf5b7e84e42a7cfffa1c206d63143370.

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

Cc: mesa-sta...@lists.freedesktop.org
(cherry picked from commit a882067d74840ab87e35018bca53081f8deb460b)

---

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

diff --git a/src/gallium/drivers/r300/r300_texture_desc.c 
b/src/gallium/drivers/r300/r300_texture_desc.c
index 6d64528..bfacdc4 100644
--- a/src/gallium/drivers/r300/r300_texture_desc.c
+++ b/src/gallium/drivers/r300/r300_texture_desc.c
@@ -349,6 +349,7 @@ 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;
 

_______________________________________________
mesa-commit mailing list
mesa-commit@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to