diff options
author | Brian Paul <[email protected]> | 2008-09-04 19:00:56 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2008-09-04 19:00:56 -0600 |
commit | 2ebeab0422e6f492e9f40eebf2be92067de9d6f1 (patch) | |
tree | 8fb7162c0cb61897593930900f7f0870b9fcf280 /src/gallium/drivers/cell/ppu/cell_state_vertex.c | |
parent | 5cf2e226548f08c4b79a4eb289fd636a00079fb3 (diff) |
cell: more cell_init_*_functions()
Diffstat (limited to 'src/gallium/drivers/cell/ppu/cell_state_vertex.c')
-rw-r--r-- | src/gallium/drivers/cell/ppu/cell_state_vertex.c | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/src/gallium/drivers/cell/ppu/cell_state_vertex.c b/src/gallium/drivers/cell/ppu/cell_state_vertex.c index 114684c2a33..fbe55c84721 100644 --- a/src/gallium/drivers/cell/ppu/cell_state_vertex.c +++ b/src/gallium/drivers/cell/ppu/cell_state_vertex.c @@ -35,7 +35,7 @@ #include "draw/draw_context.h" -void +static void cell_set_vertex_elements(struct pipe_context *pipe, unsigned count, const struct pipe_vertex_element *elements) @@ -53,7 +53,7 @@ cell_set_vertex_elements(struct pipe_context *pipe, } -void +static void cell_set_vertex_buffers(struct pipe_context *pipe, unsigned count, const struct pipe_vertex_buffer *buffers) @@ -69,3 +69,11 @@ cell_set_vertex_buffers(struct pipe_context *pipe, draw_set_vertex_buffers(cell->draw, count, buffers); } + + +void +cell_init_vertex_functions(struct cell_context *cell) +{ + cell->pipe.set_vertex_buffers = cell_set_vertex_buffers; + cell->pipe.set_vertex_elements = cell_set_vertex_elements; +} |