Skip to content

Performance degradation on Metal devices #14

@codedpalette

Description

@codedpalette

Hello, I've been using this library with medium sized BatchedMeshes (around 2000 instances, 10000+ vertices), when I noticed large frame times (10-15 ms) and memory usage on gpu process around 5-10 GB (tested in Chrome/Safari on MacOS 26). After a bit of research I found this bug which sounds similar to my case, since your library is using flat attribute on varyings. After testing removing flat attribute I can confirm that performance problems go away. I'm not sure if it's necessary in this case, but If you don't want to remove flat the other workaround that I tested and can confirm that it works is using WEBGL_provoking_vertex extension.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions