mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-03-18 12:20:35 +01:00
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> |
||
|---|---|---|
| .. | ||
| device-select-layer | ||
| overlay-layer | ||
| registry | ||
| runtime | ||
| util | ||
| wsi | ||
| meson.build | ||
| vulkan-android.sym | ||
| vulkan-icd-android-symbols.txt | ||
| vulkan-icd-symbols.txt | ||
| vulkan.sym | ||
| vulkan_api.def.in | ||