Skip to content

GLB parser incorrect index buffer construction #5869

@LeXXik

Description

@LeXXik

When GLB parser creates an index buffer, it passes a typed array to the constructor, instead of an array buffer. This results in view being a storage in the index buffer, instead of array buffer.

const indexBuffer = new IndexBuffer(device, indexFormat, indices.length, BUFFER_STATIC, indices);

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions