i965: Preserve EXEC_OBJECT_CAPTURE when growing the BO.
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 28 Nov 2017 16:59:07 +0000 (08:59 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 30 Nov 2017 01:30:35 +0000 (17:30 -0800)
commit52d32917e1f3f70abcbcff5508f7423e94626b41
treee1cf8e1c227e8c35c423676475e36747001941d0
parent2af70854609509adf5dc92af2fcf1c30938e2a5d
i965: Preserve EXEC_OBJECT_CAPTURE when growing the BO.

The original state buffer was marked with EXEC_OBJECT_CAPTURE.  When
growing it, we want to preserve that flag so we continue to capture it
in GPU hang reports.

Fixes: 2dfc119f22f257082ab0 "i965: Grow the batch/state buffers if we need space and can't flush."
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/drivers/dri/i965/intel_batchbuffer.c