summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_vulkan/blit_image.h
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2021-11-20 00:02:12 +0100
committerFernando Sahmkow <fsahmkow27@gmail.com>2021-11-20 00:02:12 +0100
commite02cff2f69f9a90777f87f85f290f83fc04c16ec (patch)
tree3d83cf6cbd4e3ba7c8120e3c5dadbef925305493 /src/video_core/renderer_vulkan/blit_image.h
parentTextureCache: Add B10G11R11 to D24S8 converter. (diff)
downloadyuzu-e02cff2f69f9a90777f87f85f290f83fc04c16ec.tar
yuzu-e02cff2f69f9a90777f87f85f290f83fc04c16ec.tar.gz
yuzu-e02cff2f69f9a90777f87f85f290f83fc04c16ec.tar.bz2
yuzu-e02cff2f69f9a90777f87f85f290f83fc04c16ec.tar.lz
yuzu-e02cff2f69f9a90777f87f85f290f83fc04c16ec.tar.xz
yuzu-e02cff2f69f9a90777f87f85f290f83fc04c16ec.tar.zst
yuzu-e02cff2f69f9a90777f87f85f290f83fc04c16ec.zip
Diffstat (limited to 'src/video_core/renderer_vulkan/blit_image.h')
-rw-r--r--src/video_core/renderer_vulkan/blit_image.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/video_core/renderer_vulkan/blit_image.h b/src/video_core/renderer_vulkan/blit_image.h
index 607964b5e..cec095341 100644
--- a/src/video_core/renderer_vulkan/blit_image.h
+++ b/src/video_core/renderer_vulkan/blit_image.h
@@ -62,6 +62,9 @@ public:
void ConvertB10G11R11ToD24S8(const Framebuffer* dst_framebuffer,
const ImageView& src_image_view, u32 up_scale, u32 down_shift);
+ void ConvertR16G16ToD24S8(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);
@@ -109,6 +112,7 @@ private:
vk::ShaderModule convert_float_to_depth_frag;
vk::ShaderModule convert_abgr8_to_d24s8_frag;
vk::ShaderModule convert_b10g11r11_to_d24s8_frag;
+ vk::ShaderModule convert_r16g16_to_d24s8_frag;
vk::ShaderModule convert_d24s8_to_abgr8_frag;
vk::ShaderModule convert_d24s8_to_b10g11r11_frag;
vk::ShaderModule convert_d24s8_to_r16g16_frag;
@@ -125,6 +129,7 @@ private:
vk::Pipeline convert_r16_to_d16_pipeline;
vk::Pipeline convert_abgr8_to_d24s8_pipeline;
vk::Pipeline convert_b10g11r11_to_d24s8_pipeline;
+ vk::Pipeline convert_r16g16_to_d24s8_pipeline;
vk::Pipeline convert_d24s8_to_abgr8_pipeline;
vk::Pipeline convert_d24s8_to_b10g11r11_pipeline;
vk::Pipeline convert_d24s8_to_r16g16_pipeline;