diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2021-10-17 20:08:39 +0200 |
---|---|---|
committer | Fernando Sahmkow <fsahmkow27@gmail.com> | 2021-11-16 22:11:31 +0100 |
commit | 50b4c774cb30380761936f4cb897c31fc2d49075 (patch) | |
tree | f126ecb951da9894a6e450b8d9a043d46421a0c2 /src/video_core/renderer_vulkan/blit_image.h | |
parent | Texture Cache: Fix downscaling and correct memory comsumption. (diff) | |
download | yuzu-50b4c774cb30380761936f4cb897c31fc2d49075.tar yuzu-50b4c774cb30380761936f4cb897c31fc2d49075.tar.gz yuzu-50b4c774cb30380761936f4cb897c31fc2d49075.tar.bz2 yuzu-50b4c774cb30380761936f4cb897c31fc2d49075.tar.lz yuzu-50b4c774cb30380761936f4cb897c31fc2d49075.tar.xz yuzu-50b4c774cb30380761936f4cb897c31fc2d49075.tar.zst yuzu-50b4c774cb30380761936f4cb897c31fc2d49075.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/renderer_vulkan/blit_image.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/video_core/renderer_vulkan/blit_image.h b/src/video_core/renderer_vulkan/blit_image.h index c0f4a16a4..d77f76678 100644 --- a/src/video_core/renderer_vulkan/blit_image.h +++ b/src/video_core/renderer_vulkan/blit_image.h @@ -60,9 +60,9 @@ private: void Convert(VkPipeline pipeline, const Framebuffer* dst_framebuffer, const ImageView& src_image_view, u32 up_scale, u32 down_shift); - [[nodiscard]] VkPipeline FindOrEmplacePipeline(const BlitImagePipelineKey& key); + [[nodiscard]] VkPipeline FindOrEmplaceColorPipeline(const BlitImagePipelineKey& key); - [[nodiscard]] VkPipeline BlitDepthStencilPipeline(VkRenderPass renderpass); + [[nodiscard]] VkPipeline FindOrEmplaceDepthStencilPipeline(const BlitImagePipelineKey& key); void ConvertDepthToColorPipeline(vk::Pipeline& pipeline, VkRenderPass renderpass); @@ -88,7 +88,8 @@ private: std::vector<BlitImagePipelineKey> blit_color_keys; std::vector<vk::Pipeline> blit_color_pipelines; - vk::Pipeline blit_depth_stencil_pipeline; + std::vector<BlitImagePipelineKey> blit_depth_stencil_keys; + std::vector<vk::Pipeline> blit_depth_stencil_pipelines; vk::Pipeline convert_d32_to_r32_pipeline; vk::Pipeline convert_r32_to_d32_pipeline; vk::Pipeline convert_d16_to_r16_pipeline; |