summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>2008-05-22 13:37:48 +0100
committerKeith Whitwell <keith@tungstengraphics.com>2008-05-23 09:16:57 +0100
commita5c3b499fa40f46298389900e74f1db04f99166a (patch)
tree410b1f4dceb8c97161a434fda899e0fd2936adae
parent6f407b072453eb2bb7077a952257a099db4da025 (diff)
draw: fse works with elts, remove assert
-rw-r--r--src/gallium/auxiliary/draw/draw_pt_fetch_shade_emit.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/gallium/auxiliary/draw/draw_pt_fetch_shade_emit.c b/src/gallium/auxiliary/draw/draw_pt_fetch_shade_emit.c
index 984fbb6767..7fefd391a6 100644
--- a/src/gallium/auxiliary/draw/draw_pt_fetch_shade_emit.c
+++ b/src/gallium/auxiliary/draw/draw_pt_fetch_shade_emit.c
@@ -78,11 +78,6 @@ static void fse_prepare( struct draw_pt_middle_end *middle,
boolean need_psize = 0;
- if (draw->pt.user.elts) {
- assert(0);
- return ;
- }
-
if (!draw->render->set_primitive( draw->render,
prim )) {
assert(0);
@@ -250,9 +245,8 @@ static void fse_run_linear( struct draw_pt_middle_end *middle,
}
/* Single routine to fetch vertices, run shader and emit HW verts.
- * Clipping and viewport transformation are done elsewhere --
- * either by the API or on hardware, or for some other reason not
- * required...
+ * Clipping is done elsewhere -- either by the API or on hardware,
+ * or for some other reason not required...
*/
fse->active->run_linear( fse->active,
start, count,