diff options
author | Brian Paul <[email protected]> | 2017-04-10 13:51:48 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2017-04-26 11:37:59 -0600 |
commit | 0f236ea785d4d7664c3170e5f575f7c25bcfc5a0 (patch) | |
tree | c100ea78732aef2e072467b84397de71f728f65b | |
parent | 943f4f47e0d69aeed531bf24475f429c1b2ec215 (diff) |
svga: improve surface view debug messages
The old ones were somewhat cryptic.
Reviewed-by: Charmaine Lee <[email protected]>
-rw-r--r-- | src/gallium/drivers/svga/svga_surface.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/gallium/drivers/svga/svga_surface.c b/src/gallium/drivers/svga/svga_surface.c index bbd31c63c8c..486d900e117 100644 --- a/src/gallium/drivers/svga/svga_surface.c +++ b/src/gallium/drivers/svga/svga_surface.c @@ -295,7 +295,8 @@ svga_create_surface_view(struct pipe_context *pipe, assert(format != SVGA3D_FORMAT_INVALID); if (view) { - SVGA_DBG(DEBUG_VIEWS, "svga: Surface view: yes %p, level %u layer %u z %u, %p\n", + SVGA_DBG(DEBUG_VIEWS, + "New backed surface view: resource %p, level %u layer %u z %u, %p\n", pt, surf_tmpl->u.tex.level, layer, zslice, s); if (svga_have_vgpu10(svga)) { @@ -339,7 +340,7 @@ svga_create_surface_view(struct pipe_context *pipe, s->real_zslice = 0; } else { SVGA_DBG(DEBUG_VIEWS, - "svga: Surface view: no %p, level %u, layer %u, z %u, %p\n", + "New surface view: resource %p, level %u, layer %u, z %u, %p\n", pt, surf_tmpl->u.tex.level, layer, zslice, s); memset(&s->key, 0, sizeof s->key); @@ -714,8 +715,8 @@ svga_propagate_surface(struct svga_context *svga, struct pipe_surface *surf, } SVGA_DBG(DEBUG_VIEWS, - "svga: Surface propagate: tex %p, level %u, from %p\n", - tex, surf->u.tex.level, surf); + "Propagate surface %p to resource %p, level %u\n", + surf, tex, surf->u.tex.level); for (i = 0; i < nlayers; i++) { svga_texture_copy_handle(svga, s->handle, 0, 0, 0, s->real_level, |