Module: Mesa
Branch: master
Commit: f571a569a03edc66ecd76d67f10db0a4bb600a40
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=f571a569a03edc66ecd76d67f10db0a4bb600a40

Author: Marek Olšák <[email protected]>
Date:   Wed Jun  9 20:22:27 2010 +0200

r300g: debug output texture size

---

 src/gallium/drivers/r300/r300_texture.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/gallium/drivers/r300/r300_texture.c 
b/src/gallium/drivers/r300/r300_texture.c
index c95a3f7..4ca8ce0 100644
--- a/src/gallium/drivers/r300/r300_texture.c
+++ b/src/gallium/drivers/r300/r300_texture.c
@@ -966,11 +966,12 @@ struct pipe_resource* r300_texture_create(struct 
pipe_screen* screen,
 
     SCREEN_DBG(rscreen, DBG_TEX,
                "r300: texture_create: Macro: %s, Micro: %s, Pitch: %i, "
-               "Dim: %ix%ix%i, LastLevel: %i, Format: %s\n",
+               "Dim: %ix%ix%i, LastLevel: %i, Size: %i, Format: %s\n",
                tex->macrotile ? "YES" : " NO",
                tex->microtile ? "YES" : " NO",
                tex->hwpitch[0],
                base->width0, base->height0, base->depth0, base->last_level,
+               tex->size,
                util_format_short_name(base->format));
 
     tex->domain = base->flags & R300_RESOURCE_FLAG_TRANSFER ? R300_DOMAIN_GTT :

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to