I was looking at glsl-vs-point-size in piglit today and it doesn't
work on gallium.

void main()
{
        gl_Position = vec4(0.0, 0.0, 0.0, 1.0);
        gl_PointSize = 16.0;
        gl_FrontColor = vec4(1.0, 1.0, 1.0, 1.0);
}

Since the vertex shader doesn't have any declared inputs,

we work out the vp in gallium and then in st_draw.c:st_draw_vbo we hit

   if (num_vbuffers == 0 || num_velements == 0)
      return;

Any ideas on what should happen here?

Dave.
_______________________________________________
mesa-dev mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to