iris: don't mark contains_draw = false when chaining batches
authorKenneth Graunke <kenneth@whitecape.org>
Wed, 3 Oct 2018 03:09:01 +0000 (20:09 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 21 Feb 2019 18:26:09 +0000 (10:26 -0800)
commit822f91508e7459d8b367be266d5fb8c5ce3e6b65
treee50f925f813e6219f4a0ba31694693689bc80cf6
parent294ce58a30d16b4780055ed3c66acc5ecfa1e814
iris: don't mark contains_draw = false when chaining batches

chaining to a new batch reuses create_batch(), but we don't need to do
the work of pinning BOs we inherit from a previous batch...when that is
actually part of the same execbuf invocation.

instead, just flag it when setting primary_batch_size = 0, in
iris_batch_reset
src/gallium/drivers/iris/iris_batch.c