Restore PREMULTIPLIED_ALPHA_BLENDING in triangle::msaa pipeline

This commit is contained in:
Héctor Ramón Jiménez 2024-04-12 18:46:48 +02:00
parent d0233da8a2
commit dbbbadfc95
No known key found for this signature in database
GPG key ID: 4C07CEC81AFA161F

View file

@ -118,7 +118,9 @@ impl Blit {
entry_point: "fs_main",
targets: &[Some(wgpu::ColorTargetState {
format,
blend: Some(wgpu::BlendState::ALPHA_BLENDING),
blend: Some(
wgpu::BlendState::PREMULTIPLIED_ALPHA_BLENDING,
),
write_mask: wgpu::ColorWrites::ALL,
})],
}),