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.
This commit is contained in:
Giovanni Mascellani
2025-08-26 15:18:00 +02:00
committed by Henri Verbeet
parent d30c992039
commit 11cf9e918a
Notes: Henri Verbeet 2025-08-28 20:32:51 +02:00
Approved-by: Henri Verbeet (@hverbeet)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1701

View File

@@ -3049,7 +3049,7 @@ static void d3d12_command_list_update_descriptor_table(struct d3d12_command_list
if (descriptor_count > range->vk_binding_count) 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);
descriptor_count = range->vk_binding_count; descriptor_count = range->vk_binding_count;
} }