aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_fs_copy_propagation.cpp
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2013-08-09 18:51:05 -0700
committerKenneth Graunke <[email protected]>2013-08-19 11:29:23 -0700
commit3c68662bb1d41727b6c53fd58868cdcfe6a98492 (patch)
tree4554502e08feb2abff8761a9fb232a010db93293 /src/mesa/drivers/dri/i965/brw_fs_copy_propagation.cpp
parentb9d1173f2cc2be7694eacaf19db3632be638a66d (diff)
i965/fs: Skip global copy propagation step.
The dataflow analysis used for global copy propagation is severely broken, and I believe it doesn't actually do anything. Fixing it will require a lot of changes, each of which might break things. Once all the fixes land, we can re-enable this. Signed-off-by: Kenneth Graunke <[email protected]> Reviewed-by: Paul Berry <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_fs_copy_propagation.cpp')
-rw-r--r--src/mesa/drivers/dri/i965/brw_fs_copy_propagation.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_fs_copy_propagation.cpp b/src/mesa/drivers/dri/i965/brw_fs_copy_propagation.cpp
index 61b2617a9e0..ddf21df5d28 100644
--- a/src/mesa/drivers/dri/i965/brw_fs_copy_propagation.cpp
+++ b/src/mesa/drivers/dri/i965/brw_fs_copy_propagation.cpp
@@ -448,6 +448,7 @@ fs_visitor::opt_copy_propagate()
out_acp[b]) || progress;
}
+ #if 0
/* Do dataflow analysis for those available copies. */
fs_copy_prop_dataflow dataflow(mem_ctx, &cfg, out_acp);
@@ -467,6 +468,7 @@ fs_visitor::opt_copy_propagate()
progress = opt_copy_propagate_local(mem_ctx, block, in_acp) || progress;
}
+ #endif
for (int i = 0; i < cfg.num_blocks; i++)
delete [] out_acp[i];