diff options
author | Liam <byteslice@airmail.cc> | 2024-01-14 04:52:04 +0100 |
---|---|---|
committer | Liam <byteslice@airmail.cc> | 2024-01-31 17:27:20 +0100 |
commit | 9568b310befe19154511afe14709188f641e4951 (patch) | |
tree | 4ed2a065b68970747f2c8280de273d280a1cd985 /src/video_core/renderer_vulkan/present/anti_alias_pass.h | |
parent | renderer_opengl: isolate core presentation code (diff) | |
download | yuzu-9568b310befe19154511afe14709188f641e4951.tar yuzu-9568b310befe19154511afe14709188f641e4951.tar.gz yuzu-9568b310befe19154511afe14709188f641e4951.tar.bz2 yuzu-9568b310befe19154511afe14709188f641e4951.tar.lz yuzu-9568b310befe19154511afe14709188f641e4951.tar.xz yuzu-9568b310befe19154511afe14709188f641e4951.tar.zst yuzu-9568b310befe19154511afe14709188f641e4951.zip |
Diffstat (limited to 'src/video_core/renderer_vulkan/present/anti_alias_pass.h')
-rw-r--r-- | src/video_core/renderer_vulkan/present/anti_alias_pass.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/src/video_core/renderer_vulkan/present/anti_alias_pass.h b/src/video_core/renderer_vulkan/present/anti_alias_pass.h new file mode 100644 index 000000000..c1ec0b9a0 --- /dev/null +++ b/src/video_core/renderer_vulkan/present/anti_alias_pass.h @@ -0,0 +1,27 @@ +// SPDX-FileCopyrightText: Copyright 2024 yuzu Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +#pragma once + +#include "video_core/vulkan_common/vulkan_wrapper.h" + +namespace Vulkan { + +class Scheduler; + +class AntiAliasPass { +public: + virtual ~AntiAliasPass() = default; + virtual VkImageView Draw(Scheduler& scheduler, size_t image_index, VkImage source_image, + VkImageView source_image_view) = 0; +}; + +class NoAA final : public AntiAliasPass { +public: + virtual VkImageView Draw(Scheduler& scheduler, size_t image_index, VkImage source_image, + VkImageView source_image_view) { + return source_image_view; + } +}; + +} // namespace Vulkan |