projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
i965/fs: add a pass for legalizing d2f
[mesa.git]
/
src
/
mesa
/
drivers
/
dri
/
i965
/
brw_fs.cpp
diff --git
a/src/mesa/drivers/dri/i965/brw_fs.cpp
b/src/mesa/drivers/dri/i965/brw_fs.cpp
index 96610ba4328116df1db197dc08ac86afc7d58dec..7097742115b773f36db4b828c540d36690371584 100644
(file)
--- a/
src/mesa/drivers/dri/i965/brw_fs.cpp
+++ b/
src/mesa/drivers/dri/i965/brw_fs.cpp
@@
-5359,6
+5359,11
@@
fs_visitor::optimize()
OPT(dead_code_eliminate);
}
+ if (OPT(lower_d2f)) {
+ OPT(opt_copy_propagate);
+ OPT(dead_code_eliminate);
+ }
+
OPT(opt_combine_constants);
OPT(lower_integer_multiplication);