zink: fix format in zink_make_{image,texture}_handle_resident()
authorEric Engestrom <eric@igalia.com>
Sat, 19 Aug 2023 02:14:49 +0000 (03:14 +0100)
committerMarge Bot <emma+marge@anholt.net>
Sat, 19 Aug 2023 14:28:19 +0000 (14:28 +0000)
commitab0f0d1563365ea29175bd0b07ba34e1f96c9999
tree6eb62c7b031166137d03aa861f489d427949893c
parentaf28356de06d7b5adfa3fa87dac157021c3a68a9
zink: fix format in zink_make_{image,texture}_handle_resident()

`ds->db.format` is a `pipe_format`, while `buffer_infos[handle].format` is
a `VkFormat`; the conversion from one to the other was missing.

Fixes: 99ba529feed6f9917a44 ("zink: implement descriptor buffer handling of bindless texture")
Signed-off-by: Eric Engestrom <eric@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24790>
src/gallium/drivers/zink/zink_context.c