diff options
author | Marek Olšák <maraeo@gmail.com> | 2011-10-23 20:29:06 +0200 |
---|---|---|
committer | Marek Olšák <maraeo@gmail.com> | 2011-10-23 20:29:06 +0200 |
commit | 21e3c585f7c59fa909f6bb485a99bad33119a186 (patch) | |
tree | 8855448979d5fc20a3775997829cf27d5a7bb453 | |
parent | 89ce12a2d20b6662abb7240c1becba11d53b215a (diff) |
r300g: don't call u_trim_pipe_prim in r300_swtcl_draw_vbo
This was dead code anyway.
-rw-r--r-- | src/gallium/drivers/r300/r300_render.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/gallium/drivers/r300/r300_render.c b/src/gallium/drivers/r300/r300_render.c index dad6d2fbf5f..eca7c291a1c 100644 --- a/src/gallium/drivers/r300/r300_render.c +++ b/src/gallium/drivers/r300/r300_render.c @@ -801,7 +801,6 @@ static void r300_swtcl_draw_vbo(struct pipe_context* pipe, struct r300_context* r300 = r300_context(pipe); struct pipe_transfer *vb_transfer[PIPE_MAX_ATTRIBS]; struct pipe_transfer *ib_transfer = NULL; - unsigned count = info->count; int i; void *indices = NULL; boolean indexed = info->indexed && r300->index_buffer.buffer; @@ -810,10 +809,6 @@ static void r300_swtcl_draw_vbo(struct pipe_context* pipe, return; } - if (!u_trim_pipe_prim(info->mode, &count)) { - return; - } - r300_update_derived_state(r300); r300_reserve_cs_dwords(r300, |