Index: src/gpu/vk/GrVkFramebuffer.cpp |
diff --git a/src/gpu/vk/GrVkFramebuffer.cpp b/src/gpu/vk/GrVkFramebuffer.cpp |
index d79895ce8ed6d90216fb4ec5c891826dcd747d2b..49c6e414fc110e4d1e5fc5724976d95d749656b6 100644 |
--- a/src/gpu/vk/GrVkFramebuffer.cpp |
+++ b/src/gpu/vk/GrVkFramebuffer.cpp |
@@ -20,7 +20,7 @@ GrVkFramebuffer* GrVkFramebuffer::Create(GrVkGpu* gpu, |
// At the very least we need a renderPass and a colorAttachment |
SkASSERT(renderPass); |
SkASSERT(colorAttachment); |
- |
+ |
VkImageView attachments[3]; |
attachments[0] = colorAttachment->imageView(); |
int numAttachments = 1; |
@@ -30,7 +30,7 @@ GrVkFramebuffer* GrVkFramebuffer::Create(GrVkGpu* gpu, |
if (stencilAttachment) { |
attachments[numAttachments++] = stencilAttachment->imageView(); |
} |
- |
+ |
VkFramebufferCreateInfo createInfo; |
memset(&createInfo, 0, sizeof(VkFramebufferCreateInfo)); |
createInfo.sType = VK_STRUCTURE_TYPE_FRAMEBUFFER_CREATE_INFO; |
@@ -42,7 +42,7 @@ GrVkFramebuffer* GrVkFramebuffer::Create(GrVkGpu* gpu, |
createInfo.width = width; |
createInfo.height = height; |
createInfo.layers = 1; |
- |
+ |
VkFramebuffer framebuffer; |
VkResult err = GR_VK_CALL(gpu->vkInterface(), CreateFramebuffer(gpu->device(), |
&createInfo, |
@@ -59,5 +59,3 @@ void GrVkFramebuffer::freeGPUData(const GrVkGpu* gpu) const { |
SkASSERT(fFramebuffer); |
GR_VK_CALL(gpu->vkInterface(), DestroyFramebuffer(gpu->device(), fFramebuffer, nullptr)); |
} |
- |
- |