Skip to content

Implement vertex buffer input rates.#187

Merged
crud89 merged 8 commits intomainfrom
dev/vertex-buffer-input-rates
Oct 13, 2025
Merged

Implement vertex buffer input rates.#187
crud89 merged 8 commits intomainfrom
dev/vertex-buffer-input-rates

Conversation

@crud89
Copy link
Copy Markdown
Owner

@crud89 crud89 commented Oct 13, 2025

Describe the pull request

This PR adds support for vertex buffer input rates by providing a new VertexBufferInputRate enum to the vertex buffer layout. Input rates allow do provide data on a per-vertex rate (default), or a per-instance rate (previously not possible). This enables an alternative way of providing per-instance data, not requiring bindless techniques. The input rate can also be configured using the builders API.

Furthermore, as there are typically no semantic correspondences to per-instance members, the SemanticName::Arbitrary semantic has been introduced for such cases.

Related issues

@crud89 crud89 added this to the Alpha #05 milestone Oct 13, 2025
@crud89 crud89 self-assigned this Oct 13, 2025
@crud89 crud89 added this to LiteFX Oct 13, 2025
@crud89 crud89 added Vulkan πŸŒ‹ The issue involves the Vulkan backend. DX12 ❎ The issue involves the DX12 backend. labels Oct 13, 2025
@crud89 crud89 linked an issue Oct 13, 2025 that may be closed by this pull request
@crud89 crud89 changed the title Dev/vertex buffer input rates Implement vertex buffer input rates. Oct 13, 2025
@crud89 crud89 moved this to In Progress in LiteFX Oct 13, 2025
@crud89
Copy link
Copy Markdown
Owner Author

crud89 commented Oct 13, 2025

Run: checks

@crud89 crud89 merged commit 7026c2a into main Oct 13, 2025
9 checks passed
@crud89 crud89 deleted the dev/vertex-buffer-input-rates branch October 13, 2025 19:30
@crud89 crud89 moved this from In Progress to v0.5.1 in LiteFX Oct 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

DX12 ❎ The issue involves the DX12 backend. Vulkan πŸŒ‹ The issue involves the Vulkan backend.

Projects

Status: v0.5.1

Development

Successfully merging this pull request may close these issues.

Support vertex buffer input rates.

1 participant