From 6ed0f2ac112d22278cf051c2cee9c2199a9025ea Mon Sep 17 00:00:00 2001 From: José Fonseca Date: Fri, 11 Feb 2011 11:22:02 +0000 Subject: svga: Enable the draw pipeline for smooth lines. Spotted by Brian Paul. --- src/gallium/drivers/svga/svga_pipe_rasterizer.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/gallium/drivers/svga') diff --git a/src/gallium/drivers/svga/svga_pipe_rasterizer.c b/src/gallium/drivers/svga/svga_pipe_rasterizer.c index 2c4292e1f3..f2c1a3c578 100644 --- a/src/gallium/drivers/svga/svga_pipe_rasterizer.c +++ b/src/gallium/drivers/svga/svga_pipe_rasterizer.c @@ -127,6 +127,11 @@ svga_create_rasterizer_state(struct pipe_context *pipe, rast->need_pipeline_points_str = "smooth points"; } + if (templ->line_smooth) { + rast->need_pipeline |= SVGA_PIPELINE_FLAG_LINES; + rast->need_pipeline_lines_str = "smooth lines"; + } + { int fill_front = templ->fill_front; int fill_back = templ->fill_back; -- cgit v1.2.3