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

Relax color attachment validation #2469

Closed
kvark opened this issue Feb 9, 2022 · 1 comment
Closed

Relax color attachment validation #2469

kvark opened this issue Feb 9, 2022 · 1 comment
Labels
area: api Issues related to API surface help wanted Contributions encouraged

Comments

@kvark
Copy link
Member

kvark commented Feb 9, 2022

See gpuweb/gpuweb#2562, which covers 2 of the issues linked from there:

  1. We need to make the color attachments Option-al in render pipelines, render passes, and render bundles
  2. We need to allow shaders to have more outputs than the pipeline has. (maybe we already allow that?)
@teoxoy
Copy link
Member

teoxoy commented Dec 5, 2022

This has been done in #2778 and #2822.

@teoxoy teoxoy closed this as completed Dec 5, 2022
cwfitzgerald pushed a commit that referenced this issue Oct 25, 2023
Generate `vec4(1.0)` instead of `vec4<f32>(1.0)`, since WGSL requires
us to infer the type parameter anyway.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: api Issues related to API surface help wanted Contributions encouraged
Projects
None yet
Development

No branches or pull requests

2 participants