mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-15 06:40:27 +01:00
cell: don't need to trim prims
This commit is contained in:
parent
c717f1fbe2
commit
43452886e2
1 changed files with 0 additions and 11 deletions
|
|
@ -101,17 +101,6 @@ cell_draw_elements(struct pipe_context *pipe,
|
|||
struct draw_context *draw = sp->draw;
|
||||
unsigned i;
|
||||
|
||||
/* first, check that the primitive is not malformed. It is the
|
||||
* state tracker's responsibility to do send only correctly formed
|
||||
* primitives down. It currently isn't doing that though...
|
||||
*/
|
||||
#if 1
|
||||
count = draw_trim_prim( mode, count );
|
||||
#else
|
||||
if (!draw_validate_prim( mode, count ))
|
||||
assert(0);
|
||||
#endif
|
||||
|
||||
if (sp->dirty)
|
||||
cell_update_derived( sp );
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue