|
|
@ -4,9 +4,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
|
|
#include <unordered_map>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#include "common/common_types.h"
|
|
|
|
|
|
|
|
#include "video_core/renderer_vulkan/declarations.h"
|
|
|
|
#include "video_core/renderer_vulkan/declarations.h"
|
|
|
|
#include "video_core/sampler_cache.h"
|
|
|
|
#include "video_core/sampler_cache.h"
|
|
|
|
#include "video_core/textures/texture.h"
|
|
|
|
#include "video_core/textures/texture.h"
|
|
|
@ -21,9 +18,9 @@ public:
|
|
|
|
~VKSamplerCache();
|
|
|
|
~VKSamplerCache();
|
|
|
|
|
|
|
|
|
|
|
|
protected:
|
|
|
|
protected:
|
|
|
|
UniqueSampler CreateSampler(const Tegra::Texture::TSCEntry& tsc) const;
|
|
|
|
UniqueSampler CreateSampler(const Tegra::Texture::TSCEntry& tsc) const override;
|
|
|
|
|
|
|
|
|
|
|
|
vk::Sampler ToSamplerType(const UniqueSampler& sampler) const;
|
|
|
|
vk::Sampler ToSamplerType(const UniqueSampler& sampler) const override;
|
|
|
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
private:
|
|
|
|
const VKDevice& device;
|
|
|
|
const VKDevice& device;
|
|
|
|