Hello, yesterday I discovered a weird phenomenon of dynamic uniforms on Android devices.
If I specify the dynamic uniform’s buffer size as [aligned_size * 1024], then nothing is shown.
But [aligned_size * 1023] or [aligned_size * 1025] or even [aligned_size * 30000] are all working well.
It’s not showing anything when the buffer size is a multiple of [aligned_size * 1024].
For testing, I have edited some parts of a Google Vulkan Tutorial and I’d like to share the code.
You can check out “forTestingDynamincUniform” function in VulkanMain.cpp and shader sources.
Am I missing something or doing wrong? Thank you for any help.