nvc0: add missing call to map edge flag in push_vbo
authorChristoph Bumiller <e0425955@student.tuwien.ac.at>
Mon, 7 Jan 2013 19:18:06 +0000 (20:18 +0100)
committerChristoph Bumiller <e0425955@student.tuwien.ac.at>
Tue, 8 Jan 2013 15:13:52 +0000 (16:13 +0100)
Note: this is a candidate for the 9.0 stable branch.

src/gallium/drivers/nvc0/nvc0_vbo_translate.c

index 42d9e055c71880143752587608c5500aca509e62..033a5d05d3e546908226bfeaf46fb2b598ca9eb0 100644 (file)
@@ -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;