projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
57a3d36
)
svga: Enable the draw pipeline for smooth lines.
author
José Fonseca
<jfonseca@vmware.com>
Fri, 11 Feb 2011 11:22:02 +0000
(11:22 +0000)
committer
José Fonseca
<jfonseca@vmware.com>
Fri, 11 Feb 2011 11:24:55 +0000
(11:24 +0000)
Spotted by Brian Paul.
src/gallium/drivers/svga/svga_pipe_rasterizer.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/svga/svga_pipe_rasterizer.c
b/src/gallium/drivers/svga/svga_pipe_rasterizer.c
index 2c4292e1f38a4b42db60e42150183e6301f8c750..f2c1a3c578df8c4275ddff22f635c3eacd1fe9bb 100644
(file)
--- 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;