Index: src/gpu/vk/GrVkGpu.cpp |
diff --git a/src/gpu/vk/GrVkGpu.cpp b/src/gpu/vk/GrVkGpu.cpp |
index f87a6f6fbd199b626d28eebc75f66b980f1760d5..38c6059b31f721ab0897c698fcd543cad065b17d 100644 |
--- a/src/gpu/vk/GrVkGpu.cpp |
+++ b/src/gpu/vk/GrVkGpu.cpp |
@@ -128,7 +128,7 @@ GrVkGpu::GrVkGpu(GrContext* context, const GrContextOptions& options, |
// must call this after creating the CommandPool |
fResourceProvider.init(); |
- fCurrentCmdBuffer = fResourceProvider.createCommandBuffer(); |
+ fCurrentCmdBuffer = fResourceProvider.createPrimaryCommandBuffer(); |
SkASSERT(fCurrentCmdBuffer); |
fCurrentCmdBuffer->begin(this); |
} |
@@ -169,7 +169,7 @@ void GrVkGpu::submitCommandBuffer(SyncQueue sync) { |
// Release old command buffer and create a new one |
fCurrentCmdBuffer->unref(this); |
- fCurrentCmdBuffer = fResourceProvider.createCommandBuffer(); |
+ fCurrentCmdBuffer = fResourceProvider.createPrimaryCommandBuffer(); |
SkASSERT(fCurrentCmdBuffer); |
fCurrentCmdBuffer->begin(this); |