projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d8214e4
)
i965/fs: Allow source mods on gen7+ math.
author
Eric Anholt
<eric@anholt.net>
Mon, 26 Nov 2012 18:23:07 +0000
(10:23 -0800)
committer
Eric Anholt
<eric@anholt.net>
Wed, 5 Dec 2012 00:27:54 +0000
(16:27 -0800)
This gen6 restriction was removed in gen7 as the mathbox merge to act
more like a normal instruction was finished in the hardware.
src/mesa/drivers/dri/i965/brw_fs.cpp
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/i965/brw_fs.cpp
b/src/mesa/drivers/dri/i965/brw_fs.cpp
index 669f408087a20de72f7050f1f1b91b6078395919..6ccc0d99743a2e76816f5334bba552c50b762e75 100644
(file)
--- 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;