#include "draw/draw_pt.h"
-/* XXX: Shouldn't those two functions below use the '>' operator???
- */
+#if 0
static boolean too_many_elts( struct draw_context *draw,
unsigned elts )
{
return elts > (8 * 1024);
}
+#endif
static INLINE unsigned reduced_prim(unsigned prim)
{
unsigned count )
{
float *out = (float *)out_ptr;
- struct vbuf_render *render = feme->draw->render;
uint i, j;
for (i = 0; i < count; i++) {
static void fetch_emit_prepare( struct draw_pt_middle_end *middle,
unsigned prim )
{
- static const float zero = 0;
struct fetch_emit_middle_end *feme = (struct fetch_emit_middle_end *)middle;
struct draw_context *draw = feme->draw;
const struct vertex_info *vinfo;
};
-
+#if 0
static void emit_R32_FLOAT( const float *attrib,
float **out )
{
(*out)[2] = attrib[2];
(*out) += 3;
}
-
+#endif
static void emit_R32G32B32A32_FLOAT( const float *attrib,
float **out )
{
unsigned prim;
};
+#if 0
static void emit_R32_FLOAT( const float *attrib,
float **out )
{
(*out)[2] = attrib[2];
(*out) += 3;
}
-
+#endif
static void emit_R32G32B32A32_FLOAT( const float *attrib,
float **out )
{