r300g: fix printing whether Z compression is enabled

This commit is contained in:
Marek Olšák 2011-02-28 22:57:50 +01:00
parent ebf69f2c50
commit 2f665885cd
1 changed files with 2 additions and 1 deletions

View File

@ -519,7 +519,8 @@ struct pipe_context* r300_create_context(struct pipe_screen* screen,
rws->get_value(rws, R300_VID_GART_SIZE) >> 20,
rws->get_value(rws, R300_VID_VRAM_SIZE) >> 20,
rws->get_value(rws, R300_CAN_AACOMPRESS) ? "YES" : "NO",
rws->get_value(rws, R300_CAN_HYPERZ) ? "YES" : "NO",
rws->get_value(rws, R300_CAN_HYPERZ) &&
r300->screen->caps.zmask_ram ? "YES" : "NO",
rws->get_value(rws, R300_CAN_HYPERZ) &&
r300->screen->caps.hiz_ram ? "YES" : "NO");
}