Mesa (master): nvc0: add missing call to map edge flag in push_vbo

Christoph Bumiller chrisbmr at kemper.freedesktop.org
Tue Jan 8 15:14:36 UTC 2013


Module: Mesa
Branch: master
Commit: 41e105d5beb78c42993a602cc58d0f990739b088
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=41e105d5beb78c42993a602cc58d0f990739b088

Author: Christoph Bumiller <e0425955 at student.tuwien.ac.at>
Date:   Mon Jan  7 20:18:06 2013 +0100

nvc0: add missing call to map edge flag in push_vbo

Note: this is a candidate for the 9.0 stable branch.

---

 src/gallium/drivers/nvc0/nvc0_vbo_translate.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/gallium/drivers/nvc0/nvc0_vbo_translate.c b/src/gallium/drivers/nvc0/nvc0_vbo_translate.c
index 42d9e05..033a5d0 100644
--- a/src/gallium/drivers/nvc0/nvc0_vbo_translate.c
+++ b/src/gallium/drivers/nvc0/nvc0_vbo_translate.c
@@ -439,6 +439,9 @@ nvc0_push_vbo(struct nvc0_context *nvc0, const struct pipe_draw_info *info)
 
    nvc0_vertex_configure_translate(nvc0, info->index_bias);
 
+   if (unlikely(ctx.edgeflag.enabled))
+      nvc0_push_map_edgeflag(&ctx, nvc0, info->index_bias);
+
    ctx.prim_restart = info->primitive_restart;
    ctx.restart_index = info->restart_index;
 




More information about the mesa-commit mailing list