summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authoryzct12345 <87620833+yzct12345@users.noreply.github.com>2021-08-07 03:27:47 +0200
committerGitHub <noreply@github.com>2021-08-07 03:27:47 +0200
commite80323b8b070c42a8846a23200f9a36787f790d8 (patch)
tree574196c855147153d8f38e1f92dfe5c639b26daf /src
parenttexture_cache: Don't change copyright year (diff)
downloadyuzu-e80323b8b070c42a8846a23200f9a36787f790d8.tar
yuzu-e80323b8b070c42a8846a23200f9a36787f790d8.tar.gz
yuzu-e80323b8b070c42a8846a23200f9a36787f790d8.tar.bz2
yuzu-e80323b8b070c42a8846a23200f9a36787f790d8.tar.lz
yuzu-e80323b8b070c42a8846a23200f9a36787f790d8.tar.xz
yuzu-e80323b8b070c42a8846a23200f9a36787f790d8.tar.zst
yuzu-e80323b8b070c42a8846a23200f9a36787f790d8.zip
Diffstat (limited to 'src')
-rw-r--r--src/video_core/renderer_opengl/gl_texture_cache.cpp1
-rw-r--r--src/video_core/renderer_vulkan/vk_texture_cache.cpp2
-rw-r--r--src/video_core/texture_cache/texture_cache.h2
-rw-r--r--src/video_core/texture_cache/texture_cache_base.h10
4 files changed, 5 insertions, 10 deletions
diff --git a/src/video_core/renderer_opengl/gl_texture_cache.cpp b/src/video_core/renderer_opengl/gl_texture_cache.cpp
index 53848ca5e..b0aee6cc1 100644
--- a/src/video_core/renderer_opengl/gl_texture_cache.cpp
+++ b/src/video_core/renderer_opengl/gl_texture_cache.cpp
@@ -18,6 +18,7 @@
#include "video_core/renderer_opengl/maxwell_to_gl.h"
#include "video_core/renderer_opengl/util_shaders.h"
#include "video_core/surface.h"
+#include "video_core/texture_cache/formatter.h"
#include "video_core/texture_cache/samples_helper.h"
namespace OpenGL {
diff --git a/src/video_core/renderer_vulkan/vk_texture_cache.cpp b/src/video_core/renderer_vulkan/vk_texture_cache.cpp
index 8e029bcb3..8f4df7122 100644
--- a/src/video_core/renderer_vulkan/vk_texture_cache.cpp
+++ b/src/video_core/renderer_vulkan/vk_texture_cache.cpp
@@ -19,6 +19,8 @@
#include "video_core/renderer_vulkan/vk_scheduler.h"
#include "video_core/renderer_vulkan/vk_staging_buffer_pool.h"
#include "video_core/renderer_vulkan/vk_texture_cache.h"
+#include "video_core/texture_cache/formatter.h"
+#include "video_core/texture_cache/samples_helper.h"
#include "video_core/vulkan_common/vulkan_device.h"
#include "video_core/vulkan_common/vulkan_memory_allocator.h"
#include "video_core/vulkan_common/vulkan_wrapper.h"
diff --git a/src/video_core/texture_cache/texture_cache.h b/src/video_core/texture_cache/texture_cache.h
index d7fe87514..40953afb7 100644
--- a/src/video_core/texture_cache/texture_cache.h
+++ b/src/video_core/texture_cache/texture_cache.h
@@ -4,6 +4,8 @@
#pragma once
+#include "video_core/dirty_flags.h"
+#include "video_core/texture_cache/samples_helper.h"
#include "video_core/texture_cache/texture_cache_base.h"
namespace VideoCommon {
diff --git a/src/video_core/texture_cache/texture_cache_base.h b/src/video_core/texture_cache/texture_cache_base.h
index 09474b823..b72448c0d 100644
--- a/src/video_core/texture_cache/texture_cache_base.h
+++ b/src/video_core/texture_cache/texture_cache_base.h
@@ -4,12 +4,8 @@
#pragma once
-#include <algorithm>
#include <array>
-#include <bit>
-#include <memory>
#include <mutex>
-#include <optional>
#include <span>
#include <type_traits>
#include <unordered_map>
@@ -22,11 +18,9 @@
#include "common/alignment.h"
#include "common/common_types.h"
#include "common/literals.h"
-#include "common/logging/log.h"
#include "common/settings.h"
#include "video_core/compatible_formats.h"
#include "video_core/delayed_destruction_ring.h"
-#include "video_core/dirty_flags.h"
#include "video_core/engines/fermi_2d.h"
#include "video_core/engines/kepler_compute.h"
#include "video_core/engines/maxwell_3d.h"
@@ -34,14 +28,10 @@
#include "video_core/rasterizer_interface.h"
#include "video_core/surface.h"
#include "video_core/texture_cache/descriptor_table.h"
-#include "video_core/texture_cache/format_lookup_table.h"
-#include "video_core/texture_cache/formatter.h"
#include "video_core/texture_cache/image_base.h"
#include "video_core/texture_cache/image_info.h"
-#include "video_core/texture_cache/image_view_base.h"
#include "video_core/texture_cache/image_view_info.h"
#include "video_core/texture_cache/render_targets.h"
-#include "video_core/texture_cache/samples_helper.h"
#include "video_core/texture_cache/slot_vector.h"
#include "video_core/texture_cache/types.h"
#include "video_core/texture_cache/util.h"