aux/tc: fix renderpass splitting on flush
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Wed, 8 Mar 2023 20:06:49 +0000 (15:06 -0500)
committerMarge Bot <emma+marge@anholt.net>
Fri, 17 Mar 2023 14:38:00 +0000 (14:38 +0000)
commit0f4c3cb05c02c244fb782d75196ff07b42d475fc
tree6ace9be2c00bd35e0e627a74a3bac80b362b82ab
parent454772c123b3087f80654bb3e26909386597bfac
aux/tc: fix renderpass splitting on flush

it's expected that a driver won't immediately trigger a deferred flush
if a fence is present, so don't split the renderpass in this case since
that breaks everything

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

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