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

Refactor derivative tests for 0 storage buffers. #4091

Merged
merged 2 commits into from
Dec 14, 2024

Conversation

greggman
Copy link
Contributor

@greggman greggman commented Dec 13, 2024

Hey James, I'm trying to go through and refactor tests to not require storage buffers in vertex and fragment shaders where possible.

Most of the time, that means

  • have to store results via rendering
  • have to render to rgba32uint because rgba32float is optional
  • usually requires rendering a single pixel at a time via setViewport

Copy link
Contributor

@jrprice jrprice left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@greggman greggman enabled auto-merge (squash) December 14, 2024 03:26
@greggman greggman merged commit dedb476 into gpuweb:main Dec 14, 2024
1 check passed
@greggman greggman deleted the fragment-builtins branch December 14, 2024 03:31
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