Typo using wrong blend GLenum for source alpha
Serialise depth function as part of render state