Vulkan: Move texture upload buffer to ObjectCache

This commit is contained in:
Stenzek
2019-01-19 00:27:09 +10:00
parent 36ce47635b
commit e03b8e899e
5 changed files with 12 additions and 18 deletions

View File

@ -49,7 +49,6 @@ public:
TLUTFormat palette_format) override;
VkShaderModule GetCopyShader() const;
StreamBuffer* GetTextureUploadBuffer() const;
private:
void CopyEFBToCacheEntry(TCacheEntry* entry, bool is_depth_copy, const EFBRectangle& src_rect,
@ -57,8 +56,6 @@ private:
float gamma, bool clamp_top, bool clamp_bottom,
const CopyFilterCoefficientArray& filter_coefficients) override;
std::unique_ptr<StreamBuffer> m_texture_upload_buffer;
std::unique_ptr<TextureConverter> m_texture_converter;
VkShaderModule m_copy_shader = VK_NULL_HANDLE;