zink: fix gpl lib hashing
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Tue, 7 Feb 2023 18:53:28 +0000 (13:53 -0500)
committerEric Engestrom <eric@engestrom.ch>
Wed, 8 Feb 2023 20:34:47 +0000 (20:34 +0000)
commit9b3aaba2975cd2d3664b9a97dc4367df66ff0f1d
tree2b0ac17aed2c0fdd67c86e61f11913d4e6800d59
parent0064841f28f7d66646a3a5fdcdba74d9a47d29bd
zink: fix gpl lib hashing

this was including the generated tcs bits, which was likely to be wrong
and thus break optimal key hashing, requiring more pipelines

it also wasn't setting the optimal key value correctly during precompile,
which meant the wrong hash value was used and the precompiled libs were never
actually accessible

cc: mesa-stable

Reviewed-by: Emma Anholt <emma@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21169>
(cherry picked from commit 4cf54e2ed22023c986f70711bddd0e934aa5683c)
.pick_status.json
src/gallium/drivers/zink/zink_program.c