zink: change pipeline hashes to index based on vk primitive type
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Wed, 12 Aug 2020 13:21:48 +0000 (09:21 -0400)
committerMarge Bot <eric+marge@anholt.net>
Wed, 12 Aug 2020 14:52:26 +0000 (14:52 +0000)
commitced9e6e3e5c14a0f9b7e6d20d01a337227fcf40a
tree2d3b18eccb5edb47eca38a17b0f5744d4c5da568
parent2701f887fc376202577ad942c20a7284b12823f3
zink: change pipeline hashes to index based on vk primitive type

this is a bit more convenient since we always support vk types but not
necessarily gallium types

Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6269>
src/gallium/drivers/zink/zink_program.c
src/gallium/drivers/zink/zink_program.h