i965g: stubs for brw_pipe_vertex.c
authorKeith Whitwell <keithw@vmware.com>
Wed, 4 Nov 2009 16:03:52 +0000 (16:03 +0000)
committerKeith Whitwell <keithw@vmware.com>
Wed, 4 Nov 2009 16:03:52 +0000 (16:03 +0000)
src/gallium/drivers/i965/Makefile
src/gallium/drivers/i965/brw_pipe_vertex.c

index 8603907dc2c2fe318341b18f3f5c073d1c47cef4..d7262cf07c6d4a94681ca14e54810d6fc9f155ce 100644 (file)
@@ -33,6 +33,7 @@ C_SOURCES = \
        brw_pipe_flush.c \
        brw_pipe_misc.c \
        brw_pipe_sampler.c \
+       brw_pipe_vertex.c \
        brw_pipe_rast.c \
        brw_sf.c \
        brw_sf_emit.c \
index d1d0d7cd4334c61facbf585d13f86e8c537faf53..0b69718fd83f419825c14b9cc33a842eaabd2fd9 100644 (file)
@@ -1,11 +1,25 @@
+#include "brw_context.h"
 
 
+void 
+brw_pipe_vertex_init( struct brw_context *brw )
+{
+}
+
 
 void 
 brw_pipe_vertex_cleanup( struct brw_context *brw )
 {
-   for (i = 0; i < VERT_ATTRIB_MAX; i++) {
+
+   /* Release bound pipe vertex_buffers
+    */
+
+   /* Release some other stuff
+    */
+#if 0
+   for (i = 0; i < PIPE_MAX_ATTRIBS; i++) {
       brw->sws->bo_unreference(brw->vb.inputs[i].bo);
       brw->vb.inputs[i].bo = NULL;
    }
+#endif
 }