vulkan: Add vk_index_type_to_bytes helper
authorAlyssa Rosenzweig <alyssa@rosenzweig.io>
Thu, 6 Jul 2023 12:58:54 +0000 (08:58 -0400)
committerAlyssa Rosenzweig <alyssa@rosenzweig.io>
Fri, 7 Jul 2023 11:22:26 +0000 (07:22 -0400)
commitb733fcb3370fa6a80d461764aeaecf07f8ed6d10
tree34be8fa06e15a06ca57b9be16f6d049b17fc52f3
parentce2252d2659d4086047bd3308d1b6aadc5ef2e60
vulkan: Add vk_index_type_to_bytes helper

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24017>
src/vulkan/util/vk_util.h