pan: Fix bi_load_tl dst arg name
bi_load_tl's dst arg was named src, this was confusing. Reviewed-by: Lars-Ivar Hesselberg Simonsen <lars-ivar.simonsen@arm.com> Reviewed-by: Eric R. Smith <eric.smith@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37955>
This commit is contained in:
committed by
Marge Bot
parent
eba3d3a17e
commit
f367cdad0a
@@ -686,14 +686,14 @@ bi_tls_ptr(bool hi)
|
||||
}
|
||||
|
||||
bi_instr *
|
||||
bi_load_tl(bi_builder *b, unsigned bits, bi_index src, unsigned offset)
|
||||
bi_load_tl(bi_builder *b, unsigned bits, bi_index dst, unsigned offset)
|
||||
{
|
||||
if (b->shader->arch >= 9) {
|
||||
assert(offset < 0x8000); /* valhall has 16 bit signed offset */
|
||||
return bi_load_to(b, bits, src, bi_tls_ptr(false), bi_tls_ptr(true),
|
||||
return bi_load_to(b, bits, dst, bi_tls_ptr(false), bi_tls_ptr(true),
|
||||
BI_SEG_TL, offset);
|
||||
} else {
|
||||
return bi_load_to(b, bits, src, bi_imm_u32(offset), bi_zero(), BI_SEG_TL,
|
||||
return bi_load_to(b, bits, dst, bi_imm_u32(offset), bi_zero(), BI_SEG_TL,
|
||||
0);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1666,7 +1666,7 @@ bi_init_builder(bi_context *ctx, bi_cursor cursor)
|
||||
}
|
||||
|
||||
/* insert load/store for spills */
|
||||
bi_instr *bi_load_tl(bi_builder *b, unsigned bits, bi_index src, unsigned offset);
|
||||
bi_instr *bi_load_tl(bi_builder *b, unsigned bits, bi_index dst, unsigned offset);
|
||||
void bi_store_tl(bi_builder *b, unsigned bits, bi_index src, unsigned offset);
|
||||
|
||||
/* Insert an instruction at the cursor and move the cursor */
|
||||
|
||||
Reference in New Issue
Block a user