diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/video_core/renderer_opengl/gl_sampler_cache.h | 4 | ||||
| -rw-r--r-- | src/video_core/renderer_vulkan/vk_sampler_cache.h | 7 |
2 files changed, 4 insertions, 7 deletions
diff --git a/src/video_core/renderer_opengl/gl_sampler_cache.h b/src/video_core/renderer_opengl/gl_sampler_cache.h index defbc2d81..34ee37f00 100644 --- a/src/video_core/renderer_opengl/gl_sampler_cache.h +++ b/src/video_core/renderer_opengl/gl_sampler_cache.h | |||
| @@ -17,9 +17,9 @@ public: | |||
| 17 | ~SamplerCacheOpenGL(); | 17 | ~SamplerCacheOpenGL(); |
| 18 | 18 | ||
| 19 | protected: | 19 | protected: |
| 20 | OGLSampler CreateSampler(const Tegra::Texture::TSCEntry& tsc) const; | 20 | OGLSampler CreateSampler(const Tegra::Texture::TSCEntry& tsc) const override; |
| 21 | 21 | ||
| 22 | GLuint ToSamplerType(const OGLSampler& sampler) const; | 22 | GLuint ToSamplerType(const OGLSampler& sampler) const override; |
| 23 | }; | 23 | }; |
| 24 | 24 | ||
| 25 | } // namespace OpenGL | 25 | } // namespace OpenGL |
diff --git a/src/video_core/renderer_vulkan/vk_sampler_cache.h b/src/video_core/renderer_vulkan/vk_sampler_cache.h index 771b05c73..1f73b716b 100644 --- a/src/video_core/renderer_vulkan/vk_sampler_cache.h +++ b/src/video_core/renderer_vulkan/vk_sampler_cache.h | |||
| @@ -4,9 +4,6 @@ | |||
| 4 | 4 | ||
| 5 | #pragma once | 5 | #pragma once |
| 6 | 6 | ||
| 7 | #include <unordered_map> | ||
| 8 | |||
| 9 | #include "common/common_types.h" | ||
| 10 | #include "video_core/renderer_vulkan/declarations.h" | 7 | #include "video_core/renderer_vulkan/declarations.h" |
| 11 | #include "video_core/sampler_cache.h" | 8 | #include "video_core/sampler_cache.h" |
| 12 | #include "video_core/textures/texture.h" | 9 | #include "video_core/textures/texture.h" |
| @@ -21,9 +18,9 @@ public: | |||
| 21 | ~VKSamplerCache(); | 18 | ~VKSamplerCache(); |
| 22 | 19 | ||
| 23 | protected: | 20 | protected: |
| 24 | UniqueSampler CreateSampler(const Tegra::Texture::TSCEntry& tsc) const; | 21 | UniqueSampler CreateSampler(const Tegra::Texture::TSCEntry& tsc) const override; |
| 25 | 22 | ||
| 26 | vk::Sampler ToSamplerType(const UniqueSampler& sampler) const; | 23 | vk::Sampler ToSamplerType(const UniqueSampler& sampler) const override; |
| 27 | 24 | ||
| 28 | private: | 25 | private: |
| 29 | const VKDevice& device; | 26 | const VKDevice& device; |