diff options
author | Brian <brian.paul@tungstengraphics.com> | 2007-10-22 11:01:34 -0600 |
---|---|---|
committer | Brian <brian.paul@tungstengraphics.com> | 2007-10-22 11:01:34 -0600 |
commit | e3444deec5a369e4ffabfeb9f6c257dd6b8e5a30 (patch) | |
tree | d13e8fc858073538175ec6df94af2e1cffe38cf9 /src/mesa/pipe/draw/draw_validate.c | |
parent | 80d2bb7c643092e489dba77e4bd02a8684fcc42b (diff) |
plug the wide prims code into the pipeline
Diffstat (limited to 'src/mesa/pipe/draw/draw_validate.c')
-rw-r--r-- | src/mesa/pipe/draw/draw_validate.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mesa/pipe/draw/draw_validate.c b/src/mesa/pipe/draw/draw_validate.c index 7c5a9dceca..5ec581d8b3 100644 --- a/src/mesa/pipe/draw/draw_validate.c +++ b/src/mesa/pipe/draw/draw_validate.c @@ -51,6 +51,12 @@ static void validate_begin( struct draw_stage *stage ) * shorter pipelines for lines & points. */ + if (draw->rasterizer->line_width != 1.0 || + draw->rasterizer->point_size != 1.0) { + draw->pipeline.wide->next = next; + next = draw->pipeline.wide; + } + if (draw->rasterizer->fill_cw != PIPE_POLYGON_MODE_FILL || draw->rasterizer->fill_ccw != PIPE_POLYGON_MODE_FILL) { draw->pipeline.unfilled->next = next; |