r300/compiler: do not use copy propagation if SaturateMode is used

NOTE: This is a candidate for the 7.9 branch.
This commit is contained in:
Marek Olšák 2010-09-28 04:30:32 +02:00
parent 6f747567ec
commit c2ea7ffb0a
1 changed files with 2 additions and 1 deletions

View File

@ -163,7 +163,8 @@ static void copy_propagate(struct radeon_compiler * c, struct rc_instruction * i
if (inst_mov->U.I.DstReg.File != RC_FILE_TEMPORARY ||
inst_mov->U.I.DstReg.RelAddr ||
inst_mov->U.I.WriteALUResult)
inst_mov->U.I.WriteALUResult ||
inst_mov->U.I.SaturateMode)
return;
memset(&s, 0, sizeof(s));