Is there a minimum size for the variables in a uniform buffer.
I am looking to pass
1:vec2, 2:float, 3: vec2 to the uniform buffer
What is happening is that the vec2.x of the third component is assigned to the “ghost y” of the second float
Everything works as expected when i have a vec2 vec2 vec2.in the uniform buffer.
Is this a value that needs to be checked e.g. like minUniformBufferOffsetAlignment?
RenderDoc mentions 3 variables, needed 24 bytes. Why does it need 24 bytes for 3 variables?
Any help would be appreciated.
I am almost tempted to thank Alphonso in advance