pan/mdg: Remove mir_get_alu_src
Unused. Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5151>
This commit is contained in:
parent
9915bb2c40
commit
e9a4bd90a8
|
@ -38,13 +38,6 @@ void mir_rewrite_index_dst_single(midgard_instruction *ins, unsigned old, unsign
|
||||||
ins->dest = new;
|
ins->dest = new;
|
||||||
}
|
}
|
||||||
|
|
||||||
static midgard_vector_alu_src
|
|
||||||
mir_get_alu_src(midgard_instruction *ins, unsigned idx)
|
|
||||||
{
|
|
||||||
unsigned b = (idx == 0) ? ins->alu.src1 : ins->alu.src2;
|
|
||||||
return vector_alu_from_unsigned(b);
|
|
||||||
}
|
|
||||||
|
|
||||||
static void
|
static void
|
||||||
mir_rewrite_index_src_single_swizzle(midgard_instruction *ins, unsigned old, unsigned new, unsigned *swizzle)
|
mir_rewrite_index_src_single_swizzle(midgard_instruction *ins, unsigned old, unsigned new, unsigned *swizzle)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue