On Wed Jan 17 10:19:07 2024 +0000, Jan Sikorski wrote:
Setting both won't work, because "the view usage must be a subset of the image usage", but I think something like this would do:
if (resource->bind_flags & WINED3D_BIND_RENDER_TARGET) vk_usage |= VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT; if (resource->bind_flags & WINED3D_BIND_DEPTH_STENCIL) vk_usage |= VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT;
Ok, that should be done now.