diff options
author | Eric Anholt <[email protected]> | 2016-10-05 14:22:09 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2016-10-06 18:09:24 -0700 |
commit | 8810270d066eced5261ab407e2be4e902b102671 (patch) | |
tree | 64ea26a74ef7382ca2f98f25e53405728158969b /src/gallium/drivers | |
parent | ee577e7fa76d3f563616a2d421d08df30c3bc29f (diff) |
vc4: Add the format name in miptree_debug.
I was curious if my Z/S buffer was actually ZS or ZX, and the vc4 format
of "0" didn't tell me much.
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r-- | src/gallium/drivers/vc4/vc4_resource.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gallium/drivers/vc4/vc4_resource.c b/src/gallium/drivers/vc4/vc4_resource.c index 9932bb30438..5f8b6b0f715 100644 --- a/src/gallium/drivers/vc4/vc4_resource.c +++ b/src/gallium/drivers/vc4/vc4_resource.c @@ -419,9 +419,11 @@ vc4_setup_slices(struct vc4_resource *rsc) [VC4_TILING_FORMAT_T] = 'T' }; fprintf(stderr, - "rsc setup %p (format %d), %dx%d: " + "rsc setup %p (format %s: vc4 %d), %dx%d: " "level %d (%c) -> %dx%d, stride %d@0x%08x\n", - rsc, rsc->vc4_format, + rsc, + util_format_short_name(prsc->format), + rsc->vc4_format, prsc->width0, prsc->height0, i, tiling_chars[slice->tiling], level_width, level_height, |