-
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
Compat: fix float16(32)-renderable tests #4148
Conversation
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.
See comments.
I think the whole selectDeviceOrSkipTestCase
system needs to be refactored.
Instead, off the top of my head,
- If no adapter has been requested then request one
- For each "selectXOrSkipTestCase" it should check the adapter, if no then skip, otherwise, add the requirements to some
deviceDescriptor
- Only the end when the test actually starts (
GPUTestSubcaseBatchState.postInit
?) should it actually make the device request.
As it is, only one feature can be selected.
I'm not sure that's the best design. Maybe you have other ideas. But, somehow the requirements need to be accumulated.
src/webgpu/api/operation/render_pipeline/pipeline_output_targets.spec.ts
Outdated
Show resolved
Hide resolved
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.
with #4150 in this PR should work now
6e707f8
to
c02fc90
Compare
Thanks for the refactor! |
Fix by requesting
float16-renderable
andfloat32-renderable
for related tests in compat mode.This CL only fixes a subset of the related test (operations)