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 discard test for no storage buffers #4093

Merged
merged 2 commits into from
Dec 17, 2024

Conversation

greggman
Copy link
Contributor

No description provided.

@greggman greggman requested a review from alan-baker December 16, 2024 04:45
Copy link
Contributor

@alan-baker alan-baker left a comment

Choose a reason for hiding this comment

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

Still reviewing, but what do you you think instead about making the choice between framebuffer and storage buffer a subcase to each test and skip the storage buffer version on compat implementations that don't support them? To me, the benefit would be that the same tests are run everywhere so and it's not the case that the test functions differently depending on the hardware. It also ensures we cover discard functionality more thoroughly.

@greggman
Copy link
Contributor Author

sgtm. i"ll update

@greggman
Copy link
Contributor Author

updated. please take a look.

@greggman
Copy link
Contributor Author

greggman commented Dec 17, 2024

ah, I made them cases, would you prefer subcases? There appears to be only one expectation in dawn related to this and it should be fine is I think.

@greggman greggman enabled auto-merge (squash) December 17, 2024 22:46
@greggman greggman merged commit 40d0e32 into gpuweb:main Dec 17, 2024
1 check passed
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