summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristoph Bumiller <[email protected]>2013-01-07 20:18:06 +0100
committerChristoph Bumiller <[email protected]>2013-01-08 16:13:52 +0100
commit41e105d5beb78c42993a602cc58d0f990739b088 (patch)
tree17d959229d3a546dd9a0b1fcce68fa3bafda6b09
parentbe75a9373a6d0f9e2ef35ac376a541e60d72d306 (diff)
nvc0: add missing call to map edge flag in push_vbo
Note: this is a candidate for the 9.0 stable branch.
-rw-r--r--src/gallium/drivers/nvc0/nvc0_vbo_translate.c3
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 42d9e055c71..033a5d05d3e 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;