[Mesa-dev] [PATCH v3 0/2] fix batchbuffer restoring/saving api
asimiklit.work at gmail.com
asimiklit.work at gmail.com
Wed Sep 12 16:05:43 UTC 2018
From: Andrii Simiklit <andrii.simiklit at globallogic.com>
If due to some reasons the last saved batch is empty and we
restoring batch using this empty batch we have to call 'brw_new_batch'
to properly reset all fields of it or we can just avoid this restoring
to prevent incorrect state of the batch.
Andrii Simiklit (2):
i965/batch: avoid reverting batch buffer if saved state is an empty
i965/batch: don't ignore the 'brw_new_batch' call for a 'new batch'
src/mesa/drivers/dri/i965/brw_compute.c | 3 ++-
src/mesa/drivers/dri/i965/brw_draw.c | 3 ++-
src/mesa/drivers/dri/i965/genX_blorp_exec.c | 3 ++-
src/mesa/drivers/dri/i965/intel_batchbuffer.c | 11 +++++++++++
src/mesa/drivers/dri/i965/intel_batchbuffer.h | 1 +
5 files changed, 18 insertions(+), 3 deletions(-)
--
2.7.4
More information about the mesa-dev
mailing list