i965g: stubs for brw_pipe_vertex.c

This commit is contained in:
Keith Whitwell
2009-11-04 16:03:52 +00:00
parent 7373bc0e02
commit 5f8dde99ed
2 changed files with 16 additions and 1 deletions
+1
View 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 \
+15 -1
View 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
}