mesa/src/vulkan
Alyssa Rosenzweig bc64ea2815 vulkan: fix shader linking with common pipelines
Despite appearances, the current vk_pipeline implementation fails to link any
shaders, unless GPL is used or the link_geom_stages option is set (which no
drivers do). Notably monolithic pipelines don't get linked.

This patch attempts to fix our linking issues. Monolithic pipelines now get
linked, GPL optimized pipelines do too. GPL fast link is still not linked.

Geometry stages are now always linked because - despite the option - I think all
hardware wants this. Apps love writing random dead varyings for literally no
reason, which isn't free even on NVIDIA. This removes the option, effectively
setting it for all drivers, which in retrospect is the right decision.

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Reviewed-by: Mary Guillemard <mary.guillemard@collabora.com>
Acked-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36265>
2025-07-23 14:15:57 +00:00
..
device-select-layer egl/wayland: Move bind_wayland_display to legacy build option 2025-07-10 14:51:20 +00:00
overlay-layer meson: include VkLayer_MESA_overlay in the devenv 2025-06-20 21:51:17 +00:00
registry vulkan: update headers/xml for 1.4.318 2025-06-14 08:21:31 +00:00
runtime vulkan: fix shader linking with common pipelines 2025-07-23 14:15:57 +00:00
screenshot-layer vulkan/screenshot-layer: Correct queueFamilyIndex source 2025-02-20 22:36:44 +00:00
util vulkan/cmd_queue: don't null deref when freeing pNext 2025-07-09 05:48:22 +00:00
vram-report-limit-layer vulkan: Add inital vram-report-limit layer 2025-01-24 19:56:43 +00:00
wsi wsi/display: Add error messages to some shouldn't-be-hit paths. 2025-07-21 22:53:54 +00:00
meson.build vulkan: Add inital vram-report-limit layer 2025-01-24 19:56:43 +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