diff options
author | Liam <byteslice@airmail.cc> | 2022-10-20 00:45:49 +0200 |
---|---|---|
committer | Liam <byteslice@airmail.cc> | 2022-10-20 00:52:42 +0200 |
commit | 9524e28d206f32898df9e3a02ed67ba1b5c5b20b (patch) | |
tree | daaa94c5d67f97c7cb6350d7184575641d4bd180 /src/video_core/renderer_vulkan/vk_texture_cache.h | |
parent | Merge pull request #9082 from Morph1984/future (diff) | |
download | yuzu-9524e28d206f32898df9e3a02ed67ba1b5c5b20b.tar yuzu-9524e28d206f32898df9e3a02ed67ba1b5c5b20b.tar.gz yuzu-9524e28d206f32898df9e3a02ed67ba1b5c5b20b.tar.bz2 yuzu-9524e28d206f32898df9e3a02ed67ba1b5c5b20b.tar.lz yuzu-9524e28d206f32898df9e3a02ed67ba1b5c5b20b.tar.xz yuzu-9524e28d206f32898df9e3a02ed67ba1b5c5b20b.tar.zst yuzu-9524e28d206f32898df9e3a02ed67ba1b5c5b20b.zip |
Diffstat (limited to 'src/video_core/renderer_vulkan/vk_texture_cache.h')
-rw-r--r-- | src/video_core/renderer_vulkan/vk_texture_cache.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/video_core/renderer_vulkan/vk_texture_cache.h b/src/video_core/renderer_vulkan/vk_texture_cache.h index 0b7ac0df1..7ec0df134 100644 --- a/src/video_core/renderer_vulkan/vk_texture_cache.h +++ b/src/video_core/renderer_vulkan/vk_texture_cache.h @@ -6,6 +6,7 @@ #include <span> #include "shader_recompiler/shader_info.h" +#include "video_core/renderer_vulkan/vk_compute_pass.h" #include "video_core/renderer_vulkan/vk_staging_buffer_pool.h" #include "video_core/texture_cache/image_view_base.h" #include "video_core/texture_cache/texture_cache_base.h" @@ -25,14 +26,15 @@ using VideoCommon::RenderTargets; using VideoCommon::SlotVector; using VideoCore::Surface::PixelFormat; -class ASTCDecoderPass; class BlitImageHelper; +class DescriptorPool; class Device; class Image; class ImageView; class Framebuffer; class RenderPassCache; class StagingBufferPool; +class UpdateDescriptorQueue; class Scheduler; class TextureCacheRuntime { @@ -41,8 +43,9 @@ public: MemoryAllocator& memory_allocator_, StagingBufferPool& staging_buffer_pool_, BlitImageHelper& blit_image_helper_, - ASTCDecoderPass& astc_decoder_pass_, - RenderPassCache& render_pass_cache_); + RenderPassCache& render_pass_cache_, + DescriptorPool& descriptor_pool, + UpdateDescriptorQueue& update_descriptor_queue); void Finish(); @@ -97,8 +100,8 @@ public: MemoryAllocator& memory_allocator; StagingBufferPool& staging_buffer_pool; BlitImageHelper& blit_image_helper; - ASTCDecoderPass& astc_decoder_pass; RenderPassCache& render_pass_cache; + std::optional<ASTCDecoderPass> astc_decoder_pass; const Settings::ResolutionScalingInfo& resolution; constexpr static size_t indexing_slots = 8 * sizeof(size_t); |