aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/vk/GrVkSampler.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpu/vk/GrVkSampler.h')
-rw-r--r--src/gpu/vk/GrVkSampler.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gpu/vk/GrVkSampler.h b/src/gpu/vk/GrVkSampler.h
index 369b1627b3..963060239f 100644
--- a/src/gpu/vk/GrVkSampler.h
+++ b/src/gpu/vk/GrVkSampler.h
@@ -12,18 +12,18 @@
#include "vk/GrVkDefines.h"
-class GrTextureParams;
+class GrSamplerParams;
class GrVkGpu;
class GrVkSampler : public GrVkResource {
public:
- static GrVkSampler* Create(const GrVkGpu* gpu, const GrTextureParams&, uint32_t mipLevels);
+ static GrVkSampler* Create(const GrVkGpu* gpu, const GrSamplerParams&, uint32_t mipLevels);
VkSampler sampler() const { return fSampler; }
// Helpers for hashing GrVkSampler
- static uint16_t GenerateKey(const GrTextureParams&, uint32_t mipLevels);
+ static uint16_t GenerateKey(const GrSamplerParams&, uint32_t mipLevels);
static const uint16_t& GetKey(const GrVkSampler& sampler) { return sampler.fKey; }
static uint32_t Hash(const uint16_t& key) { return key; }