mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 19:40:10 +01:00
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:
parent
f39dad7e4e
commit
6a1f4c96cc
1 changed files with 0 additions and 3 deletions
|
|
@ -133,9 +133,6 @@ genX(cmd_buffer_so_memcpy)(struct anv_cmd_buffer *cmd_buffer,
|
|||
if (size == 0)
|
||||
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. */
|
||||
assert(size % 4 == 0);
|
||||
unsigned bs = gcd_pow2_u64(16, size);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue