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>
This commit is contained in:
committed by
Marge Bot
parent
7e12ba8709
commit
bd04fdcb2b
@@ -1039,7 +1039,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,
|
||||
|
||||
Reference in New Issue
Block a user