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

feat(webgpu): Ability to override render targets on RenderPipeline #2245

Merged
merged 2 commits into from
Sep 4, 2024

Conversation

ibgreen
Copy link
Collaborator

@ibgreen ibgreen commented Sep 3, 2024

For #

Background

  • In WebGPU, pipelines must be created with information about which types of attachments they will be used with.
  • So far we have been making assumptions but as we implement texture support this is becoming an obstacle.

Change List

  • Add new parameters to RenderPipeline and implement on WebGPU
  • Move the preferred*Format fields to device rather than canvas context for easier access

TODO

  • Update caching to consider color targets
  • Docs

@ibgreen ibgreen merged commit d7be0d8 into master Sep 4, 2024
2 checks passed
@ibgreen ibgreen deleted the ib/pipeline-color-targets branch September 4, 2024 02:36
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.

1 participant