zink: slightly rework memoryTypeIndex selection to pre-determine heap
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Thu, 13 Apr 2023 17:50:12 +0000 (13:50 -0400)
committerMarge Bot <emma+marge@anholt.net>
Sun, 16 Apr 2023 23:55:30 +0000 (23:55 +0000)
commit561b64cf55dbcc8abf0cb3aeeafa55d439cec7c9
tree0b30031effdfc9af46c56a036cf50b35cb60dcfa
parent085c9efbf3f12fca4cfb210e89d6f2f31f1ebe72
zink: slightly rework memoryTypeIndex selection to pre-determine heap

should be no functional changes

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22479>
src/gallium/drivers/zink/zink_resource.c