venus: Simplify vn_GetPhysicalDeviceFeatures2
authorChad Versace <chadversary@chromium.org>
Thu, 11 Aug 2022 19:41:43 +0000 (12:41 -0700)
committerMarge Bot <emma+marge@anholt.net>
Tue, 30 Aug 2022 08:09:55 +0000 (08:09 +0000)
commit7d1fb018f2aea1cdb8400a44dbc094af22ef451b
tree69f8d94d12f1d8a161e3fa4adccc3dff36d24b01
parentd46a78e74e4673319090dbd4f21ab113ab0a55e8
venus: Simplify vn_GetPhysicalDeviceFeatures2

Reduce approximately 300 lines to 60.

Signed-off-by: Chad Versace <chadversary@chromium.org>
Reviewed-by: Yiwei Zhang <zzyiwei@chromium.org>
Reviewed-by: Ryan Neph <ryanneph@google.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18000>
src/virtio/vulkan/vn_physical_device.c