From 63a00f617173d658ca011d9bc27401dbb947671e Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Mon, 5 Jul 2021 21:28:22 +0900 Subject: [PATCH] internal/graphicsdriver/metal/mtl: Bug fix: Test failure Closes #1696 --- internal/graphicsdriver/metal/mtl/example_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/graphicsdriver/metal/mtl/example_test.go b/internal/graphicsdriver/metal/mtl/example_test.go index b66904ead..2326ab513 100644 --- a/internal/graphicsdriver/metal/mtl/example_test.go +++ b/internal/graphicsdriver/metal/mtl/example_test.go @@ -132,6 +132,7 @@ fragment float4 FragmentShader(Vertex in [[stage_in]]) { rpld.VertexFunction = vs rpld.FragmentFunction = fs rpld.ColorAttachments[0].PixelFormat = mtl.PixelFormatRGBA8UNorm + rpld.ColorAttachments[0].WriteMask = mtl.ColorWriteMaskAll rps, err := device.MakeRenderPipelineState(rpld) if err != nil { log.Fatalln(err)