i965: Simplify some bo != batch->bo special cases.
authorKenneth Graunke <kenneth@whitecape.org>
Thu, 3 Aug 2017 06:58:07 +0000 (23:58 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Fri, 4 Aug 2017 17:26:37 +0000 (10:26 -0700)
commit68d611ed8e62fd3b166c52bbfcb96730ae1459c0
tree7c563faf74e46c79dcdf153b03717cec8eebce54
parent29ba502a4e28471f67e4e904ae503157087efd20
i965: Simplify some bo != batch->bo special cases.

Extracted from a patch by Chris Wilson.

Now that the batch is always at the front of the validation list,
we don't need to special case it - the usual "go find an existing BO"
code will work just fine.
src/mesa/drivers/dri/i965/intel_batchbuffer.c