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

val: copyImageBitmapToTexture should only allow 2d textures #2108

Closed
greggman opened this issue Jan 4, 2023 · 1 comment
Closed

val: copyImageBitmapToTexture should only allow 2d textures #2108

greggman opened this issue Jan 4, 2023 · 1 comment
Assignees

Comments

@greggman
Copy link
Contributor

greggman commented Jan 4, 2023

looking in CopyExternalTextureToImage.spec.ts there's this comment

Note that we don't need to add tests on the destination texture dimension as currently we require
the destination texture should have RENDER_ATTACHMENT usage, which is only allowed to be used on 2D
textures.

So is this test needed?

@greggman greggman self-assigned this Jan 4, 2023
@kainino0x
Copy link
Collaborator

Oh, yeah, someone ran into that while writing other tests. I guess there's nothing we can test here then.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Complete
Development

No branches or pull requests

2 participants