zink: properly handle null bufferview descriptor states
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Thu, 5 Nov 2020 15:44:03 +0000 (10:44 -0500)
committerMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Tue, 16 Mar 2021 14:45:32 +0000 (10:45 -0400)
commitda2b841798bd9378b62fe750c5d499a2258494e4
tree3ec1f7ff6a8f2a809a383c2b3922b7e0f8be1b50
parentebdc0cd4ad95d0f0e218eb3eff87adc5962ee1b2
zink: properly handle null bufferview descriptor states

now that we have this state properly stored we can use it for more accurate
hashing and caching

Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9543>
src/gallium/drivers/zink/zink_context.c