| 785 | TEST(res == VK_SUCCESS); |
| 786 | } |
| 787 | void AllocInfo::CreateImage( |
| 788 | const VkImageCreateInfo& imageCreateInfo, |
| 789 | const VmaAllocationCreateInfo& allocCreateInfo, |
| 790 | VkImageLayout layout) |
| 791 | { |
| 792 | m_ImageInfo = imageCreateInfo; |
| 793 | m_ImageLayout = layout; |
| 794 | VkResult res = vmaCreateImage(g_hAllocator, &imageCreateInfo, &allocCreateInfo, &m_Image, &m_Allocation, nullptr); |
| 795 | TEST(res == VK_SUCCESS); |
| 796 | } |
| 797 | |
| 798 | void AllocInfo::Destroy() |
| 799 | { |
no test coverage detected