Skip to content

Add support for WebGPU dual-source blending #8858

@mvaligursky

Description

@mvaligursky

Feature

Add support for dual-source blending (WebGPU dual-source-blending feature + WGSL @blend_src attribute), shipped in Chrome 130.

Dual-source blending lets a fragment shader output two color values (src0/src1) that are both fed into the blend equation, enabling blend factors such as src1 / one-minus-src1. The engine currently does not request the dual-source-blending device feature and has no pipeline/blend-state support for @blend_src.

Benefit

  • Subpixel-accurate font/text antialiasing (per-channel coverage).
  • Advanced compositing and custom blend operations that a single source color cannot express.

Notes

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions