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

Compat: Refactor draw test for 0 storage buffers #4149

Merged
merged 1 commit into from
Jan 16, 2025

Conversation

greggman
Copy link
Contributor

Refactored one test to only optionally use a storage buffer. Refactored another test to be skipped if no storage buffers in fragment shaders.

It's possible the 2nd test is not needed as it seems similar things are tested in src/webgpu/api/operation/vertex_state/correctness.spec.ts.

It's also possible the first test's case of seeing that the fragment shader is not called for certain cases is also tested elsewhere.

Refactored one test to only optionally use a storage buffer.
Refactored another test to be skipped if no storage buffers in
fragment shaders.

It's possible the 2nd test is not needed as it seems similar
things are tested in src/webgpu/api/operation/vertex_state/correctness.spec.ts.

It's also possible the first test's case of seeing that the fragment
shader is not called for certain cases is also tested elsewhere.
@greggman greggman requested a review from shrekshao January 16, 2025 02:11
@greggman greggman merged commit ac3cd91 into gpuweb:main Jan 16, 2025
1 check passed
@greggman greggman deleted the draw-0-sbifs branch January 16, 2025 18:45
@shrekshao
Copy link
Contributor

Yeah it is actually coverred elsewhere. If it fails, vast cts tests should have failed anyway

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