summaryrefslogtreecommitdiffstats
path: root/src/mesa/pipe/draw/draw_context.h
diff options
context:
space:
mode:
authorZack Rusin <[email protected]>2007-09-28 04:33:55 -0400
committerZack Rusin <[email protected]>2007-09-28 09:12:20 -0400
commit6dcfddb8e2ec2bfb6187b912807fa65f28da2c5e (patch)
tree66c447fff8d693fa1a39522271bd29735d7828d6 /src/mesa/pipe/draw/draw_context.h
parent7966e479dca22bf2d2b844d50ac5bef70614e15a (diff)
Redoing the way we handle vertex shaders for the draw module.
Diffstat (limited to 'src/mesa/pipe/draw/draw_context.h')
-rw-r--r--src/mesa/pipe/draw/draw_context.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/mesa/pipe/draw/draw_context.h b/src/mesa/pipe/draw/draw_context.h
index 0ccf5f60466..398e96d94d2 100644
--- a/src/mesa/pipe/draw/draw_context.h
+++ b/src/mesa/pipe/draw/draw_context.h
@@ -92,9 +92,12 @@ void draw_set_rasterize_stage( struct draw_context *draw,
struct draw_stage *stage );
-void
-draw_set_vertex_shader(struct draw_context *draw,
- const struct pipe_shader_state *shader);
+void * draw_create_vertex_shader(struct draw_context *draw,
+ const struct pipe_shader_state *shader);
+void draw_bind_vertex_shader(struct draw_context *draw,
+ void *vcso);
+void draw_delete_vertex_shader(struct draw_context *draw,
+ void *vcso);
void