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:
Józef Kucia 2017-09-07 17:48:43 +02:00
parent 30cd4cc59f
commit 37f4c9d2a3

View File

@ -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;
}