nvk: Advertise KHR_shader_integer_dot_product

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26533>
This commit is contained in:
Faith Ekstrand
2023-12-05 15:14:54 -06:00
committed by Marge Bot
parent eb633b4978
commit 03ae261183
2 changed files with 9 additions and 1 deletions

View File

@@ -479,7 +479,7 @@ Vulkan 1.3 -- all DONE: anv, radv, tu, lvp, vn
VK_KHR_dynamic_rendering DONE (anv, dzn, hasvk, lvp, nvk, radv, tu, vn)
VK_KHR_format_feature_flags2 DONE (anv, hasvk, lvp, nvk, pvr, radv, tu, v3dv, vn)
VK_KHR_maintenance4 DONE (anv, hasvk, lvp, nvk, radv, tu, v3dv, vn)
VK_KHR_shader_integer_dot_product DONE (anv, dzn, hasvk, lvp, radv, tu, v3dv, vn)
VK_KHR_shader_integer_dot_product DONE (anv, dzn, hasvk, lvp, nvk, radv, tu, v3dv, vn)
VK_KHR_shader_non_semantic_info DONE (anv, hasvk, nvk, radv, tu, v3dv, vn)
VK_KHR_shader_terminate_invocation DONE (anv, hasvk, lvp, nvk, radv, tu, vn)
VK_KHR_synchronization2 DONE (anv, dzn, hasvk, lvp, nvk, panvk, radv, tu, v3dv, vn)

View File

@@ -117,6 +117,7 @@ nvk_get_device_extensions(const struct nv_device_info *info,
.KHR_shader_clock = true,
.KHR_shader_draw_parameters = true,
.KHR_shader_float16_int8 = true,
.KHR_shader_integer_dot_product = true,
.KHR_shader_non_semantic_info = true,
.KHR_shader_subgroup_extended_types = true,
.KHR_shader_terminate_invocation =
@@ -312,6 +313,7 @@ nvk_get_device_features(const struct nv_device_info *info,
.computeFullSubgroups = true,
.synchronization2 = true,
.dynamicRendering = true,
.shaderIntegerDotProduct = true,
.maintenance4 = true,
/* VK_KHR_fragment_shader_barycentric */
@@ -689,6 +691,12 @@ nvk_get_device_properties(const struct nvk_instance *instance,
.maxPerStageDescriptorUpdateAfterBindInlineUniformBlocks = 32,
.maxDescriptorSetInlineUniformBlocks = 6 * 32,
.maxDescriptorSetUpdateAfterBindInlineUniformBlocks = 6 * 32,
.integerDotProduct4x8BitPackedUnsignedAccelerated
= info->cls_eng3d >= VOLTA_A,
.integerDotProduct4x8BitPackedSignedAccelerated
= info->cls_eng3d >= VOLTA_A,
.integerDotProduct4x8BitPackedMixedSignednessAccelerated
= info->cls_eng3d >= VOLTA_A,
.storageTexelBufferOffsetAlignmentBytes = 16,
.storageTexelBufferOffsetSingleTexelAlignment = true,
.uniformTexelBufferOffsetAlignmentBytes = 16,