zink: move gfx pipeline creation closer to the bind point
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Wed, 16 Sep 2020 18:49:12 +0000 (14:49 -0400)
committerMarge Bot <eric+marge@anholt.net>
Tue, 23 Feb 2021 01:17:38 +0000 (01:17 +0000)
commitb1843879c1a2efdf4396234bde1ca352b5b2a512
tree7c28656cd7cd4ef8aaf92ddcd7c64f28840639ca
parent1f5cd19ac9d247367333d0b015a073f2617a9d34
zink: move gfx pipeline creation closer to the bind point

ensure that the renderpass has already been started by this point so
we have a valid object

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