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

Add test for texture creation to check for expected & unexpected errors #2324

Closed
Wumpf opened this issue Dec 28, 2021 · 1 comment
Closed
Labels
area: infrastructure Testing, building, coordinating issues type: enhancement New feature or request

Comments

@Wumpf
Copy link
Member

Wumpf commented Dec 28, 2021

The https://github.com/gfx-rs/wgpu/blob/master/wgpu/tests/clear_texture.rs test does part of that job so and has found plenty of issues. But most importantly it does not check if the right errors are returned / that failures occur as expected.
It's fairly tricky to get full coverage of this issue, but we should at least attempt to tableize it and put into a test. If done cleverly, this can be reuused for operation tests like the ones in clear_texture and others, e.g. using a format for binding etc.

Related #2045, #2057, #2323 (surely more)

@kvark kvark added area: infrastructure Testing, building, coordinating issues type: enhancement New feature or request labels Dec 29, 2021
@cwfitzgerald
Copy link
Member

I think we generally treat this as the job of the WebGPU CTS running through firefox now.

@cwfitzgerald cwfitzgerald closed this as not planned Won't fix, can't repro, duplicate, stale Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: infrastructure Testing, building, coordinating issues type: enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants