mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-11 10:10:14 +01:00
ac/nir: remove useless integer cast in visit_image_load()
ac_build_image_opcode() casts if necessary and buffer images are casted too. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Marek Olšák <marek.olsak@amd.com>
This commit is contained in:
parent
ffbb62f808
commit
8a6442075f
1 changed files with 1 additions and 1 deletions
|
|
@ -2550,7 +2550,7 @@ static LLVMValueRef visit_image_load(struct ac_nir_context *ctx,
|
|||
|
||||
res = ac_build_image_opcode(&ctx->ac, &args);
|
||||
}
|
||||
return ac_to_integer(&ctx->ac, res);
|
||||
return res;
|
||||
}
|
||||
|
||||
static void visit_image_store(struct ac_nir_context *ctx,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue