Skip to content

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

@lexaknyazev

Description

@lexaknyazev

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions