projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a3523e
)
u_blitter: remove bogus assertion
author
Marek Olšák
<maraeo@gmail.com>
Tue, 25 Jan 2011 04:36:35 +0000
(
05:36
+0100)
committer
Marek Olšák
<maraeo@gmail.com>
Tue, 25 Jan 2011 04:51:49 +0000
(
05:51
+0100)
The module uses the 3D engine, so it can blit non-compatible formats.
src/gallium/auxiliary/util/u_blitter.c
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/util/u_blitter.c
b/src/gallium/auxiliary/util/u_blitter.c
index a98af4c6033aa3e4b279a723069119334b64d1b6..e72f267f53d672637746ec0e601bae4db99a0d02 100644
(file)
--- 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 */