Home
last modified time | relevance | path

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

/third_party/mesa3d/src/amd/common/
Dac_nir_opt_outputs.c146 nir_instr *prev_chan = prev->chan[j].value; in ac_eliminate_duplicated_output() local
156 if (!prev_chan) { in ac_eliminate_duplicated_output()
162 if (prev_chan != cur_chan && in ac_eliminate_duplicated_output()
163 (prev_chan->type != nir_instr_type_load_const || in ac_eliminate_duplicated_output()
165 nir_instr_as_load_const(prev_chan)->value[0].u32 != in ac_eliminate_duplicated_output()
195 struct ac_chan_info *prev_chan = &prev->chan[i]; in ac_eliminate_duplicated_output() local
216 prev_chan->store_intr = nir_store_output(b, nir_instr_ssa_def(cur_chan->value), in ac_eliminate_duplicated_output()
227 assert(!prev_chan->value); in ac_eliminate_duplicated_output()
228 prev_chan->value = cur_chan->value; in ac_eliminate_duplicated_output()