Index: src/gpu/vk/GrVkIndexBuffer.cpp |
diff --git a/src/gpu/vk/GrVkIndexBuffer.cpp b/src/gpu/vk/GrVkIndexBuffer.cpp |
index 02e100d28a250750aa8d4811581696655320499f..c64131842afc2d34d12f9b930b020a15de4afbdb 100644 |
--- a/src/gpu/vk/GrVkIndexBuffer.cpp |
+++ b/src/gpu/vk/GrVkIndexBuffer.cpp |
@@ -13,7 +13,7 @@ GrVkIndexBuffer::GrVkIndexBuffer(GrVkGpu* gpu, const GrVkBuffer::Desc& desc, |
: INHERITED(gpu, desc.fSizeInBytes, kIndex_GrBufferType, |
desc.fDynamic ? kDynamic_GrAccessPattern : kStatic_GrAccessPattern, false) |
, GrVkBuffer(desc, bufferResource) { |
- this->registerWithCache(); |
+ this->registerWithCache(SkBudgeted::kYes); |
} |
GrVkIndexBuffer* GrVkIndexBuffer::Create(GrVkGpu* gpu, size_t size, bool dynamic) { |