Store flags in a buffer texture.