diff options
author | Rafael Antognolli <[email protected]> | 2018-11-21 11:41:12 -0800 |
---|---|---|
committer | Rafael Antognolli <[email protected]> | 2019-01-17 15:08:14 -0800 |
commit | 6a1f4c96ccaf53b42d3e9d2320318f23cfd805c3 (patch) | |
tree | 5395fc47bead74854c2f70562554355740db40a4 /src | |
parent | f39dad7e4e13af9c6b3442c4b8e7498bc5c9f8db (diff) |
anv: Remove some asserts.
They won't be true anymore once we add support for multiple BOs with
non-userptr.
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/intel/vulkan/genX_gpu_memcpy.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/intel/vulkan/genX_gpu_memcpy.c b/src/intel/vulkan/genX_gpu_memcpy.c index ea35daa4126..8f3700c80e3 100644 --- a/src/intel/vulkan/genX_gpu_memcpy.c +++ b/src/intel/vulkan/genX_gpu_memcpy.c @@ -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); |