Advertisement

Dynamic offsets for buffer arrays in vkCmdBindDescriptorSets

Started by September 04, 2017 09:46 PM
0 comments, last by mark_braga 7 years, 5 months ago

If I have an array of storage buffers or constant buffers with descriptor type UNIFORM/STORAGE_BUFFER_DYNAMIC how would I specify the dynamic offsets in bind descriptor sets?

Offsets:

A[0] = 256

A[1] = 1024

A[2] = 4096

A[3] = 8192

Will the dynamic offsets array look like { 256, 1024, ... }? And what will be the dynamicOffsetCount? Will it be 1 or the array size?

This topic is closed to new replies.

Advertisement