Restore PREMULTIPLIED_ALPHA_BLENDING in triangle::msaa pipeline
This commit is contained in:
parent
d0233da8a2
commit
dbbbadfc95
1 changed files with 3 additions and 1 deletions
|
|
@ -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,
|
||||
})],
|
||||
}),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue