summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_vulkan/blit_image.h
diff options
context:
space:
mode:
authorSquall-Leonhart <danialhorton@hotmail.com>2023-10-15 11:43:48 +0200
committerSquall-Leonhart <danialhorton@hotmail.com>2023-10-15 11:43:48 +0200
commit7a986d731b55acd2249d10b2f2264c1f61b69208 (patch)
tree31c28162c33e4ff49c9756185f43128536ee75ff /src/video_core/renderer_vulkan/blit_image.h
parentupdate shader to confirmed format copy (diff)
downloadyuzu-7a986d731b55acd2249d10b2f2264c1f61b69208.tar
yuzu-7a986d731b55acd2249d10b2f2264c1f61b69208.tar.gz
yuzu-7a986d731b55acd2249d10b2f2264c1f61b69208.tar.bz2
yuzu-7a986d731b55acd2249d10b2f2264c1f61b69208.tar.lz
yuzu-7a986d731b55acd2249d10b2f2264c1f61b69208.tar.xz
yuzu-7a986d731b55acd2249d10b2f2264c1f61b69208.tar.zst
yuzu-7a986d731b55acd2249d10b2f2264c1f61b69208.zip
Diffstat (limited to 'src/video_core/renderer_vulkan/blit_image.h')
-rw-r--r--src/video_core/renderer_vulkan/blit_image.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/video_core/renderer_vulkan/blit_image.h b/src/video_core/renderer_vulkan/blit_image.h
index a032c71fb..d083b4680 100644
--- a/src/video_core/renderer_vulkan/blit_image.h
+++ b/src/video_core/renderer_vulkan/blit_image.h
@@ -73,6 +73,8 @@ public:
void ConvertS8D24ToABGR8(const Framebuffer* dst_framebuffer, ImageView& src_image_view);
+ void ConvertD32FToBGRA8(const Framebuffer* dst_framebuffer, ImageView& src_image_view);
+
void ClearColor(const Framebuffer* dst_framebuffer, u8 color_mask,
const std::array<f32, 4>& clear_color, const Region2D& dst_region);
@@ -133,6 +135,7 @@ private:
vk::ShaderModule convert_d32f_to_abgr8_frag;
vk::ShaderModule convert_d24s8_to_abgr8_frag;
vk::ShaderModule convert_s8d24_to_abgr8_frag;
+ vk::ShaderModule convert_d32f_to_bgra8_frag;
vk::Sampler linear_sampler;
vk::Sampler nearest_sampler;
@@ -152,6 +155,7 @@ private:
vk::Pipeline convert_d32f_to_abgr8_pipeline;
vk::Pipeline convert_d24s8_to_abgr8_pipeline;
vk::Pipeline convert_s8d24_to_abgr8_pipeline;
+ vk::Pipeline convert_d32f_to_bgra8_pipeline;
};
} // namespace Vulkan