mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-30 03:30:10 +01:00
panvk/v10+: Advertise nullDescriptor support
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:
parent
228d62479a
commit
ef91ad64d5
1 changed files with 10 additions and 0 deletions
|
|
@ -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,
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue