summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMichal Krol <[email protected]>2010-01-15 17:42:38 +0100
committerMichal Krol <[email protected]>2010-01-15 19:00:11 +0100
commit1433a2d9358dc869d8849deaa0ab7bf7d285b34e (patch)
treee823a0b9d4fe39c479e8e1566d161e0dcbfdeb81 /src
parentd29e72633c4377a6f121ec75f0b41fcf6b8548df (diff)
util: Handle the remaining formats in pipe_put_tile_rgba().
Diffstat (limited to 'src')
-rw-r--r--src/gallium/auxiliary/util/u_tile.c5
1 files changed, 4 insertions, 1 deletions
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);