src/lima/pp_lir/pp_lir.h
//Returns whether a channel is actually used
//Assumes channel < the result of lima_pp_lir_arg_size()
Returns whether a channel is actually used
Assumes channel < the result of lima_pp_lir_arg_size()
Returns whether a channel is actually used Assumes channel < the result of lima_pp_lir_arg_size ()
static inline bool lima_pp_lir_channel_used(lima_pp_lir_instr_t* instr, unsigned arg,
											unsigned channel)
{	if (lima_pp_hir_op[instr->op].arg_sizes[arg] != 0)
		return true;
	return instr->dest.mask[channel];
}
static inline bool lima_pp_lir_channel_used ( lima_pp_lir_instr_t * instr , unsigned arg , unsigned channel ) { if ( lima_pp_hir_op [ instr -> op ] . arg_sizes [ arg ] != 0 ) return true ; return instr -> dest . mask [ channel ] ; }
Returns whether a channel is actually used
Assumes channel < the result of lima_pp_lir_arg_size()
Returns whether a channel is actually used Assumes channel < the result of lima_pp_lir_arg_size ()