aux/vk: Delete nonsensical image usage case

This commit is contained in:
Benjamin Saunders 2020-05-31 13:54:11 -07:00 committed by Jakob Bornecrantz
parent f45f482d5e
commit 27d2163f37

View file

@ -291,9 +291,6 @@ vk_create_image_from_fd(struct vk_bundle *vk,
if ((swapchain_usage & XRT_SWAPCHAIN_USAGE_DEPTH_STENCIL) != 0) {
image_usage |= VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT;
}
if ((swapchain_usage & XRT_SWAPCHAIN_USAGE_UNORDERED_ACCESS) != 0) {
image_usage |= VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT;
}
if ((swapchain_usage & XRT_SWAPCHAIN_USAGE_TRANSFER_SRC) != 0) {
image_usage |= VK_IMAGE_USAGE_TRANSFER_SRC_BIT;
}