mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 00:58:05 +02:00
ac: remove useless cast in ac_build_set_inactive()
The return type is always the src type (32 or 64 bits). Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
This commit is contained in:
parent
194bee193c
commit
204cf54b70
1 changed files with 2 additions and 1 deletions
|
|
@ -3864,7 +3864,8 @@ ac_build_set_inactive(struct ac_llvm_context *ctx, LLVMValueRef src,
|
|||
src, inactive }, 2,
|
||||
AC_FUNC_ATTR_READNONE |
|
||||
AC_FUNC_ATTR_CONVERGENT);
|
||||
return LLVMBuildBitCast(ctx->builder, ret, src_type, "");
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
static LLVMValueRef
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue