Module: Mesa Branch: master Commit: fd1ed6f4f81347aa5ab87c4eb0eadab01fe5f0a5 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=fd1ed6f4f81347aa5ab87c4eb0eadab01fe5f0a5
Author: Christian Gmeiner <[email protected]> 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 <[email protected]> Reviewed-by: Jonathan Marek <[email protected]> --- 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 _______________________________________________ mesa-commit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-commit
