← Back to release summary

WebGPU: Dual source blending

Category
Graphics
Type
New or changed feature
Status
Enabled by default (Chrome 130)
Intent stage
None

Summary

Functionality added to the WebGPU spec after its first shipment in a browser. Adds the optional GPU feature "dual-source-blending" that enables combining two fragment shader outputs into a single framebuffer. This technique is particularly useful for applications that require complex blending operations, such as those based on Porter-Duff blend modes. By replacing subsequent render passes with a single render pass, dual source blending can enhance performance and flexibility

Motivation

The “dual-source-blending” GPU feature adds additional blend factors and the WGSL @blend_src attribute to allow a fragment shader to blend two color outputs into a single output buffer.

Standards & signals

View on chromestatus.com