Skip to content

VertexAttributeValues supports more VertexFormat#22796

Open
beicause wants to merge 2 commits intobevyengine:mainfrom
beicause:vertex-attribute-values-match-wgpu-vertex-format
Open

VertexAttributeValues supports more VertexFormat#22796
beicause wants to merge 2 commits intobevyengine:mainfrom
beicause:vertex-attribute-values-match-wgpu-vertex-format

Conversation

@beicause
Copy link
Contributor

@beicause beicause commented Feb 3, 2026

Objective

Some wgpu VertexFormats are not supported by VertexAttributeValues.

Solution

Add them to VertexAttributeValues.

Float64 is not supported by any wgpu backends but I added them anyway because wgpu has them.

May require #22187 to be fixed because for vertex formats less than 32 bits the MeshBufferSlice::range is incorrect. But generally vertex attributes are not affected by that issue if indices isn't u16.

Testing

None

@kfc35 kfc35 added A-Rendering Drawing game state to the screen D-Straightforward Simple bug fixes and API improvements, docs, test and examples S-Needs-Review Needs reviewer attention (from anyone!) to move forward labels Feb 3, 2026
@github-project-automation github-project-automation bot moved this to Needs SME Triage in Rendering (2026 Proposal) Feb 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-Rendering Drawing game state to the screen D-Straightforward Simple bug fixes and API improvements, docs, test and examples S-Needs-Review Needs reviewer attention (from anyone!) to move forward

Projects

Status: No status
Status: Needs SME Triage

Development

Successfully merging this pull request may close these issues.

2 participants