projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4586e6c
)
svga: Don't use the draw pipeline for non-AA lines with a fractional width.
author
José Fonseca
<jfonseca@vmware.com>
Fri, 11 Feb 2011 11:20:54 +0000
(11:20 +0000)
committer
José Fonseca
<jfonseca@vmware.com>
Fri, 11 Feb 2011 11:24:55 +0000
(11:24 +0000)
Spotted by Jakob Bornecrantz.
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 d391fde7b2f7e9dc3f209c4e5f4e81b24ac2d2be..2c4292e1f38a4b42db60e42150183e6301f8c750 100644
(file)
--- a/
src/gallium/drivers/svga/svga_pipe_rasterizer.c
+++ b/
src/gallium/drivers/svga/svga_pipe_rasterizer.c
@@
-100,8
+100,7
@@
svga_create_rasterizer_state(struct pipe_context *pipe,
rast->need_pipeline_tris_str = "poly stipple";
}
- if (templ->line_width != 1.0 &&
- templ->line_width != 0.0 &&
+ if (templ->line_width >= 1.5f &&
!svga->debug.no_line_width) {
rast->need_pipeline |= SVGA_PIPELINE_FLAG_LINES;
rast->need_pipeline_lines_str = "line width";