dzn: Mark transition barriers as executed when we execute barriers
authorBoris Brezillon <boris.brezillon@collabora.com>
Thu, 30 Jun 2022 12:06:01 +0000 (05:06 -0700)
committerMarge Bot <emma+marge@anholt.net>
Fri, 1 Jul 2022 09:42:58 +0000 (09:42 +0000)
commita577acf8f617e29a29c13b8a0ef1d9665544fa39
treebdd8877c2674e6ea3419477585d39ca2b5e98886
parentc06926f694c1b6f8e7c09b06838e57be6c08ff5a
dzn: Mark transition barriers as executed when we execute barriers

It was previously done dzn_cmd_buffer_flush_transition_barriers(),
leaving the queue+flush case unhandled. Let's fix that by moving
this piece of code to dzn_cmd_buffer_exec_transition_barriers().

Fixes: 35356b1173e ("dzn: Cache and pack transition barriers")
Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17314>
src/microsoft/vulkan/dzn_cmd_buffer.c