From 6a1f4c96ccaf53b42d3e9d2320318f23cfd805c3 Mon Sep 17 00:00:00 2001 From: Rafael Antognolli Date: Wed, 21 Nov 2018 11:41:12 -0800 Subject: anv: Remove some asserts. They won't be true anymore once we add support for multiple BOs with non-userptr. Reviewed-by: Jason Ekstrand --- src/intel/vulkan/genX_gpu_memcpy.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/intel') 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); -- cgit v1.2.3