Index: src/gpu/vk/GrVkTransferBuffer.cpp |
diff --git a/src/gpu/vk/GrVkTransferBuffer.cpp b/src/gpu/vk/GrVkTransferBuffer.cpp |
index 43fd3af9a931653fa555fd3e36106a8e4d6c542b..05561119352c430276462716195c6b18df612951 100644 |
--- a/src/gpu/vk/GrVkTransferBuffer.cpp |
+++ b/src/gpu/vk/GrVkTransferBuffer.cpp |
@@ -31,9 +31,10 @@ GrVkTransferBuffer* GrVkTransferBuffer::Create(GrVkGpu* gpu, size_t size, GrVkBu |
GrVkTransferBuffer::GrVkTransferBuffer(GrVkGpu* gpu, const GrVkBuffer::Desc& desc, |
const GrVkBuffer::Resource* bufferResource) |
- : INHERITED(gpu, kCopyRead_Type == desc.fType ? |
- kXferCpuToGpu_GrBufferType : kXferGpuToCpu_GrBufferType, |
- desc.fSizeInBytes, kStream_GrAccessPattern, false) |
+ : INHERITED(gpu, desc.fSizeInBytes, |
+ kCopyRead_Type == desc.fType ? |
+ kXferCpuToGpu_GrBufferType : kXferGpuToCpu_GrBufferType, |
+ kStream_GrAccessPattern, false) |
, GrVkBuffer(desc, bufferResource) { |
this->registerWithCache(); |
} |