Skip to content

Use modern functions for VAO attributes - #1702

Merged
nstlaurent merged 11 commits into
devfrom
vertex-pipeline
Jul 25, 2026
Merged

Use modern functions for VAO attributes#1702
nstlaurent merged 11 commits into
devfrom
vertex-pipeline

Conversation

@nstlaurent

Copy link
Copy Markdown
Collaborator

Use modern functions for VAO attributes when supported. Refactors VAO/VBO combinations into VertexPipeline class. Requires 4.5 or GL_ARB_direct_state_access. This allows Helion to only allocate one VAO per vertex type instead of needing to allocate a VAO for every VBO. Support is checked and will fallback to the old VAO for every VBO that was used previous so older GPUs will still function.

Moves debug label creation to a debug flag since it's really only required for debugging in RenderDoc.

@nstlaurent
nstlaurent merged commit f690fb5 into dev Jul 25, 2026
1 check passed
@nstlaurent
nstlaurent deleted the vertex-pipeline branch July 25, 2026 22:37
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

Successfully merging this pull request may close these issues.

1 participant