From 21cd7671404085fd0049f975c9ace2c3526bf341 Mon Sep 17 00:00:00 2001 From: John Doty Date: Fri, 1 Sep 2023 11:28:02 -0700 Subject: [PATCH] [oden] Notes on multisampling I tried to enable it and was unable to. --- src/lib.rs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/lib.rs b/src/lib.rs index e54ecec0..71783e23 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -689,6 +689,14 @@ impl State { }, depth_stencil: None, multisample: wgpu::MultisampleState { + // TODO: We could multisample text but it would be the only + // thing we multisampled, and it complicates our use of + // render passes considerably. Specifically, the pass + // needs to be configured to render to a target with + // multisampling enabled, and that is only compatible + // with pipelines that have multisampling + // configured. For now, we don't do this, and remember + // that we could do it someday. count: 1, mask: !0, alpha_to_coverage_enabled: true,