r300g: print some HyperZ debug info
This commit is contained in:
parent
fc48de4fab
commit
9a3f861faf
|
@ -234,6 +234,9 @@ static void r300_clear(struct pipe_context* pipe,
|
||||||
|
|
||||||
/* Setup Hyper-Z clears. */
|
/* Setup Hyper-Z clears. */
|
||||||
if (r300->hyperz_enabled) {
|
if (r300->hyperz_enabled) {
|
||||||
|
DBG(r300, DBG_HYPERZ, "r300: Clear memory: %s%s\n",
|
||||||
|
zmask_clear ? "ZMASK " : "", hiz_clear ? "HIZ" : "");
|
||||||
|
|
||||||
if (zmask_clear) {
|
if (zmask_clear) {
|
||||||
hyperz_dcv = hyperz->zb_depthclearvalue =
|
hyperz_dcv = hyperz->zb_depthclearvalue =
|
||||||
r300_depth_clear_value(fb->zsbuf->format, depth, stencil);
|
r300_depth_clear_value(fb->zsbuf->format, depth, stencil);
|
||||||
|
|
|
@ -195,6 +195,7 @@ static void r300_update_hyperz(struct r300_context* r300)
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
DBG(r300, DBG_HYPERZ, "r300: Z-func: %i\n", dsa->dsa.depth.func);
|
||||||
|
|
||||||
/* Set the HiZ function if needed. */
|
/* Set the HiZ function if needed. */
|
||||||
if (r300->hiz_func == HIZ_FUNC_NONE) {
|
if (r300->hiz_func == HIZ_FUNC_NONE) {
|
||||||
|
|
Loading…
Reference in New Issue