vulkan: Fix multi_add invalid descriptor usage (#16899)

This commit is contained in:
Jeff Bolz authored and GitHub committed 2025-11-01 06:52:14 +01:00
1 parent 2e76e01360
commit 5d8bb900bc
2 files changed
+94 -12

No files matched your search

-2
View File
@@ -4274,8 +4274,6 @@ static vk_device ggml_vk_get_device(size_t idx) {
device->multi_add = vk12_props.shaderRoundingModeRTEFloat16 &&
device->properties.limits.maxPushConstantsSize >= sizeof(vk_op_multi_add_push_constants) &&
vk12_features.runtimeDescriptorArray &&
device->vendor_id != VK_VENDOR_ID_INTEL &&
getenv("GGML_VK_DISABLE_MULTI_ADD") == nullptr;
device->shader_int64 = device_features2.features.shaderInt64;