LLVMValueRef total_emitted_vertices_vec_ptr,
LLVMValueRef verts_per_prim_vec,
LLVMValueRef emitted_prims_vec,
- LLVMValueRef mask_vec)
+ LLVMValueRef mask_vec, unsigned stream)
{
const struct draw_gs_llvm_iface *gs_iface = draw_gs_llvm_iface(gs_base);
struct draw_gs_llvm_variant *variant = gs_iface->variant;
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],
LLVMValueRef total_emitted_vertices_vec,
LLVMValueRef verts_per_prim_vec,
LLVMValueRef emitted_prims_vec,
- LLVMValueRef mask_vec);
+ LLVMValueRef mask_vec, unsigned stream);
void (*gs_epilogue)(const struct lp_build_gs_iface *gs_iface,
LLVMValueRef total_emitted_vertices_vec,
LLVMValueRef emitted_prims_vec, unsigned stream);
total_emitted_vertices_vec,
emitted_vertices_vec,
emitted_prims_vec,
- mask_vec(bld_base));
+ mask_vec(bld_base), 0);
#if DUMP_GS_EMITS
lp_build_print_value(bld->bld_base.base.gallivm,
LLVMValueRef total_emitted_vertices_vec_ptr,
LLVMValueRef verts_per_prim_vec,
LLVMValueRef emitted_prims_vec,
- LLVMValueRef mask_vec)
+ LLVMValueRef mask_vec, unsigned stream_id)
{
swr_gs_llvm_iface *iface = (swr_gs_llvm_iface*)gs_base;