intel: Assert that relocation offsets are within the target
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 2 Oct 2009 18:46:03 +0000 (19:46 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Sat, 3 Oct 2009 22:06:39 +0000 (23:06 +0100)
commit470ec8d42e1941c0ad773084693323f96a83e64d
treecd34832f89e51267f5252ecc8717e9075a0b3b7d
parentcbb57bf726619a34a244acaebf0dcd77750cba54
intel: Assert that relocation offsets are within the target

This should catch the common programming error where we attempt to
emit a relocation to beyond the end of the target buffer.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
src/mesa/drivers/dri/intel/intel_batchbuffer.h