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

Raise wgpu_hal::MAX_COLOR_TARGETS to 8. #2640

Merged
merged 1 commit into from
May 3, 2022

Conversation

jimblandy
Copy link
Member

The WebGPU specification has hard-coded a limit of 8 on the number of color attachments provided in a GPURenderPassDescriptor's colorAttachments sequence. It seems to me that wgpu_hal must match or exceed that.

The specification doesn't give the limit a name; it just hard-codes 8 in the valid usage section for GPURenderPassDescriptor.

@cwfitzgerald cwfitzgerald merged commit ee3d23d into gfx-rs:master May 3, 2022
@jimblandy jimblandy deleted the raise-max-attachments branch May 13, 2022 18:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants