panvk/v10+: Advertise nullDescriptor support
Some checks are pending
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run

Advertise support for VK_EXT_robustness2 with only the nullDescriptor
feature enabled.

Except for index buffers, the same implementation should work for v9 as
well.

Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35609>
This commit is contained in:
Lars-Ivar Hesselberg Simonsen 2025-06-17 10:24:23 +02:00 committed by Marge Bot
parent 228d62479a
commit ef91ad64d5

View file

@ -150,6 +150,7 @@ panvk_per_arch(get_physical_device_extensions)(
.EXT_primitive_topology_list_restart = true,
.EXT_provoking_vertex = true,
.EXT_queue_family_foreign = true,
.EXT_robustness2 = PAN_ARCH >= 10,
.EXT_sampler_filter_minmax = PAN_ARCH >= 10,
.EXT_scalar_block_layout = true,
.EXT_separate_stencil_usage = true,
@ -425,6 +426,11 @@ panvk_per_arch(get_physical_device_features)(
/* VK_EXT_pipeline_robustness */
.pipelineRobustness = true,
/* VK_EXT_robustness2 */
.robustBufferAccess2 = false,
.robustImageAccess2 = false,
.nullDescriptor = PAN_ARCH >= 10,
/* VK_KHR_shader_clock */
.shaderSubgroupClock = device->kmod.props.gpu_can_query_timestamp,
.shaderDeviceClock = device->kmod.props.gpu_can_query_timestamp,
@ -870,6 +876,10 @@ panvk_per_arch(get_physical_device_properties)(
.uniformTexelBufferOffsetAlignmentBytes = 64,
.uniformTexelBufferOffsetSingleTexelAlignment = false,
/* VK_EXT_robustness2 */
.robustStorageBufferAccessSizeAlignment = 1,
.robustUniformBufferAccessSizeAlignment = 1,
/* VK_KHR_maintenance4 */
.maxBufferSize = 1 << 30,