summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/draw/draw_pt_vcache.c
diff options
context:
space:
mode:
authorChia-I Wu <olv@lunarg.com>2010-08-08 00:53:02 +0800
committerChia-I Wu <olv@lunarg.com>2010-08-16 20:46:27 +0800
commitf132498347c41294042db0cc6830abe928d827de (patch)
tree946116c4018aa6376f476e65e58d01283037a24c /src/gallium/auxiliary/draw/draw_pt_vcache.c
parentf141abdc8fdbff41e16b0ce53fa3fa8fba32a7f9 (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_vcache.c')
-rw-r--r--src/gallium/auxiliary/draw/draw_pt_vcache.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gallium/auxiliary/draw/draw_pt_vcache.c b/src/gallium/auxiliary/draw/draw_pt_vcache.c
index a848b54f7d..0a9ec7ce6c 100644
--- a/src/gallium/auxiliary/draw/draw_pt_vcache.c
+++ b/src/gallium/auxiliary/draw/draw_pt_vcache.c
@@ -82,7 +82,8 @@ vcache_flush( struct vcache_frontend *vcache )
vcache->fetch_elts,
vcache->fetch_count,
vcache->draw_elts,
- vcache->draw_count );
+ vcache->draw_count,
+ 0x0 );
}
memset(vcache->in, ~0, sizeof(vcache->in));
@@ -509,7 +510,7 @@ vcache_check_run( struct draw_pt_front_end *frontend,
min_index + elt_bias, /* start */
fetch_count,
transformed_elts,
- draw_count );
+ draw_count, 0x0 );
FREE(storage);