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