Quantcast
Channel: GameDev.net
Viewing all articles
Browse latest Browse all 17825

Dynamic offsets for buffer arrays in vkCmdBindDescriptorSets

$
0
0
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?

Viewing all articles
Browse latest Browse all 17825

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>