zink: move batch decl to top of draw_vbo
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Tue, 11 May 2021 17:49:42 +0000 (13:49 -0400)
committerMarge Bot <eric+marge@anholt.net>
Wed, 16 Jun 2021 05:00:43 +0000 (05:00 +0000)
commit38119e4e7d58a3472eae88715c60f6520a568f25
tree62e37ea1bbb667a2157a412da2bd8089985ccd02
parent83b1d937a73d33cf8ca07435e26207d630214846
zink: move batch decl to top of draw_vbo

this may still change during descriptor updating, but having the pointer
earlier is helpful

Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11408>
src/gallium/drivers/zink/zink_draw.c