Home
last modified time | relevance | path

Searched refs:RC_PAIR_PRESUB_SRC (Results 1 – 12 of 12) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/r300/compiler/
Dradeon_program_pair.c53 if (rgb && pair->RGB.Src[RC_PAIR_PRESUB_SRC].Used in rc_pair_alloc_source()
54 && index != pair->RGB.Src[RC_PAIR_PRESUB_SRC].Index) { in rc_pair_alloc_source()
58 if (alpha && pair->Alpha.Src[RC_PAIR_PRESUB_SRC].Used in rc_pair_alloc_source()
59 && index != pair->Alpha.Src[RC_PAIR_PRESUB_SRC].Index) { in rc_pair_alloc_source()
93 candidate = RC_PAIR_PRESUB_SRC; in rc_pair_alloc_source()
105 if (candidate == RC_PAIR_PRESUB_SRC) { in rc_pair_alloc_source()
118 if (candidate == RC_PAIR_PRESUB_SRC) { in rc_pair_alloc_source()
144 if (src == RC_PAIR_PRESUB_SRC) { in pair_foreach_source_callback()
147 pair->Alpha.Src[RC_PAIR_PRESUB_SRC].Index); in pair_foreach_source_callback()
155 if (src == RC_PAIR_PRESUB_SRC) { in pair_foreach_source_callback()
[all …]
Dr300_fragprog_swizzle.c212 if (!sd || (src == RC_PAIR_PRESUB_SRC && sd->srcp_stride == 0)) { in r300FPTranslateRGBSwizzle()
217 if (src == RC_PAIR_PRESUB_SRC) { in r300FPTranslateRGBSwizzle()
232 if (src == RC_PAIR_PRESUB_SRC) { in r300FPTranslateAlphaSwizzle()
Dradeon_pair_dead_sources.c35 if (sub->Src[RC_PAIR_PRESUB_SRC].Used) { in mark_used_presub()
37 sub->Src[RC_PAIR_PRESUB_SRC].Index); in mark_used_presub()
Dradeon_program_print.c367 if(inst->RGB.Src[RC_PAIR_PRESUB_SRC].Used) { in rc_print_pair_instruction()
370 inst->RGB.Src[RC_PAIR_PRESUB_SRC].Index)); in rc_print_pair_instruction()
372 if(inst->Alpha.Src[RC_PAIR_PRESUB_SRC].Used) { in rc_print_pair_instruction()
375 inst->Alpha.Src[RC_PAIR_PRESUB_SRC].Index)); in rc_print_pair_instruction()
408 if(inst->RGB.Arg[arg].Source == RC_PAIR_PRESUB_SRC) in rc_print_pair_instruction()
443 if(inst->Alpha.Arg[arg].Source == RC_PAIR_PRESUB_SRC) in rc_print_pair_instruction()
Dradeon_pair_schedule.c531 if (dst_sub->Src[RC_PAIR_PRESUB_SRC].Used) in merge_presub_sources()
535 src.Src[RC_PAIR_PRESUB_SRC].Index); in merge_presub_sources()
612 if (alpha->RGB.Src[RC_PAIR_PRESUB_SRC].Used) { in destructive_merge_instructions()
618 if (alpha->Alpha.Src[RC_PAIR_PRESUB_SRC].Used) { in destructive_merge_instructions()
729 if (emitted->U.P.RGB.Src[RC_PAIR_PRESUB_SRC].Used) { in presub_nop()
731 emitted->U.P.RGB.Src[RC_PAIR_PRESUB_SRC].Index); in presub_nop()
744 if (!emitted->U.P.Alpha.Src[RC_PAIR_PRESUB_SRC].Used) in presub_nop()
748 emitted->U.P.Alpha.Src[RC_PAIR_PRESUB_SRC].Index); in presub_nop()
835 if (arg->Source == RC_PAIR_PRESUB_SRC) { in is_rgb_to_alpha_possible()
Dr300_fragprog_emit.c197 if (inst->RGB.Src[RC_PAIR_PRESUB_SRC].Used) { in emit_alu()
198 switch(inst->RGB.Src[RC_PAIR_PRESUB_SRC].Index) { in emit_alu()
220 if (inst->Alpha.Src[RC_PAIR_PRESUB_SRC].Used) { in emit_alu()
221 switch(inst->Alpha.Src[RC_PAIR_PRESUB_SRC].Index) { in emit_alu()
Dradeon_program_pair.h56 #define RC_PAIR_PRESUB_SRC 3 macro
Dradeon_dataflow.c72 if(src == RC_PAIR_PRESUB_SRC) { in pair_get_src_refmasks()
87 if (src == RC_PAIR_PRESUB_SRC) { in pair_get_src_refmasks()
149 if (sub->Arg[i].Source == RC_PAIR_PRESUB_SRC) { in pair_sub_for_all_args()
157 U.P.RGB.Src[RC_PAIR_PRESUB_SRC].Index; in pair_sub_for_all_args()
161 U.P.Alpha.Src[RC_PAIR_PRESUB_SRC].Index; in pair_sub_for_all_args()
Dradeon_variable.c88 if (src_index == RC_PAIR_PRESUB_SRC) { in rc_variable_change_dst()
137 if (reader->U.P.Arg->Source != RC_PAIR_PRESUB_SRC) { in rc_variable_change_dst()
Dradeon_compiler.c385 if (tmp->U.P.RGB.Src[RC_PAIR_PRESUB_SRC].Used) in rc_get_stats()
387 if (tmp->U.P.Alpha.Src[RC_PAIR_PRESUB_SRC].Used) in rc_get_stats()
Dr500_fragprog_emit.c293 switch(inst->RGB.Src[RC_PAIR_PRESUB_SRC].Index) { in emit_paired()
309 switch(inst->Alpha.Src[RC_PAIR_PRESUB_SRC].Index) { in emit_paired()
Dradeon_pair_regalloc.c422 if (r->U.P.Arg->Source == RC_PAIR_PRESUB_SRC) { in variable_get_class()