r300g: allow HiZ with a 16-bit zbuffer
authorMarek Olšák <maraeo@gmail.com>
Fri, 13 May 2011 00:26:08 +0000 (02:26 +0200)
committerMarek Olšák <maraeo@gmail.com>
Mon, 14 Jan 2013 02:11:42 +0000 (03:11 +0100)
src/gallium/drivers/r300/r300_texture_desc.c

index 590f6b9a467b63069343b7455e9361dee8493de4..cdb56cc1b5e14feed74e537f2e4f29e71b55a536 100644 (file)
@@ -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;