summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2011-01-25 05:36:35 +0100
committerMarek Olšák <[email protected]>2011-01-25 05:51:49 +0100
commit02d7d9ec363c7955105497c518296630cf2b638a (patch)
tree79436464dc44972c2fc61b0f44932492b674b976 /src/gallium
parent9a3523e38b8703211829a666661e8cbffdb0936f (diff)
u_blitter: remove bogus assertion
The module uses the 3D engine, so it can blit non-compatible formats.
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/auxiliary/util/u_blitter.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/gallium/auxiliary/util/u_blitter.c b/src/gallium/auxiliary/util/u_blitter.c
index a98af4c6033..e72f267f53d 100644
--- a/src/gallium/auxiliary/util/u_blitter.c
+++ b/src/gallium/auxiliary/util/u_blitter.c
@@ -750,9 +750,6 @@ void util_blitter_copy_region(struct blitter_context *blitter,
if (dst == src) {
assert(!is_overlap(srcbox->x, srcbox->x + width, srcbox->y, srcbox->y + height,
dstx, dstx + width, dsty, dsty + height));
- } else {
- assert(util_is_format_compatible(util_format_description(src->format),
- util_format_description(dst->format)));
}
assert(src->target < PIPE_MAX_TEXTURE_TYPES);
/* XXX should handle 3d regions */