Index: src/gpu/vk/GrVkResourceProvider.cpp |
diff --git a/src/gpu/vk/GrVkResourceProvider.cpp b/src/gpu/vk/GrVkResourceProvider.cpp |
index b273e3b65dfde724b887ce1c2d8f277a82cdfb22..3e0dfa028d4c01b45aa23ae1a30f971324b7ffa1 100644 |
--- a/src/gpu/vk/GrVkResourceProvider.cpp |
+++ b/src/gpu/vk/GrVkResourceProvider.cpp |
@@ -79,8 +79,8 @@ GrVkResourceProvider::findOrCreateCompatibleRenderPass(const GrVkRenderTarget& t |
} |
GrVkDescriptorPool* GrVkResourceProvider::findOrCreateCompatibleDescriptorPool( |
- const GrVkDescriptorPool::DescriptorTypeCounts& typeCounts) { |
- return new GrVkDescriptorPool(fGpu, typeCounts); |
+ VkDescriptorType type, uint32_t count) { |
+ return new GrVkDescriptorPool(fGpu, type, count); |
} |
GrVkSampler* GrVkResourceProvider::findOrCreateCompatibleSampler(const GrTextureParams& params) { |