zink: move xfb updates to just before draw
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Thu, 16 Sep 2021 03:47:30 +0000 (23:47 -0400)
committerMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Thu, 16 Sep 2021 03:52:32 +0000 (23:52 -0400)
commit80604fee4a55b6f5c62822c0c1d237d2e2481f54
treea42a1710ccdb387698098fd0b26e3dd128dff11a
parentff5991e86acd2336c7fdb6b303ee47d1abbb7429
zink: move xfb updates to just before draw

it's illegal to bind the pipeline after xfb has begun

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