mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 09:18:04 +02:00
radeonsi: remove unnecessary ac_to_integer in si_llvm_ps_build_end
Reviewed-by: Pierre-Eric Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40589>
This commit is contained in:
parent
dbf027534a
commit
55f5253976
1 changed files with 2 additions and 3 deletions
|
|
@ -397,9 +397,8 @@ void si_llvm_ps_build_end(struct si_shader_context *ctx)
|
|||
ret = ctx->return_value;
|
||||
|
||||
/* Set SGPRs. */
|
||||
ret = LLVMBuildInsertValue(
|
||||
builder, ret, ac_to_integer(&ctx->ac, LLVMGetParam(ctx->main_fn.value, SI_PARAM_ALPHA_REF)),
|
||||
SI_SGPR_ALPHA_REF, "");
|
||||
ret = LLVMBuildInsertValue(builder, ret, LLVMGetParam(ctx->main_fn.value, SI_PARAM_ALPHA_REF),
|
||||
SI_SGPR_ALPHA_REF, "");
|
||||
|
||||
/* Set VGPRs */
|
||||
vgpr = SI_SGPR_ALPHA_REF + 1;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue