anv: Remove some asserts.
They won't be true anymore once we add support for multiple BOs with non-userptr. Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
This commit is contained in:
@@ -133,9 +133,6 @@ genX(cmd_buffer_so_memcpy)(struct anv_cmd_buffer *cmd_buffer,
|
|||||||
if (size == 0)
|
if (size == 0)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
assert(dst.offset + size <= dst.bo->size);
|
|
||||||
assert(src.offset + size <= src.bo->size);
|
|
||||||
|
|
||||||
/* The maximum copy block size is 4 32-bit components at a time. */
|
/* The maximum copy block size is 4 32-bit components at a time. */
|
||||||
assert(size % 4 == 0);
|
assert(size % 4 == 0);
|
||||||
unsigned bs = gcd_pow2_u64(16, size);
|
unsigned bs = gcd_pow2_u64(16, size);
|
||||||
|
Reference in New Issue
Block a user