diff options
| author | Anthony <Helios747@users.noreply.github.com> | 2017-08-04 22:34:34 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-08-04 22:34:34 -0700 |
| commit | 737e045bd8ac078bfcfcfac2727a20a29c45ec5c (patch) | |
| tree | e712d698f1f630a79ee2aa29a8c3546111641efc /Source/Core/VideoBackends/Vulkan/TextureCache.h | |
| parent | 20d71800418084973e9a4324d1fd560597c544e1 (diff) | |
| parent | c3a57bbad53567af4546a68f0e9dbcd913bd9a75 (diff) | |
Merge pull request #5849 from beholdnec/tex-format-bookkeeping
Video: Clearly separate Texture and EFB Copy formats
Diffstat (limited to 'Source/Core/VideoBackends/Vulkan/TextureCache.h')
| -rw-r--r-- | Source/Core/VideoBackends/Vulkan/TextureCache.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/Source/Core/VideoBackends/Vulkan/TextureCache.h b/Source/Core/VideoBackends/Vulkan/TextureCache.h index d17dd3d1e7..9bfa2da04e 100644 --- a/Source/Core/VideoBackends/Vulkan/TextureCache.h +++ b/Source/Core/VideoBackends/Vulkan/TextureCache.h @@ -33,19 +33,19 @@ public: std::unique_ptr<AbstractTexture> CreateTexture(const TextureConfig& config) override; - void ConvertTexture(TCacheEntry* destination, TCacheEntry* source, void* palette, - TlutFormat format) override; + void ConvertTexture(TCacheEntry* destination, TCacheEntry* source, const void* palette, + TLUTFormat format) override; - void CopyEFB(u8* dst, const EFBCopyFormat& format, u32 native_width, u32 bytes_per_row, - u32 num_blocks_y, u32 memory_stride, bool is_depth_copy, - const EFBRectangle& src_rect, bool scale_by_half) override; + void CopyEFB(u8* dst, const EFBCopyParams& params, u32 native_width, u32 bytes_per_row, + u32 num_blocks_y, u32 memory_stride, const EFBRectangle& src_rect, + bool scale_by_half) override; - bool SupportsGPUTextureDecode(TextureFormat format, TlutFormat palette_format) override; + bool SupportsGPUTextureDecode(TextureFormat format, TLUTFormat palette_format) override; void DecodeTextureOnGPU(TCacheEntry* entry, u32 dst_level, const u8* data, size_t data_size, TextureFormat format, u32 width, u32 height, u32 aligned_width, u32 aligned_height, u32 row_stride, const u8* palette, - TlutFormat palette_format) override; + TLUTFormat palette_format) override; VkShaderModule GetCopyShader() const; VkRenderPass GetTextureCopyRenderPass() const; |
