dzn: Check image view usage instead of image usage when creating an image view
authorBoris Brezillon <boris.brezillon@collabora.com>
Mon, 4 Apr 2022 11:21:46 +0000 (13:21 +0200)
committerMarge Bot <emma+marge@anholt.net>
Fri, 8 Apr 2022 11:54:43 +0000 (11:54 +0000)
commit653c362ca6b60ba19cade9a3417a2381367cfafc
tree53526335322103ad173f71b186cc9c10576e615d
parent7ecc22ccaaa2626f2e68fa208d3a8d70d6cf2180
dzn: Check image view usage instead of image usage when creating an image view

So we take VkImageViewUsageCreateInfo extension instead of ignoring it.

Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15698>
src/microsoft/vulkan/dzn_image.cpp