From 350737e08f21f395fc659cafcaddf1a44f7a8372 Mon Sep 17 00:00:00 2001 From: Dusty DeWeese Date: Tue, 25 Apr 2023 22:54:37 -0700 Subject: [PATCH] Revert "WIP #5721" This reverts commit f6ef3787f8288c92b2c5c0068b5762cd0cca0f73. --- crates/bevy_ui/src/render/pipeline.rs | 2 +- crates/bevy_ui/src/render/render_pass.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/bevy_ui/src/render/pipeline.rs b/crates/bevy_ui/src/render/pipeline.rs index 42c59ee4b2cf0..84cc74d11ebd7 100644 --- a/crates/bevy_ui/src/render/pipeline.rs +++ b/crates/bevy_ui/src/render/pipeline.rs @@ -115,7 +115,7 @@ impl SpecializedRenderPipeline for UiPipeline { }, depth_stencil: None, multisample: MultisampleState { - count: 4, + count: 1, mask: !0, alpha_to_coverage_enabled: false, }, diff --git a/crates/bevy_ui/src/render/render_pass.rs b/crates/bevy_ui/src/render/render_pass.rs index d31088a5d890a..90e7b6059cecc 100644 --- a/crates/bevy_ui/src/render/render_pass.rs +++ b/crates/bevy_ui/src/render/render_pass.rs @@ -72,7 +72,7 @@ impl Node for UiPassNode { }; let mut render_pass = render_context.begin_tracked_render_pass(RenderPassDescriptor { label: Some("ui_pass"), - color_attachments: &[Some(target.get_color_attachment(Operations { + color_attachments: &[Some(target.get_unsampled_color_attachment(Operations { load: LoadOp::Load, store: true, }))],