summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2011-05-13 02:26:08 +0200
committerMarek Olšák <[email protected]>2013-01-14 03:11:42 +0100
commit631c631cbf5b7e84e42a7cfffa1c206d63143370 (patch)
tree67ccec4c9c018d660b641d3b2b030769208c6346 /src
parent3f584c211a0587c4cf5e6d36275390cd7181b5c8 (diff)
r300g: allow HiZ with a 16-bit zbuffer
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/r300/r300_texture_desc.c1
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 590f6b9a467..cdb56cc1b5e 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;