Lines Matching refs:old
28 void mir_rewrite_index_src_single(midgard_instruction *ins, unsigned old, unsigned new)
31 if (ins->src[i] == old)
36 void mir_rewrite_index_dst_single(midgard_instruction *ins, unsigned old, unsigned new)
38 if (ins->dest == old)
43 mir_rewrite_index_src_single_swizzle(midgard_instruction *ins, unsigned old, unsigned new, unsigned *swizzle)
46 if (ins->src[i] != old) continue;
54 mir_rewrite_index_src(compiler_context *ctx, unsigned old, unsigned new)
57 mir_rewrite_index_src_single(ins, old, new);
62 mir_rewrite_index_src_swizzle(compiler_context *ctx, unsigned old, unsigned new, unsigned *swizzle)
65 mir_rewrite_index_src_single_swizzle(ins, old, new, swizzle);
70 mir_rewrite_index_dst(compiler_context *ctx, unsigned old, unsigned new)
73 mir_rewrite_index_dst_single(ins, old, new);
77 if (ctx->blend_input == old)
80 if (ctx->blend_src1 == old)
85 mir_rewrite_index(compiler_context *ctx, unsigned old, unsigned new)
87 mir_rewrite_index_src(ctx, old, new);
88 mir_rewrite_index_dst(ctx, old, new);