GLSL edge intersection optimization; debugging