mesa/src/vulkan
Alyssa Rosenzweig 31001c6184 vulkan: Add helpers for blend enum translation
Vulkan drivers that use nir_lower_blend need to translate Vulkan enums to the
common (non-Vulkan) versions used in nir_lower_blend. We don't need to duplicate
that boilerplate in every VK driver that uses nir_lower_blend, move panvk's
versions to common code so we can use them in agxv. I suspect powervr wants this
too.

It might be useful to also share the logic to translate vk_color_blend_state
to nir_lower_blend_options wholesale, but panvk wouldn't use it and agxv is
downstream so it wouldn't have any in-tree users. So I'll keep that part
vendored (for now). For now, let's share the easy win of the enum translation.

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Reviewed-by: Italo Nicola <italonicola@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24076>
2023-07-13 21:03:32 +00:00
..
device-select-layer device_select_layer: log selectable devices if MESA_VK_DEVICE_SELECT_DEBUG or DRI_PRIME_DEBUG are set 2023-05-03 20:55:51 -04:00
overlay-layer vulkan/overlay: deal with unknown pNext structures 2023-04-17 15:41:58 +03:00
registry vulkan: Update XML and headers to 1.3.255 2023-06-25 15:52:55 +00:00
runtime vulkan: Add helpers for blend enum translation 2023-07-13 21:03:32 +00:00
util vulkan/util: Use ycbcr_info for multiplane helpers in vk_format.c 2023-07-12 21:39:41 +00:00
wsi vk/wsi: add error logging for syncfile import/export failures 2023-07-06 14:17:02 +00:00
meson.build meson: Add a xcb-keysyms dependency 2023-06-27 06:25:56 +00:00
vulkan-android.sym android/vk: drop unnecessary symbols 2023-03-04 07:41:10 +00:00
vulkan-icd-android-symbols.txt vk: be stricter about symbols check between android and other platforms 2023-03-04 07:41:10 +00:00
vulkan-icd-symbols.txt vk: be stricter about symbols check between android and other platforms 2023-03-04 07:41:10 +00:00
vulkan.sym vk: move radv's linker symbols scripts for use in all drivers 2023-03-04 07:41:10 +00:00
vulkan_api.def.in win32: Fixes 32 bits visual studio module definition files by add script gen_vs_module_defs.py 2022-04-19 19:38:47 +00:00