summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2011-02-11 11:22:02 +0000
committerJosé Fonseca <[email protected]>2011-02-11 11:24:55 +0000
commit6ed0f2ac112d22278cf051c2cee9c2199a9025ea (patch)
tree448f25fb273ab916f5b7b57ec8e9e00b047c6b58 /src
parent57a3d36a685b4d6e39988d6c10a3201be789befc (diff)
svga: Enable the draw pipeline for smooth lines.
Spotted by Brian Paul.
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/svga/svga_pipe_rasterizer.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/drivers/svga/svga_pipe_rasterizer.c b/src/gallium/drivers/svga/svga_pipe_rasterizer.c
index 2c4292e1f38..f2c1a3c578d 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;