Skip to content

Must bind groups start from 0 and be contiguous? #4608

Closed Answered by 9SMTM6
mobile-bungalow asked this question in Q&A
Discussion options

You must be logged in to vote

AFAIK the WebGPU API doesnt allow for that. For the pipeline-layout you pass in the bindgroup-layouts as an array, so the index in that array should correspond with the bindgroup-index.

Only the entries in the bindgroup have their indexes explicitly stated, and I believe you can actually skip entries there.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@9SMTM6
Comment options

Answer selected by mobile-bungalow
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants