mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-22 05:30:31 +01:00
draw: (trivial) remove a unnecessary lp_build_alloca()
pointed out by clang (stored value never read)
This commit is contained in:
parent
e893b3a367
commit
9d104dfd55
1 changed files with 0 additions and 2 deletions
|
|
@ -1670,8 +1670,6 @@ draw_llvm_generate(struct draw_llvm *llvm, struct draw_llvm_variant *variant)
|
|||
ind_vec = LLVMBuildInsertElement(builder, ind_vec, index, index, "");
|
||||
}
|
||||
|
||||
fetch_max = lp_build_alloca(gallivm, int32_type, "fetch_max");
|
||||
|
||||
have_elts = LLVMBuildICmp(builder, LLVMIntNE,
|
||||
LLVMConstPointerNull(arg_types[10]), fetch_elts, "");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue