aux/tc: fix rp info handling around tc_sync calls
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Thu, 14 Sep 2023 15:40:29 +0000 (11:40 -0400)
committerMarge Bot <emma+marge@anholt.net>
Fri, 15 Sep 2023 02:30:32 +0000 (02:30 +0000)
commit81dd39de0198d1cd4497c7553da5e2347528e2a2
treec1241798f7dbcb49b953b066f3963c922a64cef8
parentc9b7639a7dc88f677aebc190f2474af26fa36f8a
aux/tc: fix rp info handling around tc_sync calls

if a set_framebuffer_state call has occurred but no draws have been
triggered, the rp info must be preserved for the driver to (eventually)
use after the sync

Fixes: 07017aa137b ("util/tc: implement renderpass tracking")

Acked-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25227>
src/gallium/auxiliary/util/u_threaded_context.c