diff options
| author | Stenzek <stenzek@gmail.com> | 2017-07-20 15:25:33 +1000 |
|---|---|---|
| committer | Stenzek <stenzek@gmail.com> | 2017-07-30 12:38:49 +1000 |
| commit | aff44684a4b904974b2d01ba604976f4baac000e (patch) | |
| tree | d927ba97370201f6586eb50fb5391a6fad4b4248 /Source/Core/VideoBackends/Vulkan/TextureCache.cpp | |
| parent | d23fd17e1a2c7c617731d619020af021a7658e93 (diff) | |
Vulkan: Move shader/pipeline-related methods to ShaderCache
Diffstat (limited to 'Source/Core/VideoBackends/Vulkan/TextureCache.cpp')
| -rw-r--r-- | Source/Core/VideoBackends/Vulkan/TextureCache.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Core/VideoBackends/Vulkan/TextureCache.cpp b/Source/Core/VideoBackends/Vulkan/TextureCache.cpp index 30d251d343..30817706b7 100644 --- a/Source/Core/VideoBackends/Vulkan/TextureCache.cpp +++ b/Source/Core/VideoBackends/Vulkan/TextureCache.cpp @@ -299,7 +299,7 @@ bool TextureCache::CompileShaders() } )"; - std::string header = g_object_cache->GetUtilityShaderHeader(); + std::string header = g_shader_cache->GetUtilityShaderHeader(); std::string source; source = header + COPY_SHADER_SOURCE; @@ -385,8 +385,8 @@ void TextureCache::CopyEFBToCacheEntry(TCacheEntry* entry, bool is_depth_copy, UtilityShaderDraw draw(command_buffer, g_object_cache->GetPipelineLayout(PIPELINE_LAYOUT_PUSH_CONSTANT), - m_render_pass, g_object_cache->GetPassthroughVertexShader(), - g_object_cache->GetPassthroughGeometryShader(), + m_render_pass, g_shader_cache->GetPassthroughVertexShader(), + g_shader_cache->GetPassthroughGeometryShader(), is_depth_copy ? m_efb_depth_to_tex_shader : m_efb_color_to_tex_shader); draw.SetPushConstants(colmat, (is_depth_copy ? sizeof(float) * 20 : sizeof(float) * 28)); |
