summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/cell/ppu
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2008-02-28 18:02:05 -0700
committerBrian <brian.paul@tungstengraphics.com>2008-02-28 18:02:05 -0700
commitebe3b34ad225e320a09bb4069ce4d24808386327 (patch)
treed77024b3ed98a146bdeab5371ae45dc9d214095d /src/gallium/drivers/cell/ppu
parent6144c2bd65974f4e5b74936e26451a1ad75cb349 (diff)
cell: convert all points/lines to tris for the time being
Allows more programs to look correct. We'll want native points/lines someday.
Diffstat (limited to 'src/gallium/drivers/cell/ppu')
-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 2301df5ba5..ccbbd1d331 100644
--- a/src/gallium/drivers/cell/ppu/cell_context.c
+++ b/src/gallium/drivers/cell/ppu/cell_context.c
@@ -128,6 +128,10 @@ cell_create_context(struct pipe_screen *screen,
cell_init_vbuf(cell);
draw_set_rasterize_stage(cell->draw, cell->vbuf);
+ /* convert all points/lines to tris for the time being */
+ draw_wide_point_threshold(cell->draw, 0.0);
+ draw_wide_line_threshold(cell->draw, 0.0);
+
/*
* SPU stuff
*/