Skip to content

Change VertexArrayObject when rendering with different shader #1102

@kristiker

Description

@kristiker

We are currently reusing the vao when rendering with simple shaders such as depth_only. This shader only accesses the position attribute, while the vao has more attributes baked in.
This only causes issues on AMD drivers. Could improve performance on others.

Metadata

Metadata

Assignees

No one assigned

    Labels

    RendererRelated to the 3D/2D rendering viewer

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions