iris: Handle batch submission failure "better"
authorKenneth Graunke <kenneth@whitecape.org>
Sat, 23 Jun 2018 19:13:03 +0000 (12:13 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 21 Feb 2019 18:26:07 +0000 (10:26 -0800)
commit8c54433275a55887925c553d696b6981424f98ac
treeb09a836b2f4957490b251b99c28043c408703d5e
parentd0b55ca78234fd4ff147407d5731b04c691eb3d5
iris: Handle batch submission failure "better"

We used to not reset the batch, and just keep appending to it, so you'd
get the same invalid contents over and over.

I'd also really like to know about this, so aborting seems wise for now,
if not for the long term
src/gallium/drivers/iris/iris_batch.c