mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 03:08:05 +02:00
radv: advertise VK_EXT_primitive_topology_list_restart
Everything should be already supported, except patch list. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12611>
This commit is contained in:
parent
d465095fc0
commit
906f7f4296
2 changed files with 9 additions and 0 deletions
|
|
@ -6,3 +6,4 @@ VK_KHR_timeline_semaphore on lavapipe
|
|||
VK_EXT_external_memory_host on lavapipe
|
||||
GL_AMD_pinned_memory on llvmpipe
|
||||
GL 4.5 compatibility on llvmpipe
|
||||
VK_EXT_primitive_topology_list_restart on RADV.
|
||||
|
|
|
|||
|
|
@ -486,6 +486,7 @@ radv_physical_device_get_supported_extensions(const struct radv_physical_device
|
|||
.EXT_pipeline_creation_cache_control = true,
|
||||
.EXT_pipeline_creation_feedback = true,
|
||||
.EXT_post_depth_coverage = device->rad_info.chip_class >= GFX10,
|
||||
.EXT_primitive_topology_list_restart = true,
|
||||
.EXT_private_data = true,
|
||||
.EXT_provoking_vertex = true,
|
||||
.EXT_queue_family_foreign = true,
|
||||
|
|
@ -1692,6 +1693,13 @@ radv_GetPhysicalDeviceFeatures2(VkPhysicalDevice physicalDevice,
|
|||
features->sparseImageFloat32AtomicMinMax = has_shader_float_minmax;
|
||||
break;
|
||||
}
|
||||
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PRIMITIVE_TOPOLOGY_LIST_RESTART_FEATURES_EXT: {
|
||||
VkPhysicalDevicePrimitiveTopologyListRestartFeaturesEXT *features =
|
||||
(VkPhysicalDevicePrimitiveTopologyListRestartFeaturesEXT *)ext;
|
||||
features->primitiveTopologyListRestart = true;
|
||||
features->primitiveTopologyPatchListRestart = false;
|
||||
break;
|
||||
}
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue