From c9b87b8ad880755fb522cf4abd6d2499022312cf Mon Sep 17 00:00:00 2001 From: Oliver McFadden Date: Wed, 9 May 2007 04:30:16 +0000 Subject: r300: Removed the unused immediate vertices mode macro. Immediate vertices mode hasn't been supported since early CVS versions of the R300 driver. --- src/mesa/drivers/dri/r300/r300_emit.h | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'src') diff --git a/src/mesa/drivers/dri/r300/r300_emit.h b/src/mesa/drivers/dri/r300/r300_emit.h index e4aecba948..cf428524d6 100644 --- a/src/mesa/drivers/dri/r300/r300_emit.h +++ b/src/mesa/drivers/dri/r300/r300_emit.h @@ -272,19 +272,4 @@ fire_AOS(r300ContextPtr rmesa, int vertex_count, int type) type); \ } while (0); -/** - * Interestingly enough this ones needs the call to setup_AOS, even thought - * some of the data so setup is not needed and some is not as arbitrary - * as when used by DRAW_VBUF_2 or DRAW_INDX_2 - */ -#define start_immediate_packet(vertex_count, type, vertex_size) \ - do { \ - int _vc; \ - _vc = (vertex_count); \ - start_packet3(RADEON_CP_PACKET3_3D_DRAW_IMMD_2, \ - _vc*(vertex_size)); \ - e32(R300_VAP_VF_CNTL__PRIM_WALK_VERTEX_EMBEDDED | \ - (_vc<<16) | type); \ - } while (0); - #endif -- cgit v1.2.3