Switched the triangle shader to use the vertex attribute. Cleaned up draw states.