zink: simplify shader key comparison by splitting out non-generated tcs
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Fri, 5 Aug 2022 12:52:07 +0000 (08:52 -0400)
committerMarge Bot <emma+marge@anholt.net>
Sat, 20 Aug 2022 01:27:13 +0000 (01:27 +0000)
commit190e5bda110e5aee3204c8215ad5629f9a0d212e
tree19614bc1d662b07fbc3ef7cea8ac90cb129b7d0c
parent59fa32858916e5e80708f3acadc71529313eb94f
zink: simplify shader key comparison by splitting out non-generated tcs

non-generated tcs has unique mechanics in that it doesn't have a base shader key,
so split that out to avoid unnecessary complexity

Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18135>
src/gallium/drivers/zink/zink_program.c