nvk: Only support deviceGeneratedCommandsMultiDrawIndirectCount on Turing+

Indirect draws on Maxwell involve patching pushbufs together and doing
that isn't possible with device generated commands.

Fixes: 83b220f833 ("nvk: Advertise VK_EXT_device_generated_commands")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33771>
(cherry picked from commit bd04fdcb2b)
This commit is contained in:
Faith Ekstrand 2025-02-26 10:42:46 -06:00 committed by Eric Engestrom
parent 29ae40e1aa
commit eff601577a
2 changed files with 2 additions and 2 deletions

View file

@ -314,7 +314,7 @@
"description": "nvk: Only support deviceGeneratedCommandsMultiDrawIndirectCount on Turing+",
"nominated": true,
"nomination_type": 2,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": "83b220f83342b1a645465307fb624cdedf0687b6",
"notes": null

View file

@ -1036,7 +1036,7 @@ nvk_get_device_properties(const struct nvk_instance *instance,
.supportedIndirectCommandsShaderStagesShaderBinding =
NVK_SHADER_STAGE_GRAPHICS_BITS | VK_SHADER_STAGE_COMPUTE_BIT,
.deviceGeneratedCommandsTransformFeedback = true,
.deviceGeneratedCommandsMultiDrawIndirectCount = true,
.deviceGeneratedCommandsMultiDrawIndirectCount = info->cls_eng3d >= TURING_A,
/* VK_EXT_extended_dynamic_state3 */
.dynamicPrimitiveTopologyUnrestricted = true,