I have to send a 3x3 matrix to my Vertex Shader in a Dynamic Uniform Buffer Object, but I got stuck when creating the VkDescriptorBufferInfo:
VkDescriptorBufferInfo bufferInfo = {};
bufferInfo.range = ...?
The problem is, my 'limits.minUniformBufferOffsetAlignment' is 32, but a 3x3 matrix is 36, and apart of the dynamic offsets that I know they must be a multiple of that value (so in this case a 3x3 matrix every 0, 64, 128, ...), what about that 'range' field?
I have to write 36 or 64 in there? Thanks.