So two scenarios:
1. Store attributes of each sprite (around 12 to 16 for each sprite) in a texture buffer and compute the transform matrices in the shader.
2. Compute all transform matrices for each sprite on the cpu and store them in a uniform buffer.
Both would involve instancing. Which one would give the best performance?