mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 11:48:06 +02:00
gallivm/gs_iface: pass stream into end primitive interface.
This is just an API change for now Reviewed-by: Roland Scheidegger <sroland@vmware.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5555>
This commit is contained in:
parent
87a388fb29
commit
21b903dd7d
5 changed files with 5 additions and 5 deletions
|
|
@ -1828,7 +1828,7 @@ draw_gs_llvm_end_primitive(const struct lp_build_gs_iface *gs_base,
|
|||
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;
|
||||
|
|
|
|||
|
|
@ -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],
|
||||
|
|
|
|||
|
|
@ -435,7 +435,7 @@ struct lp_build_gs_iface
|
|||
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);
|
||||
|
|
|
|||
|
|
@ -4014,7 +4014,7 @@ end_primitive_masked(struct lp_build_tgsi_context * bld_base,
|
|||
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,
|
||||
|
|
|
|||
|
|
@ -520,7 +520,7 @@ swr_gs_llvm_end_primitive(const struct lp_build_gs_iface *gs_base,
|
|||
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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue