cell: convert all points/lines to tris for the time being
authorBrian <brian.paul@tungstengraphics.com>
Fri, 29 Feb 2008 01:02:05 +0000 (18:02 -0700)
committerBrian <brian.paul@tungstengraphics.com>
Fri, 29 Feb 2008 01:02:05 +0000 (18:02 -0700)
Allows more programs to look correct.  We'll want native points/lines someday.

src/gallium/drivers/cell/ppu/cell_context.c

index 2301df5ba5253f90d2b015e388c023a5adc4de6c..ccbbd1d331c2c4918fa2257b7f2080c8ff11845d 100644 (file)
@@ -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
     */