diff options
author | Chia-I Wu <olv@lunarg.com> | 2010-08-08 00:53:02 +0800 |
---|---|---|
committer | Chia-I Wu <olv@lunarg.com> | 2010-08-16 20:46:27 +0800 |
commit | f132498347c41294042db0cc6830abe928d827de (patch) | |
tree | 946116c4018aa6376f476e65e58d01283037a24c /src/gallium/auxiliary/draw/draw_pt_varray.c | |
parent | f141abdc8fdbff41e16b0ce53fa3fa8fba32a7f9 (diff) |
draw: Add prim flags to middle ends.
Update the middle end interface to pass the primitive flags from the
frontends to the pipeline. No frontend sets the flags yet.
Diffstat (limited to 'src/gallium/auxiliary/draw/draw_pt_varray.c')
-rw-r--r-- | src/gallium/auxiliary/draw/draw_pt_varray.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/gallium/auxiliary/draw/draw_pt_varray.c b/src/gallium/auxiliary/draw/draw_pt_varray.c index cd7bb7bf25..2cda4f018d 100644 --- a/src/gallium/auxiliary/draw/draw_pt_varray.c +++ b/src/gallium/auxiliary/draw/draw_pt_varray.c @@ -57,7 +57,7 @@ static void varray_flush_linear(struct varray_frontend *varray, { if (count) { assert(varray->middle->run_linear); - varray->middle->run_linear(varray->middle, start, count); + varray->middle->run_linear(varray->middle, start, count, 0x0); } } @@ -83,7 +83,8 @@ static void varray_line_loop_segment(struct varray_frontend *varray, varray->fetch_elts, nr, varray->draw_elts, /* ie. linear */ - nr); + nr, + 0x0); } } @@ -110,7 +111,8 @@ static void varray_fan_segment(struct varray_frontend *varray, varray->fetch_elts, nr, varray->draw_elts, /* ie. linear */ - nr); + nr, + 0x0); } } |