From 11cf9e918ac585599399058f2a683f8377aea395 Mon Sep 17 00:00:00 2001 From: Giovanni Mascellani Date: Tue, 26 Aug 2025 15:18:00 +0200 Subject: [PATCH] vkd3d: Use MESSAGE when exceeding Vulkan descriptor limits in d3d12_command_list_update_descriptor_table(). Instead of using ERR. The intention here is to notify the user that the Vulkan implementation isn't quite capable of doing what the application requested, but when libvkd3d is compiled with -DVKD3D_ABORT_ON_ERR, ERR will abort the process. This allows running the tests on older NVIDIA GPUs with -DVKD3D_ABORT_ON_ERR. --- libs/vkd3d/command.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/vkd3d/command.c b/libs/vkd3d/command.c index 074d84305..d933e7ec4 100644 --- a/libs/vkd3d/command.c +++ b/libs/vkd3d/command.c @@ -3049,7 +3049,7 @@ static void d3d12_command_list_update_descriptor_table(struct d3d12_command_list if (descriptor_count > range->vk_binding_count) { - ERR("Heap descriptor count %u exceeds maximum Vulkan count %u. Reducing to the Vulkan maximum.\n", + MESSAGE("Heap descriptor count %u exceeds maximum Vulkan count %u. Reducing to the Vulkan maximum.\n", descriptor_count, range->vk_binding_count); descriptor_count = range->vk_binding_count; }