Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit c0b41f0

Browse files
committed
Fix VK stencil
1 parent 86d4ccc commit c0b41f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

impeller/renderer/backend/vulkan/surface_vk.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ std::unique_ptr<SurfaceVK> SurfaceVK::WrapSwapchainImage(
6262

6363
TextureDescriptor stencil0_tex;
6464
stencil0_tex.storage_mode = StorageMode::kDevicePrivate;
65-
stencil0_tex.type = TextureType::kTexture2D;
65+
stencil0_tex.type = TextureType::kTexture2DMultisample;
6666
stencil0_tex.sample_count = SampleCount::kCount4;
6767
stencil0_tex.format = context->GetCapabilities()->GetDefaultStencilFormat();
6868
stencil0_tex.size = msaa_tex_desc.size;

0 commit comments

Comments
 (0)