summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/Vulkan/TextureCache.h
diff options
context:
space:
mode:
authorStenzek <stenzek@gmail.com>2017-04-16 19:45:22 +1000
committerStenzek <stenzek@gmail.com>2017-04-29 00:14:23 +1000
commitf4b848949c67ffe99db61e5f4d0b968154e6c5ba (patch)
tree8a0a4709aa615f3f46117ff13712d21d3eda6103 /Source/Core/VideoBackends/Vulkan/TextureCache.h
parentbc8a96d713eb0a1fb565f121a5d939b99c2295fa (diff)
TextureCache: Support compressed textures and pass pitch/size to upload
This also removes an extra copy of the image for custom textures.
Diffstat (limited to 'Source/Core/VideoBackends/Vulkan/TextureCache.h')
-rw-r--r--Source/Core/VideoBackends/Vulkan/TextureCache.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/VideoBackends/Vulkan/TextureCache.h b/Source/Core/VideoBackends/Vulkan/TextureCache.h
index 5fd25c23d8..884d82ddf4 100644
--- a/Source/Core/VideoBackends/Vulkan/TextureCache.h
+++ b/Source/Core/VideoBackends/Vulkan/TextureCache.h
@@ -27,8 +27,8 @@ public:
Texture2D* GetTexture() const { return m_texture.get(); }
VkFramebuffer GetFramebuffer() const { return m_framebuffer; }
- void Load(const u8* buffer, unsigned int width, unsigned int height,
- unsigned int expanded_width, unsigned int level) override;
+ void Load(u32 level, u32 width, u32 height, u32 row_length, const u8* buffer,
+ size_t buffer_size) override;
void FromRenderTarget(bool is_depth_copy, const EFBRectangle& src_rect, bool scale_by_half,
unsigned int cbufid, const float* colmat) override;
void CopyRectangleFromTexture(const TCacheEntryBase* source,