summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/cell/ppu/cell_context.c
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2008-08-25 11:31:59 -0600
committerBrian <brian.paul@tungstengraphics.com>2008-08-25 11:31:59 -0600
commit6ba9fb9b6693904054ad4e1506ba42e324334b0a (patch)
treefdbf892bfba9558b9e263406d739cf3d1517cac0 /src/gallium/drivers/cell/ppu/cell_context.c
parent60ac76175b6457ecc1cd8bd7a25cb79b2d529434 (diff)
cell: asst fixes to get driver building/running again.
Note that SPU vertex transformation is disabled at this time.
Diffstat (limited to 'src/gallium/drivers/cell/ppu/cell_context.c')
-rw-r--r--src/gallium/drivers/cell/ppu/cell_context.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/drivers/cell/ppu/cell_context.c b/src/gallium/drivers/cell/ppu/cell_context.c
index 5af95a3c10..9ff4e86943 100644
--- a/src/gallium/drivers/cell/ppu/cell_context.c
+++ b/src/gallium/drivers/cell/ppu/cell_context.c
@@ -73,11 +73,13 @@ cell_draw_create(struct cell_context *cell)
{
struct draw_context *draw = draw_create();
+#if 0 /* broken */
if (getenv("GALLIUM_CELL_VS")) {
/* plug in SPU-based vertex transformation code */
draw->shader_queue_flush = cell_vertex_shader_queue_flush;
draw->driver_private = cell;
}
+#endif
return draw;
}
@@ -108,6 +110,8 @@ cell_create_context(struct pipe_screen *screen,
cell->pipe.draw_arrays = cell_draw_arrays;
cell->pipe.draw_elements = cell_draw_elements;
+ cell->pipe.draw_range_elements = cell_draw_range_elements;
+ cell->pipe.set_edgeflags = cell_set_edgeflags;
cell->pipe.clear = cell_clear_surface;
cell->pipe.flush = cell_flush;