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

Texture builtins: move addressMode? to case #4010

Merged

Conversation

greggman
Copy link
Contributor

addressMode is broken on many GPUs. Moving this from a subcase to a case lets us separate out those failures.

I opted to put the parameters in minFilter, addressMode, offset order which means for some builtins I moved minFilter from subcase to case.

This turned into a massive change because the query strings got too long. so had to change

  • addressModeX -> modeX
  • filter to filt
  • clamp-to-edge -> c
  • repeat -> r
  • mirror-repeat -> m
  • viewDimension -> dim
  • fragment -> f
  • compute -> c
  • vertex -> v

Other option would be to move all the tests from
webgpu:shader,execution,expression,call,builtin to webgpu:texture though I'm not sure that would be enough on its own

Note: this takes webgpu:shader,execution,expression,call,builtin,* from 21738 cases to 113546 cases

@greggman greggman requested a review from kainino0x October 21, 2024 07:09
Copy link
Collaborator

@kainino0x kainino0x left a comment

Choose a reason for hiding this comment

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

lgtm! Sorry for the dumb restriction, it originally comes from when we were using WPT to run these tests in Chromium, which we aren't anymore, but I'm pretty sure that at least WebKit runs into similar issues for the same reason (though file path limits on Mac are surely not as bad as Windows)

addressMode is broken on many GPUs. Moving this from a subcase
to a case lets us separate out those failures.

I opted to put the parameters in minFilter, addresMode, offset
order which means for some builtins I moved minFilter from subcase
to case.

This turned into a massive change because the queryStrings got too long.
so had to change

* addressModeX -> modeX
* filter to filt
* clamp-to-edge -> c
* repeat -> r
* mirror-repeat -> m
* viewDimension -> dim
* fragment -> f
* compute -> c
* vertex -> v

Other option would be to move all the tests from
`webgpu:shader,execution,expression,call,builtin` to
`webgpu:texture` though I'm not sure that would be enough on it's own

Note: this takes `webgpu:shader,execution,expression,call,builtin,*`
from 21738 cases to 113546 cases
@greggman greggman force-pushed the texture-builtins-separate-addressMode branch from c644270 to 5ce03df Compare October 21, 2024 21:55
@greggman greggman enabled auto-merge (squash) October 21, 2024 21:56
@greggman greggman merged commit 3290214 into gpuweb:main Oct 21, 2024
1 check passed
@greggman greggman deleted the texture-builtins-separate-addressMode branch October 23, 2024 04:13
teoxoy pushed a commit to mozilla/gpuweb-cts that referenced this pull request Oct 25, 2024
addressMode is broken on many GPUs. Moving this from a subcase
to a case lets us separate out those failures.

I opted to put the parameters in minFilter, addresMode, offset
order which means for some builtins I moved minFilter from subcase
to case.

This turned into a massive change because the queryStrings got too long.
so had to change

* addressModeX -> modeX
* filter to filt
* clamp-to-edge -> c
* repeat -> r
* mirror-repeat -> m
* viewDimension -> dim
* fragment -> f
* compute -> c
* vertex -> v

Other option would be to move all the tests from
`webgpu:shader,execution,expression,call,builtin` to
`webgpu:texture` though I'm not sure that would be enough on it's own

Note: this takes `webgpu:shader,execution,expression,call,builtin,*`
from 21738 cases to 113546 cases
teoxoy pushed a commit to mozilla/gpuweb-cts that referenced this pull request Oct 25, 2024
addressMode is broken on many GPUs. Moving this from a subcase
to a case lets us separate out those failures.

I opted to put the parameters in minFilter, addresMode, offset
order which means for some builtins I moved minFilter from subcase
to case.

This turned into a massive change because the queryStrings got too long.
so had to change

* addressModeX -> modeX
* filter to filt
* clamp-to-edge -> c
* repeat -> r
* mirror-repeat -> m
* viewDimension -> dim
* fragment -> f
* compute -> c
* vertex -> v

Other option would be to move all the tests from
`webgpu:shader,execution,expression,call,builtin` to
`webgpu:texture` though I'm not sure that would be enough on it's own

Note: this takes `webgpu:shader,execution,expression,call,builtin,*`
from 21738 cases to 113546 cases
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