mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 11:58:10 +02:00
panvk: Advertise VK_KHR_device_group and VK_KHR_device_group_creation
VK_KHR_buffer_device_address was enabled but actually depends on VK_KHR_device_group. This trivialy implement device group extensions like other drivers. Signed-off-by: Mary Guillemard <mary.guillemard@collabora.com> Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29410>
This commit is contained in:
parent
3dbe46f610
commit
e580b0f597
4 changed files with 5 additions and 2 deletions
|
|
@ -426,8 +426,8 @@ Vulkan 1.1 -- all DONE: anv, lvp, nvk, radv, tu, vn
|
|||
VK_KHR_bind_memory2 DONE (anv, dzn, hasvk, lvp, nvk, pvr, radv, tu, v3dv, vn)
|
||||
VK_KHR_dedicated_allocation DONE (anv, dzn, hasvk, lvp, nvk, radv, tu, v3dv, vn)
|
||||
VK_KHR_descriptor_update_template DONE (anv, dzn, hasvk, lvp, nvk, panvk, radv, tu, v3dv, vn)
|
||||
VK_KHR_device_group DONE (anv, dzn, hasvk, lvp, nvk, tu, v3dv, vn)
|
||||
VK_KHR_device_group_creation DONE (anv, hasvk, nvk, dzn, lvp, tu, v3dv, vn)
|
||||
VK_KHR_device_group DONE (anv, dzn, hasvk, lvp, nvk, panvk, tu, v3dv, vn)
|
||||
VK_KHR_device_group_creation DONE (anv, hasvk, nvk, panvk, dzn, lvp, tu, v3dv, vn)
|
||||
VK_KHR_external_fence DONE (anv, hasvk, lvp, nvk, pvr, radv, tu, v3dv, vn)
|
||||
VK_KHR_external_fence_capabilities DONE (anv, hasvk, lvp, nvk, pvr, radv, tu, v3dv, vn)
|
||||
VK_KHR_external_memory DONE (anv, dzn, hasvk, lvp, nvk, pvr, radv, tu, v3dv, vn)
|
||||
|
|
|
|||
|
|
@ -94,6 +94,7 @@ void bifrost_compile_shader_nir(nir_shader *nir,
|
|||
\
|
||||
.has_cs_global_id = true, \
|
||||
.lower_cs_local_index_to_id = true, \
|
||||
.lower_device_index_to_zero = true, \
|
||||
.max_unroll_iterations = 32, \
|
||||
.force_indirect_unrolling = \
|
||||
(nir_var_shader_in | nir_var_shader_out | nir_var_function_temp), \
|
||||
|
|
|
|||
|
|
@ -50,6 +50,7 @@ panvk_EnumerateInstanceVersion(uint32_t *pApiVersion)
|
|||
}
|
||||
|
||||
static const struct vk_instance_extension_table panvk_instance_extensions = {
|
||||
.KHR_device_group_creation = true,
|
||||
.KHR_get_physical_device_properties2 = true,
|
||||
.EXT_debug_report = true,
|
||||
.EXT_debug_utils = true,
|
||||
|
|
|
|||
|
|
@ -65,6 +65,7 @@ get_device_extensions(const struct panvk_physical_device *device,
|
|||
*ext = (struct vk_device_extension_table){
|
||||
.KHR_buffer_device_address = true,
|
||||
.KHR_copy_commands2 = true,
|
||||
.KHR_device_group = true,
|
||||
.KHR_shader_expect_assume = true,
|
||||
.KHR_storage_buffer_storage_class = true,
|
||||
.KHR_descriptor_update_template = true,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue