mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
libs/vkd3d: Print only TRACE() messages for not initialized descriptors.
A descriptor do not have to be initialized if it is not used by shaders.
This commit is contained in:
parent
30cd4cc59f
commit
37f4c9d2a3
@ -1804,8 +1804,12 @@ static bool vk_write_descriptor_set_from_d3d12_desc(VkWriteDescriptorSet *vk_des
|
||||
vk_descriptor_write->pImageInfo = vk_image_info;
|
||||
break;
|
||||
|
||||
case VKD3D_DESCRIPTOR_MAGIC_FREE:
|
||||
TRACE("Descriptor %u not initialized.\n", vk_descriptor_write->dstBinding);
|
||||
return false;
|
||||
|
||||
default:
|
||||
FIXME("Unhandled descriptor %#x.\n", descriptor->magic);
|
||||
ERR("Invalid descriptor %#x.\n", descriptor->magic);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user