mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-28 14:40:10 +01:00
radv/gfx10: do not set alignment on the ngg_emit pointer
This is invalid and this fixes a crash in LLVM. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
This commit is contained in:
parent
df0a23ad1e
commit
c6fa4de15d
1 changed files with 0 additions and 1 deletions
|
|
@ -4326,7 +4326,6 @@ LLVMModuleRef ac_translate_nir_to_llvm(struct ac_llvm_compiler *ac_llvm,
|
|||
ctx.gs_ngg_emit = LLVMBuildIntToPtr(ctx.ac.builder, ctx.ac.i32_0,
|
||||
LLVMPointerType(LLVMArrayType(ctx.ac.i32, 0), AC_ADDR_SPACE_LDS),
|
||||
"ngg_emit");
|
||||
LLVMSetAlignment(ctx.gs_ngg_emit, 4);
|
||||
}
|
||||
|
||||
ctx.gs_max_out_vertices = shaders[i]->info.gs.vertices_out;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue