[Vulkan] Generalize texture conversion, and fix cube textures in the process.

This commit is contained in:
gibbed
2018-05-26 11:19:08 -05:00
parent 1def8cfc59
commit 9231317eeb
3 changed files with 15 additions and 87 deletions

View File

@@ -150,10 +150,6 @@ class TextureCache {
void FlushPendingCommands(VkCommandBuffer command_buffer,
VkFence completion_fence);
bool ConvertTexture2D(uint8_t* dest, VkBufferImageCopy* copy_region,
uint32_t mip, const TextureInfo& src);
bool ConvertTextureCube(uint8_t* dest, VkBufferImageCopy* copy_regions,
uint32_t mip, const TextureInfo& src);
bool ConvertTexture(uint8_t* dest, VkBufferImageCopy* copy_region,
uint32_t mip, const TextureInfo& src);