Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WebGPU] Add support for dual-source blending ("dual-source-blending" feature) in WGSL #36394

Open
2 tasks done
Tracked by #591
chrisdavidmills opened this issue Oct 17, 2024 · 2 comments
Open
2 tasks done
Tracked by #591
Assignees

Comments

@chrisdavidmills
Copy link
Contributor

chrisdavidmills commented Oct 17, 2024

See https://developer.chrome.com/blog/new-in-webgpu-130#dual_source_blending for change description.

Acceptance criteria

  • Update dstFactor to include the updated list of blend factors (see https://gpuweb.github.io/gpuweb/#enumdef-gpublendfactor) and mention that the dual-source-blending feature is needed to use src1, one-minus-src1, src1-alpha, and one-minus-src1-alpha.
  • Add BCD data points for this feature (to GPUSupportedFeatures, and GPUDevice.createRenderPipeline/GPUDevice.createRenderPipelineAsync) — this shipped in Chrome 130.
@github-actions github-actions bot added Content:WebAPI Web API docs needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. labels Oct 17, 2024
@Josh-Cena Josh-Cena added area: WebGPU and removed needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. labels Oct 17, 2024
@chrisdavidmills chrisdavidmills self-assigned this Oct 18, 2024
@chrisdavidmills chrisdavidmills changed the title [WebGPU] Add support for Support for dual-source blending ("dual-source-blending" feature) in WGSL [WebGPU] Add support for dual-source blending ("dual-source-blending" feature) in WGSL Oct 18, 2024
@chrisdavidmills
Copy link
Contributor Author

Content PR: #36398

@chrisdavidmills
Copy link
Contributor Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants