gallivm/gs_iface: pass stream into end primitive interface.
[mesa.git] / src / gallium / auxiliary / gallivm / lp_bld_nir_soa.c
index c6119c509f8f3ebdd3bfde5a7f207b0279f94f30..a8b7d0dd86e2d5f5608c702136b3e393e8178d02 100644 (file)
@@ -1633,7 +1633,7 @@ end_primitive_masked(struct lp_build_nir_context * bld_base,
    if (stream_id == 0)
       bld->gs_iface->end_primitive(bld->gs_iface, &bld->bld_base.base,
                                    total_emitted_vertices_vec,
-                                   emitted_vertices_vec, emitted_prims_vec, mask);
+                                   emitted_vertices_vec, emitted_prims_vec, mask, 0);
    increment_vec_ptr_by_mask(bld_base, bld->emitted_prims_vec_ptr[stream_id],
                              mask);
    clear_uint_vec_ptr_from_mask(bld_base, bld->emitted_vertices_vec_ptr[stream_id],