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

Author: Marek Olšák <[email protected]>
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;
 

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to