aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2012-11-26 10:23:07 -0800
committerEric Anholt <[email protected]>2012-12-04 16:27:54 -0800
commit9156d0cba1090c4bcc3a6c0c7b2ad8921a295be4 (patch)
treee784421d1f86a03cd3a0072ca9f1ae8ebf3acac6 /src/mesa/drivers/dri
parentd8214e4384aaf0ee412ad9aea80f9fec522c1e4a (diff)
i965/fs: Allow source mods on gen7+ math.
This gen6 restriction was removed in gen7 as the mathbox merge to act more like a normal instruction was finished in the hardware.
Diffstat (limited to 'src/mesa/drivers/dri')
-rw-r--r--src/mesa/drivers/dri/i965/brw_fs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_fs.cpp b/src/mesa/drivers/dri/i965/brw_fs.cpp
index 669f408087a..6ccc0d99743 100644
--- a/src/mesa/drivers/dri/i965/brw_fs.cpp
+++ b/src/mesa/drivers/dri/i965/brw_fs.cpp
@@ -1645,7 +1645,7 @@ fs_visitor::register_coalesce()
* unusual register regions, so avoid coalescing those for
* now. We should do something more specific.
*/
- if (intel->gen >= 6 &&
+ if (intel->gen == 6 &&
scan_inst->is_math() &&
(has_source_modifiers || inst->src[0].file == UNIFORM)) {
interfered = true;