zink: add a null sampler view descriptor hash to the screen
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Wed, 7 Oct 2020 17:59:35 +0000 (13:59 -0400)
committerMarge Bot <eric+marge@anholt.net>
Fri, 12 Mar 2021 16:32:53 +0000 (16:32 +0000)
commitfa77cc2fbb8de94147ab058a985ebfa627cedabf
tree9e62e488a2aa6e30afdf7ea9e61e5b932303f2b9
parent67f9038b85aa35c2bfd55e5fe5e042153a7bd05f
zink: add a null sampler view descriptor hash to the screen

pre-hashing this saves us time later since we can just reuse it

Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9348>
src/gallium/drivers/zink/zink_screen.c
src/gallium/drivers/zink/zink_screen.h