Index: src/gpu/vk/GrVkRenderTarget.cpp |
diff --git a/src/gpu/vk/GrVkRenderTarget.cpp b/src/gpu/vk/GrVkRenderTarget.cpp |
index 8ad3968d7639295f74d862b5e74069fe1fd46e81..46099f2bd8eb53276188214b78af03bc77cf2412 100644 |
--- a/src/gpu/vk/GrVkRenderTarget.cpp |
+++ b/src/gpu/vk/GrVkRenderTarget.cpp |
@@ -145,7 +145,7 @@ GrVkRenderTarget::Create(GrVkGpu* gpu, |
// Create Resolve attachment view |
resolveAttachmentView = GrVkImageView::Create(gpu, imageResource->fImage, pixelFormat, |
- GrVkImageView::kColor_Type); |
+ GrVkImageView::kColor_Type, 1); |
if (!resolveAttachmentView) { |
msaaResource->unref(gpu); |
return nullptr; |
@@ -157,7 +157,7 @@ GrVkRenderTarget::Create(GrVkGpu* gpu, |
// Get color attachment view |
const GrVkImageView* colorAttachmentView = GrVkImageView::Create(gpu, colorImage, pixelFormat, |
- GrVkImageView::kColor_Type); |
+ GrVkImageView::kColor_Type, 1); |
if (!colorAttachmentView) { |
if (msaaResource) { |
resolveAttachmentView->unref(gpu); |