summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_vec4_copy_propagation.cpp
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gmail.com>2014-06-23 22:12:03 -0700
committerMatt Turner <mattst88@gmail.com>2014-06-25 13:00:55 -0700
commit7526df70ea249c26332c35017f7a810332b2deee (patch)
treebff79ec6928d50cb36357be0626855f774d53c5c /src/mesa/drivers/dri/i965/brw_vec4_copy_propagation.cpp
parent7192207de18a7a7e127a8a5910626af96f001993 (diff)
downloadexternal_mesa3d-7526df70ea249c26332c35017f7a810332b2deee.zip
external_mesa3d-7526df70ea249c26332c35017f7a810332b2deee.tar.gz
external_mesa3d-7526df70ea249c26332c35017f7a810332b2deee.tar.bz2
i965/vec4: Rename try_copy/constant_propagat{ion,e} to match the fs.
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_vec4_copy_propagation.cpp')
-rw-r--r--src/mesa/drivers/dri/i965/brw_vec4_copy_propagation.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_vec4_copy_propagation.cpp b/src/mesa/drivers/dri/i965/brw_vec4_copy_propagation.cpp
index 278ec7b..d992a86 100644
--- a/src/mesa/drivers/dri/i965/brw_vec4_copy_propagation.cpp
+++ b/src/mesa/drivers/dri/i965/brw_vec4_copy_propagation.cpp
@@ -73,8 +73,8 @@ is_channel_updated(vec4_instruction *inst, src_reg *values[4], int ch)
}
static bool
-try_constant_propagation(struct brw_context *brw, vec4_instruction *inst,
- int arg, src_reg *values[4])
+try_constant_propagate(struct brw_context *brw, vec4_instruction *inst,
+ int arg, src_reg *values[4])
{
/* For constant propagation, we only handle the same constant
* across all 4 channels. Some day, we should handle the 8-bit
@@ -212,8 +212,8 @@ is_logic_op(enum opcode opcode)
}
bool
-vec4_visitor::try_copy_propagation(vec4_instruction *inst, int arg,
- src_reg *values[4])
+vec4_visitor::try_copy_propagate(vec4_instruction *inst, int arg,
+ src_reg *values[4])
{
/* For constant propagation, we only handle the same constant
* across all 4 channels. Some day, we should handle the 8-bit
@@ -367,8 +367,8 @@ vec4_visitor::opt_copy_propagation()
if (c != 4)
continue;
- if (try_constant_propagation(brw, inst, i, values) ||
- try_copy_propagation(inst, i, values))
+ if (try_constant_propagate(brw, inst, i, values) ||
+ try_copy_propagate(inst, i, values))
progress = true;
}