Mesa (master): etnaviv: etna_resource_copy_region(..): drop assert
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Fri Sep 27 18:49:08 UTC 2019
Module: Mesa
Branch: master
Commit: fd1ed6f4f81347aa5ab87c4eb0eadab01fe5f0a5
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=fd1ed6f4f81347aa5ab87c4eb0eadab01fe5f0a5
Author: Christian Gmeiner <christian.gmeiner at gmail.com>
Date: Fri Sep 27 13:08:24 2019 +0200
etnaviv: etna_resource_copy_region(..): drop assert
We are using util_resource_copy_region(..) as fallback which supports
different formats for src and dst. Improves the experience when running
deqp or piglit with a debug build.
Signed-off-by: Christian Gmeiner <christian.gmeiner at gmail.com>
Reviewed-by: Jonathan Marek <jonathan at marek.ca>
---
src/gallium/drivers/etnaviv/etnaviv_clear_blit.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/src/gallium/drivers/etnaviv/etnaviv_clear_blit.c b/src/gallium/drivers/etnaviv/etnaviv_clear_blit.c
index df12e609ac9..4a3f62ac133 100644
--- a/src/gallium/drivers/etnaviv/etnaviv_clear_blit.c
+++ b/src/gallium/drivers/etnaviv/etnaviv_clear_blit.c
@@ -114,9 +114,6 @@ etna_resource_copy_region(struct pipe_context *pctx, struct pipe_resource *dst,
{
struct etna_context *ctx = etna_context(pctx);
- /* The resource must be of the same format. */
- assert(src->format == dst->format);
-
/* XXX we can use the RS as a literal copy engine here
* the only complexity is tiling; the size of the boxes needs to be aligned
* to the tile size
More information about the mesa-commit
mailing list