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@gmail.com> Reviewed-by: Jonathan Marek <jonathan@marek.ca>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user