diff options
author | Luca Barbieri <[email protected]> | 2010-08-21 12:45:39 +0200 |
---|---|---|
committer | Luca Barbieri <[email protected]> | 2010-08-21 12:45:39 +0200 |
commit | 061c2a7cb3924f1983554aa1d53b78238196c412 (patch) | |
tree | db570e80f4634338e7439eb864aad21d2ce93632 /src/gallium/auxiliary | |
parent | fa32fde26cbb770c6ffa0a0ead529d511eab1eb1 (diff) |
u_debug_describe: add PIPE_TEXTURE_RECT
Diffstat (limited to 'src/gallium/auxiliary')
-rw-r--r-- | src/gallium/auxiliary/util/u_debug_describe.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/util/u_debug_describe.c b/src/gallium/auxiliary/util/u_debug_describe.c index 52bbf53be3c..f21ebd02f55 100644 --- a/src/gallium/auxiliary/util/u_debug_describe.c +++ b/src/gallium/auxiliary/util/u_debug_describe.c @@ -44,6 +44,8 @@ debug_describe_resource(char* buf, const struct pipe_resource *ptr) util_sprintf(buf, "pipe_texture1d<%u,%s,%u>", ptr->width0, util_format_short_name(ptr->format), ptr->last_level); else if(ptr->target == PIPE_TEXTURE_2D) util_sprintf(buf, "pipe_texture2d<%u,%u,%s,%u>", ptr->width0, ptr->height0, util_format_short_name(ptr->format), ptr->last_level); + else if(ptr->target == PIPE_TEXTURE_RECT) + util_sprintf(buf, "pipe_texture_rect<%u,%u,%s>", ptr->width0, ptr->height0, util_format_short_name(ptr->format)); else if(ptr->target == PIPE_TEXTURE_CUBE) util_sprintf(buf, "pipe_texture_cube<%u,%u,%s,%u>", ptr->width0, ptr->height0, util_format_short_name(ptr->format), ptr->last_level); else if(ptr->target == PIPE_TEXTURE_3D) |