diff options
author | Keith Whitwell <keith@tungstengraphics.com> | 2008-04-19 00:43:58 +0100 |
---|---|---|
committer | Keith Whitwell <keith@tungstengraphics.com> | 2008-04-19 00:43:58 +0100 |
commit | c717f1fbe25f16ce6e607b0f7319ce74f9ae99b4 (patch) | |
tree | fc626ebb91bdbbf54fb2261e0482353870b65dc5 /src/gallium/drivers | |
parent | 1b411f894369f6a55c6f11cf650511eaa18a8510 (diff) |
softpipe: don't need to trim prims
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r-- | src/gallium/drivers/softpipe/sp_draw_arrays.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/gallium/drivers/softpipe/sp_draw_arrays.c b/src/gallium/drivers/softpipe/sp_draw_arrays.c index 421509495a..778291dded 100644 --- a/src/gallium/drivers/softpipe/sp_draw_arrays.c +++ b/src/gallium/drivers/softpipe/sp_draw_arrays.c @@ -118,17 +118,6 @@ softpipe_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 - sp->reduced_api_prim = reduced_prim[mode]; if (sp->dirty) |