mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 19:58:53 +00:00
Vulkan: Move texture upload buffer to ObjectCache
This commit is contained in:
parent
36ce47635b
commit
e03b8e899e
5 changed files with 12 additions and 18 deletions
|
@ -58,6 +58,7 @@ public:
|
|||
{
|
||||
return m_utility_shader_uniform_buffer.get();
|
||||
}
|
||||
StreamBuffer* GetTextureUploadBuffer() const { return m_texture_upload_buffer.get(); }
|
||||
|
||||
// Static samplers
|
||||
VkSampler GetPointSampler() const { return m_point_sampler; }
|
||||
|
@ -94,6 +95,7 @@ private:
|
|||
std::unique_ptr<VertexFormat> m_utility_shader_vertex_format;
|
||||
std::unique_ptr<StreamBuffer> m_utility_shader_vertex_buffer;
|
||||
std::unique_ptr<StreamBuffer> m_utility_shader_uniform_buffer;
|
||||
std::unique_ptr<StreamBuffer> m_texture_upload_buffer;
|
||||
|
||||
VkSampler m_point_sampler = VK_NULL_HANDLE;
|
||||
VkSampler m_linear_sampler = VK_NULL_HANDLE;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue