diff options
author | Marek Olšák <[email protected]> | 2011-01-28 01:01:01 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2011-01-28 01:04:51 +0100 |
commit | 2050f2ab96f923112d3475a655b31c8f5145a800 (patch) | |
tree | 620884683ee9c64212168d4d986661e82d16d1bf /src/gallium/drivers/r300/r300_chipset.c | |
parent | 82e60236a950100bda7e00308c9b57861274608c (diff) |
r300g: fix and re-enable 8x8 zbuffer compression mode
Also cleanup the whole thing.
Diffstat (limited to 'src/gallium/drivers/r300/r300_chipset.c')
-rw-r--r-- | src/gallium/drivers/r300/r300_chipset.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gallium/drivers/r300/r300_chipset.c b/src/gallium/drivers/r300/r300_chipset.c index 15dc6d09eeb..593eadb9c7d 100644 --- a/src/gallium/drivers/r300/r300_chipset.c +++ b/src/gallium/drivers/r300/r300_chipset.c @@ -424,7 +424,6 @@ void r300_parse_chipset(struct r300_capabilities* caps) } caps->is_rv350 = caps->family >= CHIP_FAMILY_RV350; - /* XXX The 8x8 compression mode doesn't always work (piglit/fbo-depth fails). */ - caps->z_compress = /*caps->is_rv350 ? R300_ZCOMP_8X8 :*/ R300_ZCOMP_4X4; + caps->z_compress = caps->is_rv350 ? R300_ZCOMP_8X8 : R300_ZCOMP_4X4; caps->dxtc_swizzle = caps->is_r400 || caps->is_r500; } |