diff options
author | Zack Rusin <[email protected]> | 2013-08-08 15:44:10 -0400 |
---|---|---|
committer | Zack Rusin <[email protected]> | 2013-08-08 20:54:25 -0400 |
commit | 662a4d4a120cb0a07023f00e3c5e4a0809428a53 (patch) | |
tree | ad0d0a704411cdccb2a81ea0599209bb350f8077 /src/gallium/auxiliary/draw/draw_pipe.h | |
parent | 1d425c4c6df2affd3b36b98e28357c59f7f02f58 (diff) |
draw: rewrite primitive assembler
We can't be injecting the primitive id's in the pipeline because
by that time the primitives have already been decomposed. To
properly number the primitives we need to handle the adjacency
primitives by hand. This patch moves the prim id injection into
the original primitive assembler and completely removes the
useless pipeline stage.
Signed-off-by: Zack Rusin <[email protected]>
Reviewed-by: Roland Scheidegger <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/draw/draw_pipe.h')
-rw-r--r-- | src/gallium/auxiliary/draw/draw_pipe.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/gallium/auxiliary/draw/draw_pipe.h b/src/gallium/auxiliary/draw/draw_pipe.h index 70822a41901..7c9ed6c31d9 100644 --- a/src/gallium/auxiliary/draw/draw_pipe.h +++ b/src/gallium/auxiliary/draw/draw_pipe.h @@ -91,10 +91,6 @@ extern struct draw_stage *draw_stipple_stage( struct draw_context *context ); extern struct draw_stage *draw_wide_line_stage( struct draw_context *context ); extern struct draw_stage *draw_wide_point_stage( struct draw_context *context ); extern struct draw_stage *draw_validate_stage( struct draw_context *context ); -extern struct draw_stage *draw_ia_stage(struct draw_context *context); - -boolean draw_ia_stage_required(const struct draw_context *context, - unsigned prim); extern void draw_free_temp_verts( struct draw_stage *stage ); extern boolean draw_alloc_temp_verts( struct draw_stage *stage, unsigned nr ); @@ -108,9 +104,6 @@ void draw_pipe_passthrough_point(struct draw_stage *stage, struct prim_header *h void draw_unfilled_prepare_outputs(struct draw_context *context, struct draw_stage *stage); -void draw_ia_prepare_outputs(struct draw_context *context, - struct draw_stage *stage); - /** * Get a writeable copy of a vertex. |