Skip to content

Support vertex buffer input rates. #181

@crud89

Description

@crud89

Describe your problem

Currently vertex buffers only support per-vertex input rates. Instancing can only be implemented using resource indexing. We should also support per-instance input rates. In Vulkan this is done per vertex buffer layout, while D3D12 supports to vary this per attribute. For compatibility reasons, we should prefer the Vulkan approach.

Proposed Solution

Add a vertex buffer layout flag to control the input rate.

Metadata

Metadata

Assignees

Labels

DX12 ❎The issue involves the DX12 backend.FeatureNew feature or request.Vulkan 🌋The issue involves the Vulkan backend.

Projects

Status

v0.5.1

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions