lavapipe: VK_EXT_nested_command_buffer

Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25615>
This commit is contained in:
Mike Blumenkrantz
2023-10-02 08:14:27 -04:00
committed by Marge Bot
parent 10c2180a92
commit 9a8956bb77
2 changed files with 10 additions and 0 deletions

View File

@@ -584,6 +584,7 @@ Khronos extensions that are not part of any Vulkan version:
VK_EXT_mesh_shader DONE (anv/gfx12.5+, lvp, radv)
VK_EXT_multi_draw DONE (anv, hasvk, lvp, radv, tu, vn)
VK_EXT_multisampled_render_to_single_sampled DONE (lvp)
VK_EXT_nested_command_buffer DONE (lvp)
VK_EXT_non_seamless_cube_map DONE (anv, hasvk, lvp, nvk, radv, tu, vn)
VK_EXT_pageable_device_local_memory DONE (lvp)
VK_EXT_pci_bus_info DONE (anv, hasvk, nvk, radv, vn)

View File

@@ -186,6 +186,7 @@ static const struct vk_device_extension_table lvp_device_extensions_supported =
.EXT_multisampled_render_to_single_sampled = true,
.EXT_multi_draw = true,
.EXT_mutable_descriptor_type = true,
.EXT_nested_command_buffer = true,
.EXT_non_seamless_cube_map = true,
#if DETECT_OS_LINUX
.EXT_pageable_device_local_memory = true,
@@ -578,6 +579,11 @@ lvp_get_features(const struct lvp_physical_device *pdevice,
/* VK_EXT_pageable_device_local_memory */
.pageableDeviceLocalMemory = true,
/* VK_EXT_nested_command_buffer */
.nestedCommandBuffer = true,
.nestedCommandBufferRendering = true,
.nestedCommandBufferSimultaneousUse = true,
/* VK_EXT_mesh_shader */
.taskShader = true,
.meshShader = true,
@@ -1042,6 +1048,9 @@ lvp_get_properties(const struct lvp_physical_device *device, struct vk_propertie
#endif
);
/* VK_EXT_nested_command_buffer */
p->maxCommandBufferNestingLevel = UINT32_MAX;
/* VK_EXT_host_image_copy */
lvp_device_get_cache_uuid(p->optimalTilingLayoutUUID);