diff options
author | bunnei <bunneidev@gmail.com> | 2022-10-24 19:50:24 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-24 19:50:24 +0200 |
commit | cbb6c24215aa0d5c0e620ff75f29a19275521a43 (patch) | |
tree | b88bc00e4203187453c9da41cad79f4e5e7624fb /src/video_core | |
parent | Merge pull request #9122 from liamwhite/burnt-chicken (diff) | |
parent | Address feedback (diff) | |
download | yuzu-cbb6c24215aa0d5c0e620ff75f29a19275521a43.tar yuzu-cbb6c24215aa0d5c0e620ff75f29a19275521a43.tar.gz yuzu-cbb6c24215aa0d5c0e620ff75f29a19275521a43.tar.bz2 yuzu-cbb6c24215aa0d5c0e620ff75f29a19275521a43.tar.lz yuzu-cbb6c24215aa0d5c0e620ff75f29a19275521a43.tar.xz yuzu-cbb6c24215aa0d5c0e620ff75f29a19275521a43.tar.zst yuzu-cbb6c24215aa0d5c0e620ff75f29a19275521a43.zip |
Diffstat (limited to 'src/video_core')
-rw-r--r-- | src/video_core/renderer_opengl/gl_shader_cache.cpp | 1 | ||||
-rw-r--r-- | src/video_core/renderer_vulkan/vk_pipeline_cache.cpp | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/video_core/renderer_opengl/gl_shader_cache.cpp b/src/video_core/renderer_opengl/gl_shader_cache.cpp index 609f0a772..e94cfdb1a 100644 --- a/src/video_core/renderer_opengl/gl_shader_cache.cpp +++ b/src/video_core/renderer_opengl/gl_shader_cache.cpp @@ -63,6 +63,7 @@ Shader::RuntimeInfo MakeRuntimeInfo(const GraphicsPipelineKey& key, Shader::RuntimeInfo info; if (previous_program) { info.previous_stage_stores = previous_program->info.stores; + info.previous_stage_legacy_stores_mapping = previous_program->info.legacy_stores_mapping; } else { // Mark all stores as available for vertex shaders info.previous_stage_stores.mask.set(); diff --git a/src/video_core/renderer_vulkan/vk_pipeline_cache.cpp b/src/video_core/renderer_vulkan/vk_pipeline_cache.cpp index 20f1d6584..13d5a1f67 100644 --- a/src/video_core/renderer_vulkan/vk_pipeline_cache.cpp +++ b/src/video_core/renderer_vulkan/vk_pipeline_cache.cpp @@ -134,6 +134,7 @@ Shader::RuntimeInfo MakeRuntimeInfo(std::span<const Shader::IR::Program> program Shader::RuntimeInfo info; if (previous_program) { info.previous_stage_stores = previous_program->info.stores; + info.previous_stage_legacy_stores_mapping = previous_program->info.legacy_stores_mapping; if (previous_program->is_geometry_passthrough) { info.previous_stage_stores.mask |= previous_program->info.passthrough.mask; } |