summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/draw/draw_pt.c
diff options
context:
space:
mode:
authorJakob Bornecrantz <[email protected]>2010-12-05 21:19:12 +0100
committerStéphane Marchesin <[email protected]>2012-01-26 01:38:36 -0800
commit4a79545bdfb9e948329a761ef350eb83a3d87496 (patch)
treec862e9ca12bf7c63a2a91343c91dddf1c051edea /src/gallium/auxiliary/draw/draw_pt.c
parent8b902056d53e0e14f7d58ac7f95091ab06abc72e (diff)
draw: Remove reduced_prim
Conflicts: src/gallium/auxiliary/draw/draw_context.c Reviewed-by: Stéphane Marchesin <[email protected]> Tested-by: Stéphane Marchesin <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/draw/draw_pt.c')
-rw-r--r--src/gallium/auxiliary/draw/draw_pt.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/gallium/auxiliary/draw/draw_pt.c b/src/gallium/auxiliary/draw/draw_pt.c
index 080e03dd46f..9a017fd0567 100644
--- a/src/gallium/auxiliary/draw/draw_pt.c
+++ b/src/gallium/auxiliary/draw/draw_pt.c
@@ -420,7 +420,6 @@ void
draw_vbo(struct draw_context *draw,
const struct pipe_draw_info *info)
{
- unsigned reduced_prim = u_reduced_prim(info->mode);
unsigned instance;
unsigned index_limit;
@@ -435,11 +434,6 @@ draw_vbo(struct draw_context *draw,
draw->pt.user.min_index = info->min_index;
draw->pt.user.max_index = info->max_index;
- if (reduced_prim != draw->reduced_prim) {
- draw_do_flush(draw, DRAW_FLUSH_STATE_CHANGE);
- draw->reduced_prim = reduced_prim;
- }
-
if (0)
debug_printf("draw_vbo(mode=%u start=%u count=%u):\n",
info->mode, info->start, info->count);