summaryrefslogtreecommitdiffstats
path: root/src/mesa/pipe/draw/draw_context.c
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2007-12-11 13:00:12 +0000
committerKeith Whitwell <[email protected]>2007-12-11 13:14:56 +0000
commit48731280d08bef51c406703e82986643e17b4757 (patch)
tree41aff56ce1b14d4b700b0af47cad581bde922619 /src/mesa/pipe/draw/draw_context.c
parent89afc929f4e18165f1043c36844150e78f300cd5 (diff)
gallium: Remove feedback interfaces from pipe driver.
Something similar will return when geometry shaders are added, but for now this interface is not required.
Diffstat (limited to 'src/mesa/pipe/draw/draw_context.c')
-rw-r--r--src/mesa/pipe/draw/draw_context.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/src/mesa/pipe/draw/draw_context.c b/src/mesa/pipe/draw/draw_context.c
index 33727e6547c..179f7ed0d67 100644
--- a/src/mesa/pipe/draw/draw_context.c
+++ b/src/mesa/pipe/draw/draw_context.c
@@ -55,7 +55,6 @@ struct draw_context *draw_create( void )
draw->pipeline.clip = draw_clip_stage( draw );
draw->pipeline.flatshade = draw_flatshade_stage( draw );
draw->pipeline.cull = draw_cull_stage( draw );
- draw->pipeline.feedback = draw_feedback_stage( draw );
draw->pipeline.validate = draw_validate_stage( draw );
draw->pipeline.first = draw->pipeline.validate;
@@ -100,7 +99,6 @@ void draw_destroy( struct draw_context *draw )
draw->pipeline.clip->destroy( draw->pipeline.clip );
draw->pipeline.flatshade->destroy( draw->pipeline.flatshade );
draw->pipeline.cull->destroy( draw->pipeline.cull );
- draw->pipeline.feedback->destroy( draw->pipeline.feedback );
draw->pipeline.validate->destroy( draw->pipeline.validate );
if (draw->pipeline.rasterize)
draw->pipeline.rasterize->destroy( draw->pipeline.rasterize );
@@ -117,13 +115,6 @@ void draw_flush( struct draw_context *draw )
}
-void draw_set_feedback_state( struct draw_context *draw,
- const struct pipe_feedback_state *feedback )
-{
- draw_flush( draw );
- draw->feedback = *feedback;
-}
-
/**
* Register new primitive rasterization/rendering state.
@@ -223,18 +214,6 @@ draw_set_mapped_constant_buffer(struct draw_context *draw,
}
-void
-draw_set_mapped_feedback_buffer(struct draw_context *draw, uint index,
- void *buffer, uint size)
-{
- draw_flush( draw );
-
- assert(index < PIPE_MAX_FEEDBACK_ATTRIBS);
- draw->user.feedback_buffer[index] = buffer;
- draw->user.feedback_buffer_size[index] = size; /* in bytes */
-}
-
-