nvk: Enable EXT_nested_command_buffer.

Signed-off-by: Robin Kertels <robin.kertels@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27856>
This commit is contained in:
Robin Kertels
2024-02-28 19:09:59 +01:00
committed by Marge Bot
parent 8d56c89b55
commit 639fe038ce
3 changed files with 11 additions and 1 deletions

View File

@@ -601,7 +601,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, nvk, radv, tu, vn, v3dv)
VK_EXT_multisampled_render_to_single_sampled DONE (lvp)
VK_EXT_nested_command_buffer DONE (anv, lvp)
VK_EXT_nested_command_buffer DONE (anv, lvp, nvk)
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

@@ -16,3 +16,4 @@ VK_EXT_device_address_binding_report on RADV
VK_EXT_external_memory_dma_buf for lavapipe
VK_EXT_queue_family_foreign for lavapipe
VK_EXT_shader_object on RADV
VK_EXT_nested_command_buffer on NVK

View File

@@ -201,6 +201,7 @@ nvk_get_device_extensions(const struct nvk_instance *instance,
.EXT_memory_budget = true,
.EXT_multi_draw = true,
.EXT_mutable_descriptor_type = true,
.EXT_nested_command_buffer = true,
.EXT_non_seamless_cube_map = true,
.EXT_pci_bus_info = info->type == NV_DEVICE_TYPE_DIS,
.EXT_pipeline_creation_cache_control = true,
@@ -542,6 +543,11 @@ nvk_get_device_features(const struct nv_device_info *info,
/* VK_EXT_mutable_descriptor_type */
.mutableDescriptorType = true,
/* VK_EXT_nested_command_buffer */
.nestedCommandBuffer = true,
.nestedCommandBufferRendering = true,
.nestedCommandBufferSimultaneousUse = true,
/* VK_EXT_non_seamless_cube_map */
.nonSeamlessCubeMap = true,
@@ -879,6 +885,9 @@ nvk_get_device_properties(const struct nvk_instance *instance,
/* VK_EXT_multi_draw */
.maxMultiDrawCount = UINT32_MAX,
/* VK_EXT_nested_command_buffer */
.maxCommandBufferNestingLevel = UINT32_MAX,
/* VK_EXT_pci_bus_info */
.pciDomain = info->pci.domain,
.pciBus = info->pci.bus,