util: Handle the remaining formats in pipe_put_tile_rgba().

This commit is contained in:
Michal Krol
2010-01-15 17:42:38 +01:00
parent d29e72633c
commit 1433a2d935
+4 -1
View File
@@ -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);