From: Rafael Antognolli Date: Wed, 21 Nov 2018 19:41:12 +0000 (-0800) Subject: anv: Remove some asserts. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6a1f4c96ccaf53b42d3e9d2320318f23cfd805c3;p=mesa.git anv: Remove some asserts. They won't be true anymore once we add support for multiple BOs with non-userptr. Reviewed-by: Jason Ekstrand --- 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);