radv: directly use vk_format_map for vertex input
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Thu, 8 Jun 2023 14:17:26 +0000 (10:17 -0400)
committerMarge Bot <emma+marge@anholt.net>
Tue, 13 Jun 2023 18:38:27 +0000 (18:38 +0000)
commit68ded42a385e3eac8856d9842134a9e71a44b756
treee88737eaf3d4c01a3f01edea956ddceffdccd7e5
parent6650d89d4cfcfe3cd59c2df4542984d21ad1c24a
radv: directly use vk_format_map for vertex input

this is much faster than calling a non-inline function with
conditionals to index the same array

Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23599>
src/amd/vulkan/radv_cmd_buffer.c