mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 08:58:02 +02:00
r300g: don't call u_trim_pipe_prim in r300_swtcl_draw_vbo
This was dead code anyway.
This commit is contained in:
parent
89ce12a2d2
commit
21e3c585f7
1 changed files with 0 additions and 5 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue