There is quite some mess going on in that most of the old triangle drawing code is still there, but does almost nothing effectively. Instead values are hardcoded in the shader, however it doesn't support the drawing options the triangle functions expose. E.g. the 'where' variable to set triangle direction doesn't work.