Implement the rest of Vulkan framebuffer depal. Not yet working though.

This commit is contained in:
Henrik Rydgård committed 2017-10-31 12:34:59 +01:00
1 parent 65e23bb9f3
commit 3f503ca297
7 files changed
+62 -21

No files matched your search

+2
View File
@@ -269,6 +269,8 @@ bool VulkanTexture::CreateDirect(VkCommandBuffer cmd, int w, int h, int numMips,
0, VK_ACCESS_TRANSFER_WRITE_BIT);
break;
default:
// If you planned to use UploadMip, you want VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL. After the
// upload, you can transition.
assert(false);
break;
}