Skip to content

pass vertexbuffer and indexbuffer into the ssbo #944

Answered by robertosfield
WdsPjm asked this question in Q&A
Discussion options

You must be logged in to vote

I have attempted the combination of usage you are trying, the closest example I can think of is vsgcomputevertex that uses VK_DESCRIPTOR_TYPE_STORAGE_BUFFER for passing data from a compute shader to the vertex shader, do a search for all the instances of VK_DESCRIPTOR_TYPE_STORAGE_BUFFER to see it how the DescriptorBuffer is setup and used:

https://github.com/vsg-dev/vsgExamples/blob/master/examples/state/vsgcomputevertex/vsgcomputevertex.cpp#L77

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by WdsPjm
Comment options

You must be logged in to vote
3 replies
@WdsPjm
Comment options

@Tetane
Comment options

@robertosfield
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants