Skip to content

D3D12: Vertex buffer input: How to use any other slot (from 1 to 31), besides default 0 ? #362

Answered by MarcioAB
MarcioAB asked this question in Q&A
Discussion options

You must be logged in to vote

I was using this slot in SetGraphicsRootDescriptorTable(slot, hMVP) for a constant buffer.
SetGraphicsRootDescriptorTable uses a different kind of slot, so it will be hard-coded with zero for now.

Replies: 3 comments 3 replies

Comment options

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

MarcioAB Oct 7, 2022
Author Sponsor

Comment options

You must be logged in to vote
2 replies
@MarcioAB
Comment options

MarcioAB Oct 7, 2022
Author Sponsor

@MarcioAB
Comment options

MarcioAB Oct 7, 2022
Author Sponsor

Comment options

You must be logged in to vote
0 replies
Answer selected by MarcioAB
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