Mesa (master): r300g: Remove do-nothing functions.

Corbin Simpson csimpson at kemper.freedesktop.org
Sat Nov 7 14:48:24 PST 2009


Module: Mesa
Branch: master
Commit: fa6916cfef6a75eacdbf927a02f64a5a37c3b0d9
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=fa6916cfef6a75eacdbf927a02f64a5a37c3b0d9

Author: Corbin Simpson <MostAwesomeDude at gmail.com>
Date:   Sat Nov  7 13:12:15 2009 -0800

r300g: Remove do-nothing functions.

---

 src/gallium/drivers/r300/r300_vbo.c |   12 ------------
 1 files changed, 0 insertions(+), 12 deletions(-)

diff --git a/src/gallium/drivers/r300/r300_vbo.c b/src/gallium/drivers/r300/r300_vbo.c
index 7e88bf3..d3f2ce7 100644
--- a/src/gallium/drivers/r300/r300_vbo.c
+++ b/src/gallium/drivers/r300/r300_vbo.c
@@ -79,15 +79,6 @@ void setup_vertex_attributes(struct r300_context *r300)
     finish_vertex_attribs_setup(r300->vertex_info, r300->aos_count);
 }
 
-/* XXX WTF are these doing? */
-static void setup_vertex_array(struct r300_context *r300, struct pipe_vertex_element *element)
-{
-}
-
-static void finish_vertex_arrays_setup(struct r300_context *r300)
-{
-}
-
 /* XXX move/integrate this with the checks in r300_state_inlines */
 static boolean format_is_supported(enum pipe_format format, int nr_components)
 {
@@ -146,10 +137,7 @@ static void setup_vertex_buffers(struct r300_context *r300)
             /* XXX need to align buffer */
             assert(0);
         }
-        setup_vertex_array(r300, vert_elem);
     }
-
-    finish_vertex_arrays_setup(r300);
 }
 
 /* XXX these shouldn't be asserts since we can work around bad indexbufs */



More information about the mesa-commit mailing list