-
Notifications
You must be signed in to change notification settings - Fork 86
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
Add missing tests for Adapter Capability Guarantees #3107
Conversation
ce06593
to
a5586f6
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Isn't all of this already tested here?
https://gpuweb.github.io/cts/standalone/?q=webgpu:api,validation,capability_checks,limits,*
https://gpuweb.github.io/cts/standalone/?q=webgpu:api,validation,capability_checks,limits seems to about validation, while this is specifically about operation. It doesn't require any pipeline, only
Sadly no, here's an exhaustive list of things that are not tested:
I've noticed some of them that were tested already indeed though. Thanks for catching! See:
I'd be in favor of moving the existing tests in operation as they're not about validation and reflect adapter, not device. |
To stay consistent these seem like they should all be checked in their respective limits test. See: cts/src/webgpu/api/validation/capability_checks/limits/maxBindingsPerBindGroup.spec.ts Line 59 in 2ef3f32
cts/src/webgpu/api/validation/capability_checks/limits/maxColorAttachments.spec.ts Line 105 in 2ef3f32
cts/src/webgpu/api/validation/capability_checks/limits/maxStorageBufferBindingSize.spec.ts Line 147 in 2ef3f32
as examples of similar things being tested. As for whether they belong in operations. There is no operation, they're is just validating that the limits are what they're supposed to be and that when you ask for higher ones you get higher ones. Kai told me to put them in validation so I did but I have no objection to moving them personally. |
a5586f6
to
b7b1046
Compare
I've updated this PR with your suggested changes. Please have a look @greggman . |
b7b1046
to
4e44d4f
Compare
4e44d4f
to
bb4bc23
Compare
Previews, as seen when this build job started (bb4bc23): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Thank you @greggman for reviewing! |
Issue: #3106
This PR adds missing tests for https://gpuweb.github.io/gpuweb/#adapter-capability-guarantees
Requirements for PR author:
.unimplemented()
./** documented */
and new helper files are found inhelper_index.txt
.It works in Chromium with the https://chromium-review.googlesource.com/c/chromium/src/+/4952541 CL.
Requirements for reviewer sign-off:
When landing this PR, be sure to make any necessary issue status updates.