zink: cleanup zink_end_batch
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Wed, 10 Jul 2019 10:40:01 +0000 (12:40 +0200)
committerErik Faye-Lund <erik.faye-lund@collabora.com>
Mon, 28 Oct 2019 08:51:45 +0000 (08:51 +0000)
commit03efb6dd27b9ad8aafc8d06a4b8bd338fa850f89
treec4074a22b85cf71ccc885409df2a36a31b29b5b7
parent8edd357795bf71c98bca73de34d962ddbaacccc4
zink: cleanup zink_end_batch

This inlines submit_cmdbuf into zink_end_batch, the only place it's
used. This makes the code a bit more straight-forward to read.

Acked-by: Jordan Justen <jordan.l.justen@intel.com>
src/gallium/drivers/zink/zink_batch.c