aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_fs_copy_propagation.cpp
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2012-10-03 13:16:09 -0700
committerEric Anholt <[email protected]>2012-10-17 12:24:00 -0700
commit7abfb67dc42ec3a96443ed025807267646c56e86 (patch)
treed7702b188d339d1a73dc00c800707e12659a87f8 /src/mesa/drivers/dri/i965/brw_fs_copy_propagation.cpp
parent5ed57d9543df1875d843638212a1f650fc0b17ec (diff)
i965: Rename fs_cfg types to not mention fs.
fs_bblock_link -> bblock_link fs_bblock -> bblock_t (to avoid conflicting with all the fs_bblock *bblock) fs_cfg -> cfg_t (to avoid conflicting with all the fs_cfg *cfg) Reviewed-by: Kenneth Graunke <[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.cpp6
1 files changed, 3 insertions, 3 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 f51f7b944e7..7ab1c5113aa 100644
--- a/src/mesa/drivers/dri/i965/brw_fs_copy_propagation.cpp
+++ b/src/mesa/drivers/dri/i965/brw_fs_copy_propagation.cpp
@@ -195,7 +195,7 @@ fs_visitor::try_constant_propagate(fs_inst *inst, acp_entry *entry)
* list.
*/
bool
-fs_visitor::opt_copy_propagate_local(void *mem_ctx, fs_bblock *block)
+fs_visitor::opt_copy_propagate_local(void *mem_ctx, bblock_t *block)
{
bool progress = false;
int acp_count = 16;
@@ -273,10 +273,10 @@ fs_visitor::opt_copy_propagate()
bool progress = false;
void *mem_ctx = ralloc_context(this->mem_ctx);
- fs_cfg cfg(this);
+ cfg_t cfg(this);
for (int b = 0; b < cfg.num_blocks; b++) {
- fs_bblock *block = cfg.blocks[b];
+ bblock_t *block = cfg.blocks[b];
progress = opt_copy_propagate_local(mem_ctx, block) || progress;
}