| Index: src/gpu/vk/GrVkResourceProvider.h
|
| diff --git a/src/gpu/vk/GrVkResourceProvider.h b/src/gpu/vk/GrVkResourceProvider.h
|
| index 1fdf1441e366d51f824e5e997d27f3c522a8cd7a..4853bf160c9ad4ab62b6775d7ef520d9376368ce 100644
|
| --- a/src/gpu/vk/GrVkResourceProvider.h
|
| +++ b/src/gpu/vk/GrVkResourceProvider.h
|
| @@ -63,7 +63,7 @@ public:
|
|
|
| // Finds or creates a compatible GrVkSampler based on the GrTextureParams.
|
| // The refcount is incremented and a pointer returned.
|
| - GrVkSampler* findOrCreateCompatibleSampler(const GrTextureParams&);
|
| + GrVkSampler* findOrCreateCompatibleSampler(const GrTextureParams&, uint32_t mipLevels);
|
|
|
| sk_sp<GrVkPipelineState> findOrCreateCompatiblePipelineState(const GrPipeline&,
|
| const GrPrimitiveProcessor&,
|
| @@ -136,7 +136,7 @@ private:
|
|
|
| // Stores GrVkSampler objects that we've already created so we can reuse them across multiple
|
| // GrVkPipelineStates
|
| - SkTDynamicHash<GrVkSampler, uint8_t> fSamplers;
|
| + SkTDynamicHash<GrVkSampler, uint16_t> fSamplers;
|
|
|
| // Cache of GrVkPipelineStates
|
| PipelineStateCache* fPipelineStateCache;
|
|
|