/* Continuing the block, clear any channels from the write array that
* are read by this instruction.
*/
/* Continuing the block, clear any channels from the write array that
* are read by this instruction.
*/
if (inst->src[i].file == PROGRAM_TEMPORARY && inst->src[i].reladdr){
/* Any temporary might be read, so no dead code elimination
* across this instruction.
if (inst->src[i].file == PROGRAM_TEMPORARY && inst->src[i].reladdr){
/* Any temporary might be read, so no dead code elimination
* across this instruction.
* If there is already an instruction in the write array for one or more
* of the channels, flag that channel write as dead.
*/
* If there is already an instruction in the write array for one or more
* of the channels, flag that channel write as dead.
*/
return ureg_src(t->outputs[t->outputMapping[reg->index]]); /* not needed? */
case PROGRAM_ADDRESS:
return ureg_src(t->address[reg->index]);
case PROGRAM_SYSTEM_VALUE:
return ureg_src(t->outputs[t->outputMapping[reg->index]]); /* not needed? */
case PROGRAM_ADDRESS:
return ureg_src(t->address[reg->index]);
case PROGRAM_SYSTEM_VALUE: