projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f74756
)
r300/compiler: do not use copy propagation if SaturateMode is used
author
Marek Olšák
<maraeo@gmail.com>
Tue, 28 Sep 2010 02:30:32 +0000
(
04:30
+0200)
committer
Marek Olšák
<maraeo@gmail.com>
Tue, 28 Sep 2010 03:34:51 +0000
(
05:34
+0200)
NOTE: This is a candidate for the 7.9 branch.
src/mesa/drivers/dri/r300/compiler/radeon_optimize.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/r300/compiler/radeon_optimize.c
b/src/mesa/drivers/dri/r300/compiler/radeon_optimize.c
index e2889302e6950ed3415755406bfca44a83774e13..3be50b93e4b1fa93ae0afb4fb0719809589ba32b 100644
(file)
--- a/
src/mesa/drivers/dri/r300/compiler/radeon_optimize.c
+++ b/
src/mesa/drivers/dri/r300/compiler/radeon_optimize.c
@@
-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));