Use premultiplied colors in triangle pipelines
This commit is contained in:
parent
df37d6f9bc
commit
098bd1b8a4
9 changed files with 37 additions and 33 deletions
|
|
@ -74,6 +74,8 @@ impl Pipeline {
|
|||
label: Some("iced_wgpu.quad.solid.shader"),
|
||||
source: wgpu::ShaderSource::Wgsl(std::borrow::Cow::Borrowed(
|
||||
concat!(
|
||||
include_str!("../shader/color.wgsl"),
|
||||
"\n",
|
||||
include_str!("../shader/quad.wgsl"),
|
||||
"\n",
|
||||
include_str!("../shader/vertex.wgsl"),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue