OK, this is a cross-post from StackOverflow... but probably is better suited for this forum, hence!

Back story, I had some 3D code that I noticed wouldn't render in a strict core profile but fine...