diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2021-11-19 23:22:44 +0100 |
---|---|---|
committer | Fernando Sahmkow <fsahmkow27@gmail.com> | 2021-11-19 23:22:44 +0100 |
commit | 1d5e6a51d7f66cf089d541a009c84c373fd5c6ab (patch) | |
tree | 246d901c6f831a7e6050a26043385b907660d343 /src/video_core/renderer_vulkan/blit_image.h | |
parent | TextureCache: Further fixes on resolve algorithm. (diff) | |
download | yuzu-1d5e6a51d7f66cf089d541a009c84c373fd5c6ab.tar yuzu-1d5e6a51d7f66cf089d541a009c84c373fd5c6ab.tar.gz yuzu-1d5e6a51d7f66cf089d541a009c84c373fd5c6ab.tar.bz2 yuzu-1d5e6a51d7f66cf089d541a009c84c373fd5c6ab.tar.lz yuzu-1d5e6a51d7f66cf089d541a009c84c373fd5c6ab.tar.xz yuzu-1d5e6a51d7f66cf089d541a009c84c373fd5c6ab.tar.zst yuzu-1d5e6a51d7f66cf089d541a009c84c373fd5c6ab.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/renderer_vulkan/blit_image.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/src/video_core/renderer_vulkan/blit_image.h b/src/video_core/renderer_vulkan/blit_image.h index 10d24c4b7..607964b5e 100644 --- a/src/video_core/renderer_vulkan/blit_image.h +++ b/src/video_core/renderer_vulkan/blit_image.h @@ -59,6 +59,9 @@ public: void ConvertABGR8ToD24S8(const Framebuffer* dst_framebuffer, const ImageView& src_image_view, u32 up_scale, u32 down_shift); + void ConvertB10G11R11ToD24S8(const Framebuffer* dst_framebuffer, + const ImageView& src_image_view, u32 up_scale, u32 down_shift); + void ConvertD24S8ToABGR8(const Framebuffer* dst_framebuffer, ImageView& src_image_view, u32 up_scale, u32 down_shift); @@ -83,8 +86,11 @@ private: void ConvertColorToDepthPipeline(vk::Pipeline& pipeline, VkRenderPass renderpass); - void ConvertPipelineEx(vk::Pipeline& pipeline, VkRenderPass renderpass, - vk::ShaderModule& module, bool single_texture); + void ConvertPipelineColorTargetEx(vk::Pipeline& pipeline, VkRenderPass renderpass, + vk::ShaderModule& module, bool single_texture); + + void ConvertPipelineDepthTargetEx(vk::Pipeline& pipeline, VkRenderPass renderpass, + vk::ShaderModule& module, bool single_texture); const Device& device; VKScheduler& scheduler; @@ -102,6 +108,7 @@ private: vk::ShaderModule convert_depth_to_float_frag; vk::ShaderModule convert_float_to_depth_frag; vk::ShaderModule convert_abgr8_to_d24s8_frag; + vk::ShaderModule convert_b10g11r11_to_d24s8_frag; vk::ShaderModule convert_d24s8_to_abgr8_frag; vk::ShaderModule convert_d24s8_to_b10g11r11_frag; vk::ShaderModule convert_d24s8_to_r16g16_frag; @@ -117,6 +124,7 @@ private: vk::Pipeline convert_d16_to_r16_pipeline; vk::Pipeline convert_r16_to_d16_pipeline; vk::Pipeline convert_abgr8_to_d24s8_pipeline; + vk::Pipeline convert_b10g11r11_to_d24s8_pipeline; vk::Pipeline convert_d24s8_to_abgr8_pipeline; vk::Pipeline convert_d24s8_to_b10g11r11_pipeline; vk::Pipeline convert_d24s8_to_r16g16_pipeline; |