In my geometry shader that I was using in OpenGL setting a variable once at the beginning and then emitting vertices without resetting it works, but in vulkan if I don't write to that variable between every EmitVertex()
my code will not work properly.
I can't find anything about this in the glsl specification, is there a rule for this and the first case just happens to work? Did anything change moving to spirv?