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:
@@ -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++] =
|
||||
|
||||
Reference in New Issue
Block a user