* Keith Whitwell <keith@tungstengraphics.com>
*/
-#include "pipe/p_util.h"
#include "draw_private.h"
#include "draw_context.h"
-#include "draw_prim.h"
-#include "pipe/tgsi/exec/tgsi_core.h"
#define RP_NONE 0
-
+/**
+ * Add a point to the primitive queue.
+ * \param i0 index into user's vertex arrays
+ */
static void do_point( struct draw_context *draw,
unsigned i0 )
{
}
+/**
+ * Add a line to the primitive queue.
+ * \param i0 index into user's vertex arrays
+ * \param i1 index into user's vertex arrays
+ */
static void do_line( struct draw_context *draw,
boolean reset_stipple,
unsigned i0,
prim->v[1] = draw->vcache.get_vertex( draw, i1 );
}
+/**
+ * Add a triangle to the primitive queue.
+ */
static void do_triangle( struct draw_context *draw,
unsigned i0,
unsigned i1,