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

Better define valid texture uploads with explicit dimensions from TexImageSource objects #3701

Open
lexaknyazev opened this issue Nov 14, 2024 · 0 comments

Comments

@lexaknyazev
Copy link
Member

WebGL 2.0 supports explicit dimensions for tex[Sub]Image{2|3}D calls with TexImageSource input data. The spec should define valid ranges for width, height, and depth parameters.

Additionally, all of these entrypoints should be tested with all image source (Image, Canvas, etc) and texture (2D, 3D, ...) types and preferably with all mip levels filled.

Relevant Chromium bug: https://issues.chromium.org/issues/40910322.

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

No branches or pull requests

1 participant