summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/cell/ppu
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2008-04-19 00:44:09 +0100
committerKeith Whitwell <[email protected]>2008-04-19 00:44:09 +0100
commit43452886e2e33e33bdc57abe7e0b4af0abbbd2b1 (patch)
treea8ee2a18a1f68114738cfa0ead6ff9101a0654d3 /src/gallium/drivers/cell/ppu
parentc717f1fbe25f16ce6e607b0f7319ce74f9ae99b4 (diff)
cell: don't need to trim prims
Diffstat (limited to 'src/gallium/drivers/cell/ppu')
-rw-r--r--src/gallium/drivers/cell/ppu/cell_draw_arrays.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/gallium/drivers/cell/ppu/cell_draw_arrays.c b/src/gallium/drivers/cell/ppu/cell_draw_arrays.c
index 36af5be5f02..6e08cf6fe88 100644
--- a/src/gallium/drivers/cell/ppu/cell_draw_arrays.c
+++ b/src/gallium/drivers/cell/ppu/cell_draw_arrays.c
@@ -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 );