zink: only unset a generated tcs if the bound tcs is the generated one
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Tue, 2 May 2023 16:10:27 +0000 (12:10 -0400)
committerMarge Bot <emma+marge@anholt.net>
Tue, 2 May 2023 20:08:32 +0000 (20:08 +0000)
commit27d6a98638a5d3914c84ced7b4177bbc5adddedb
treef0907148ac9c06135c15fdd9731a885f41657da5
parentcf13a1d791b840e010e5da4de48376be26e2271c
zink: only unset a generated tcs if the bound tcs is the generated one

this could otherwise unbind a non-generated tcs if the tes had at some
point generated a tcs

cc: mesa-stable

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22801>
src/gallium/drivers/zink/zink_program.c