i965/blit: Remove a bogus assertion
authorJason Ekstrand <jason.ekstrand@intel.com>
Mon, 24 Oct 2016 21:27:32 +0000 (14:27 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Thu, 27 Oct 2016 21:43:24 +0000 (14:43 -0700)
commit174f4900b294f939c85cfa94f5d8401ce73e5522
tree75a2c55dacaa065069583879ca5b02f55073474b
parent6da814960138c6ccc829c4652d1a781e15465523
i965/blit: Remove a bogus assertion

This assertion, while valid for linear buffers, doesn't work properly for
tiled memory.  It used to work most of the time because the offset provided
was always to the left-hand edge of the image.  However, if you use a byte
offset to get to the inside of the image, the height * stride calculation
may actually end up being too large.

Signed-off-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
src/mesa/drivers/dri/i965/intel_blit.c