I am trying to implement a shader storage buffer object in Vulkan. I have successfully implemented a uniform buffer object from this tutorial:
https://vulkan-tutorial.com/Uniform_buffers
I declared the shader storage object in the vertex shader like so:
layout(set = 0, binding = 0) buffer StorageBufferObject { vec4 data[]; };
I searched and replaced all instances of the term “UNIFORM_” in my C++ code with “STORAGE_” and it compiles and runs, but the data is not being read in the shader. What do I have to do to make a shader storage buffer object work?