mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-01 03:48:06 +02:00
gallium/draw: fix LLVM opaque pointer warnings in draw_gs_llvm_epilogue()
Acked-by: Marek Olšák <marek.olsak@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18720>
This commit is contained in:
parent
6ad8b95f4d
commit
a9d37f8bc9
1 changed files with 2 additions and 2 deletions
|
|
@ -1868,8 +1868,8 @@ draw_gs_llvm_epilogue(const struct lp_build_gs_iface *gs_base,
|
|||
draw_gs_jit_emitted_prims(variant, variant->context_ptr);
|
||||
LLVMValueRef stream_val = lp_build_const_int32(gallivm, stream);
|
||||
|
||||
emitted_verts_ptr = LLVMBuildGEP(builder, emitted_verts_ptr, &stream_val, 1, "");
|
||||
emitted_prims_ptr = LLVMBuildGEP(builder, emitted_prims_ptr, &stream_val, 1, "");
|
||||
emitted_verts_ptr = LLVMBuildGEP2(builder, LLVMTypeOf(total_emitted_vertices_vec), emitted_verts_ptr, &stream_val, 1, "");
|
||||
emitted_prims_ptr = LLVMBuildGEP2(builder, LLVMTypeOf(emitted_prims_vec), emitted_prims_ptr, &stream_val, 1, "");
|
||||
|
||||
LLVMBuildStore(builder, total_emitted_vertices_vec, emitted_verts_ptr);
|
||||
LLVMBuildStore(builder, emitted_prims_vec, emitted_prims_ptr);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue