zink: fix surface/bufferview cache comparisons
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Wed, 20 Apr 2022 19:07:03 +0000 (15:07 -0400)
committerMarge Bot <emma+marge@anholt.net>
Wed, 18 May 2022 02:29:18 +0000 (02:29 +0000)
commit9924fecee6412f1cad65d7d7347681856e3a525c
tree0be03b3f1f757b7216d44c9088a93ea19ecdafbf
parent7057a363591279c3f65a3c4af41687e6f8142649
zink: fix surface/bufferview cache comparisons

these caches ignore pNext from the create info since the pNext cannot
affect the eventual object that is created, so comparing it will break
the hash table

cc: mesa-stable

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