Should this and `xyzToRGB` be builtin GLSL functions?  Are they likely to be used outside of this shader?