diff options
author | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-10-23 06:15:19 +0200 |
---|---|---|
committer | Fernando Sahmkow <fsahmkow27@gmail.com> | 2021-11-16 22:11:32 +0100 |
commit | 47369faaabee9fa47208890ed2945e54f3251f8a (patch) | |
tree | 152f0cd0ee4e55265e3bf6ab8744676f8b7ce784 /src/video_core/renderer_vulkan | |
parent | Presentation: Only use FP16 in scaling shaders on supported devices in Vulkan (diff) | |
download | yuzu-47369faaabee9fa47208890ed2945e54f3251f8a.tar yuzu-47369faaabee9fa47208890ed2945e54f3251f8a.tar.gz yuzu-47369faaabee9fa47208890ed2945e54f3251f8a.tar.bz2 yuzu-47369faaabee9fa47208890ed2945e54f3251f8a.tar.lz yuzu-47369faaabee9fa47208890ed2945e54f3251f8a.tar.xz yuzu-47369faaabee9fa47208890ed2945e54f3251f8a.tar.zst yuzu-47369faaabee9fa47208890ed2945e54f3251f8a.zip |
Diffstat (limited to 'src/video_core/renderer_vulkan')
-rw-r--r-- | src/video_core/renderer_vulkan/vk_blit_screen.h | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/src/video_core/renderer_vulkan/vk_blit_screen.h b/src/video_core/renderer_vulkan/vk_blit_screen.h index e8737537e..ad0cd8ee1 100644 --- a/src/video_core/renderer_vulkan/vk_blit_screen.h +++ b/src/video_core/renderer_vulkan/vk_blit_screen.h @@ -34,12 +34,11 @@ namespace Vulkan { struct ScreenInfo; class Device; +class FSR; class RasterizerVulkan; class VKScheduler; class VKSwapchain; -class FSR; - struct VKScreenInfo { VkImageView image_view{}; u32 width{}; @@ -123,7 +122,6 @@ private: vk::DescriptorPool descriptor_pool; vk::DescriptorSetLayout descriptor_set_layout; vk::PipelineLayout pipeline_layout; - vk::Pipeline aa_pipeline; vk::Pipeline nearest_neightbor_pipeline; vk::Pipeline bilinear_pipeline; vk::Pipeline bicubic_pipeline; @@ -144,15 +142,18 @@ private: std::vector<vk::Image> raw_images; std::vector<vk::ImageView> raw_image_views; std::vector<MemoryCommit> raw_buffer_commits; - vk::Image aa_image; - vk::ImageView aa_image_view; - MemoryCommit aa_commit; - vk::Framebuffer aa_framebuffer; - vk::RenderPass aa_renderpass; - vk::DescriptorSets aa_descriptor_sets; + vk::DescriptorPool aa_descriptor_pool; vk::DescriptorSetLayout aa_descriptor_set_layout; vk::PipelineLayout aa_pipeline_layout; + vk::Pipeline aa_pipeline; + vk::RenderPass aa_renderpass; + vk::Framebuffer aa_framebuffer; + vk::DescriptorSets aa_descriptor_sets; + vk::Image aa_image; + vk::ImageView aa_image_view; + MemoryCommit aa_commit; + u32 raw_width = 0; u32 raw_height = 0; |