summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/r300/r300_draw.c
diff options
context:
space:
mode:
authorMaciej Cencora <[email protected]>2009-08-14 17:04:08 +0200
committerMaciej Cencora <[email protected]>2009-08-14 17:10:21 +0200
commitcdaf63d0eac3787c2e153c91925ced5237ed7941 (patch)
treea36021a6815ae4748a258dc74c91cfa0068580b8 /src/mesa/drivers/dri/r300/r300_draw.c
parent9e018d822523e559fa8d92c3b5a83dd5554a0676 (diff)
r300: remove broken vertex splitting
Revert to previous behaviour of dropping to big render operations.
Diffstat (limited to 'src/mesa/drivers/dri/r300/r300_draw.c')
-rw-r--r--src/mesa/drivers/dri/r300/r300_draw.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_draw.c b/src/mesa/drivers/dri/r300/r300_draw.c
index 1d6e6db773d..e261d94eb05 100644
--- a/src/mesa/drivers/dri/r300/r300_draw.c
+++ b/src/mesa/drivers/dri/r300/r300_draw.c
@@ -594,25 +594,12 @@ static void r300DrawPrims(GLcontext *ctx,
GLuint min_index,
GLuint max_index)
{
- struct split_limits limits;
GLboolean retval;
- if (ib)
- limits.max_verts = 0xffffffff;
- else
- limits.max_verts = 65535;
-
- limits.max_indices = 65535;
- limits.max_vb_size = 1024*1024;
-
if (min_index) {
vbo_rebase_prims( ctx, arrays, prim, nr_prims, ib, min_index, max_index, r300DrawPrims );
return;
}
- if ((ib && ib->count > 65535)) {
- vbo_split_prims (ctx, arrays, prim, nr_prims, ib, min_index, max_index, r300DrawPrims, &limits);
- return;
- }
/* Make an attempt at drawing */
retval = r300TryDrawPrims(ctx, arrays, prim, nr_prims, ib, min_index, max_index);