summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/Vulkan/ObjectCache.h
diff options
context:
space:
mode:
authorspycrab <spycrab@users.noreply.github.com>2019-01-25 15:08:40 +0100
committerGitHub <noreply@github.com>2019-01-25 15:08:40 +0100
commit6962d5bc5217562b0200a47968e013e9c820feeb (patch)
tree2b6a1de08745ae7c5afe1c492446547c3edb8c30 /Source/Core/VideoBackends/Vulkan/ObjectCache.h
parente060b133e36f5bb0bda909186084d0d933e9c538 (diff)
parent774480ba234c788d2973cf6a3ccd1cd4c3fcc673 (diff)
Merge pull request #7478 from stenzek/imgui
Replace raster font with dear imgui
Diffstat (limited to 'Source/Core/VideoBackends/Vulkan/ObjectCache.h')
-rw-r--r--Source/Core/VideoBackends/Vulkan/ObjectCache.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/Core/VideoBackends/Vulkan/ObjectCache.h b/Source/Core/VideoBackends/Vulkan/ObjectCache.h
index 5b7939f95b..c3502f7c66 100644
--- a/Source/Core/VideoBackends/Vulkan/ObjectCache.h
+++ b/Source/Core/VideoBackends/Vulkan/ObjectCache.h
@@ -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;