From: Michal Krol Date: Fri, 15 Jan 2010 16:42:38 +0000 (+0100) Subject: util: Handle the remaining formats in pipe_put_tile_rgba(). X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1433a2d9358dc869d8849deaa0ab7bf7d285b34e;p=mesa.git util: Handle the remaining formats in pipe_put_tile_rgba(). --- diff --git a/src/gallium/auxiliary/util/u_tile.c b/src/gallium/auxiliary/util/u_tile.c index 1ba82bb21f0..f9936eb1cb2 100644 --- a/src/gallium/auxiliary/util/u_tile.c +++ b/src/gallium/auxiliary/util/u_tile.c @@ -1357,7 +1357,10 @@ pipe_put_tile_rgba(struct pipe_transfer *pt, /*z24s8_put_tile_rgba((unsigned *) packed, w, h, p, src_stride);*/ break; default: - debug_printf("%s: unsupported format %s\n", __FUNCTION__, pf_name(format)); + util_format_write_4f(format, + p, src_stride * sizeof(float), + packed, util_format_get_stride(format, w), + 0, 0, w, h); } pipe_put_tile_raw(pt, x, y, w, h, packed, 0);