Is it possible for a shader that isn’t a compute shader to have some kind of means of reading and writing data? I want to implement GPU sculpting where a mesh can be formed iteratively. A regular vertex and frag shader will not be able to remember the last frame’s vertex positions.
I would love to use compute shaders to do this, but I need to support Mac OSX.