summaryrefslogtreecommitdiff
path: root/src/gallium
diff options
context:
space:
mode:
authorKeith Whitwell <keithw@vmware.com>2009-11-04 16:03:52 +0000
committerKeith Whitwell <keithw@vmware.com>2009-11-04 16:03:52 +0000
commit5f8dde99ed62beaf1c2590515c33ed8b5076ed8d (patch)
tree24ee86b37f875ca0ed231c57a26b9715d9c0aaaa /src/gallium
parent7373bc0e0294d68bc3e64f4a6de1bb4ec3132f02 (diff)
i965g: stubs for brw_pipe_vertex.c
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/i965/Makefile1
-rw-r--r--src/gallium/drivers/i965/brw_pipe_vertex.c16
2 files changed, 16 insertions, 1 deletions
diff --git a/src/gallium/drivers/i965/Makefile b/src/gallium/drivers/i965/Makefile
index 8603907dc2..d7262cf07c 100644
--- a/src/gallium/drivers/i965/Makefile
+++ b/src/gallium/drivers/i965/Makefile
@@ -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 \
diff --git a/src/gallium/drivers/i965/brw_pipe_vertex.c b/src/gallium/drivers/i965/brw_pipe_vertex.c
index d1d0d7cd43..0b69718fd8 100644
--- a/src/gallium/drivers/i965/brw_pipe_vertex.c
+++ b/src/gallium/drivers/i965/brw_pipe_vertex.c
@@ -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
}