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

skipIfTextureFormatNotUsableAsStorageTexture does not handle bgra8unorm well #3847

Open
alan-baker opened this issue Jul 8, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@alan-baker
Copy link
Contributor

To be used as storage texture, bgra8unorm requires the feature bgra8unorm-storage. This necessitates selecting an appropriate device. However, skipIfTextureFormatNotUsableAsStorageTexture does not consider that feature and filters out the format currently.

The various queries should be updated to take a device so the GPUFeature can be checked. Currently test logic requires not checking the format query if bgra8unorm is used.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant