i965: Use batch->bo->size in brw_emit_reloc assertion.
authorKenneth Graunke <kenneth@whitecape.org>
Wed, 30 Aug 2017 08:04:48 +0000 (01:04 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 14 Sep 2017 23:17:36 +0000 (16:17 -0700)
commit343aa09a22ea61c4d2177eb5b19bce1b5c24292c
tree7e0ff706abcf2dbec4f0e5a4001b3effbe3ee379
parentd1245211417c092bd1c12339559caced98d7560f
i965: Use batch->bo->size in brw_emit_reloc assertion.

This makes the assertion safe against batchbuffers growing.

Reviewed-by: Matt Turner <mattst88@gmail.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
src/mesa/drivers/dri/i965/intel_batchbuffer.c