summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_fs_cmod_propagation.cpp
diff options
context:
space:
mode:
authorIan Romanick <ian.d.romanick@intel.com>2015-02-27 18:19:33 -0800
committerIan Romanick <ian.d.romanick@intel.com>2015-03-09 14:07:14 -0700
commitc82c8b220192bcdc6e39afd42576965b523a9ed5 (patch)
tree4da2b89ad02f6740bf3f48646cd3673fa31df582 /src/mesa/drivers/dri/i965/brw_fs_cmod_propagation.cpp
parentf9779e4a8f2ca67423cded0203adac6ad3d5c448 (diff)
downloadexternal_mesa3d-c82c8b220192bcdc6e39afd42576965b523a9ed5.zip
external_mesa3d-c82c8b220192bcdc6e39afd42576965b523a9ed5.tar.gz
external_mesa3d-c82c8b220192bcdc6e39afd42576965b523a9ed5.tar.bz2
i965/fs: Silence unused parameter warning
I don't this opt_cmod_propagation_local ever used the fs_visitor. brw_fs_cmod_propagation.cpp:52:40: warning: unused parameter 'v' [-Wunused-parameter] opt_cmod_propagation_local(fs_visitor *v, bblock_t *block) ^ Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Matt Turner <mattst88@gmail.com> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_fs_cmod_propagation.cpp')
-rw-r--r--src/mesa/drivers/dri/i965/brw_fs_cmod_propagation.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_fs_cmod_propagation.cpp b/src/mesa/drivers/dri/i965/brw_fs_cmod_propagation.cpp
index 58890ee..d0ca2f9 100644
--- a/src/mesa/drivers/dri/i965/brw_fs_cmod_propagation.cpp
+++ b/src/mesa/drivers/dri/i965/brw_fs_cmod_propagation.cpp
@@ -49,7 +49,7 @@
*/
static bool
-opt_cmod_propagation_local(fs_visitor *v, bblock_t *block)
+opt_cmod_propagation_local(bblock_t *block)
{
bool progress = false;
int ip = block->end_ip + 1;
@@ -128,7 +128,7 @@ fs_visitor::opt_cmod_propagation()
bool progress = false;
foreach_block_reverse(block, cfg) {
- progress = opt_cmod_propagation_local(this, block) || progress;
+ progress = opt_cmod_propagation_local(block) || progress;
}
if (progress)