Index: src/gpu/vk/GrVkStencilAttachment.cpp |
diff --git a/src/gpu/vk/GrVkStencilAttachment.cpp b/src/gpu/vk/GrVkStencilAttachment.cpp |
index 3af5488ed7cb6fbec2dbd57eafcfddf3af2d12f3..a876aea15f9626feadb7f08761dfe2552ffc1dd5 100644 |
--- a/src/gpu/vk/GrVkStencilAttachment.cpp |
+++ b/src/gpu/vk/GrVkStencilAttachment.cpp |
@@ -51,7 +51,7 @@ GrVkStencilAttachment* GrVkStencilAttachment::Create(GrVkGpu* gpu, |
const GrVkImageView* imageView = GrVkImageView::Create(gpu, imageResource->fImage, |
format.fInternalFormat, |
- GrVkImageView::kStencil_Type); |
+ GrVkImageView::kStencil_Type, 1); |
if (!imageView) { |
imageResource->unref(gpu); |
return nullptr; |