r300: Plan for the next state setters.
authorCorbin Simpson <MostAwesomeDude@gmail.com>
Sat, 24 Jan 2009 09:49:57 +0000 (01:49 -0800)
committerCorbin Simpson <MostAwesomeDude@gmail.com>
Mon, 2 Feb 2009 07:30:27 +0000 (23:30 -0800)
src/gallium/drivers/r300/r300_state.c

index 4f9d44bbfd768bd5d72952e8549cd0f5250d82e1..e52d8ec9c21bd99b4313f00f0898f4ccc58e3689 100644 (file)
@@ -732,8 +732,8 @@ static void r300_delete_vs_state(struct pipe_context* pipe, void* state)
     draw_delete_vertex_shader(context->draw, (struct draw_vertex_shader*)state);
 }
 
-void r300_init_state_functions(struct r300_context* r300) {
-
+void r300_init_state_functions(struct r300_context* r300)
+{
     r300->context.create_blend_state = r300_create_blend_state;
     r300->context.bind_blend_state = r300_bind_blend_state;
     r300->context.delete_blend_state = r300_delete_blend_state;
@@ -742,10 +742,14 @@ void r300_init_state_functions(struct r300_context* r300) {
 
     r300->context.set_clip_state = r300_set_clip_state;
 
+    /* XXX r300->context.set_constant_buffer = r300_set_constant_buffer; */
+
     r300->context.create_depth_stencil_alpha_state = r300_create_dsa_state;
     r300->context.bind_depth_stencil_alpha_state = r300_bind_dsa_state;
     r300->context.delete_depth_stencil_alpha_state = r300_delete_dsa_state;
 
+    /* XXX r300->context.set_edgeflags = r300_set_edgeflags; */
+
     r300->context.set_framebuffer_state = r300_set_framebuffer_state;
 
     r300->context.create_fs_state = r300_create_fs_state;
@@ -768,6 +772,9 @@ void r300_init_state_functions(struct r300_context* r300) {
 
     r300->context.set_viewport_state = r300_set_viewport_state;
 
+    /* XXX r300->context.set_vertex_buffers = r300_set_vertex_buffers;
+     * XXX r300->context.set_vertex_elements = r300_set_vertex_elements; */
+
     r300->context.create_vs_state = r300_create_vs_state;
     r300->context.bind_vs_state = r300_bind_vs_state;
     r300->context.delete_vs_state = r300_delete_vs_state;