mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-06 11:00:11 +01:00
venus: device create to filter promoted swapchain_maintenance1
WSI extensions are implemented on the Venus driver side, layering on top
of external memory extensions. So we have to filter out WSI extensions
during device creation, otherwise the headless driver on the venus
renderer side can fail the device creation with _EXTENSION_NOT_PRESENT.
Fixes: 11195eb8de ("vulkan: Add KHR_swapchain_maintenance1 promotions.")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38763>
This commit is contained in:
parent
4ace478545
commit
a71b4a4b95
1 changed files with 2 additions and 0 deletions
|
|
@ -267,6 +267,8 @@ vn_device_fix_create_info(const struct vn_device *dev,
|
|||
block_exts[block_count++] = VK_KHR_PRESENT_WAIT_EXTENSION_NAME;
|
||||
block_exts[block_count++] = VK_KHR_PRESENT_WAIT_2_EXTENSION_NAME;
|
||||
block_exts[block_count++] = VK_KHR_SWAPCHAIN_EXTENSION_NAME;
|
||||
block_exts[block_count++] =
|
||||
VK_KHR_SWAPCHAIN_MAINTENANCE_1_EXTENSION_NAME;
|
||||
block_exts[block_count++] =
|
||||
VK_KHR_SWAPCHAIN_MUTABLE_FORMAT_EXTENSION_NAME;
|
||||
block_exts[block_count++] =
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue