summaryrefslogtreecommitdiff
path: root/src/intel
diff options
context:
space:
mode:
authorSamuel Iglesias Gonsálvez <siglesias@igalia.com>2017-03-14 08:17:36 +0100
committerFrancisco Jerez <currojerez@riseup.net>2017-04-14 14:56:07 -0700
commitaf6fc3a8ea27368ba70338437e27e3c2b522b27b (patch)
treeedfab3684ffc823d4139cb87be1d7d8ada4fa8f7 /src/intel
parentdee31311eb024a636466e359b43d3a67b0135f32 (diff)
i965/fs: rename lower_d2x to lower_conversions
v2: - Change the name to lower_conversions. Signed-off-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com> Reviewed-by: Francisco Jerez <currojerez@riseup.net>
Diffstat (limited to 'src/intel')
-rw-r--r--src/intel/Makefile.sources2
-rw-r--r--src/intel/compiler/brw_fs.cpp2
-rw-r--r--src/intel/compiler/brw_fs.h2
-rw-r--r--src/intel/compiler/brw_fs_lower_conversions.cpp (renamed from src/intel/compiler/brw_fs_lower_d2x.cpp)2
4 files changed, 4 insertions, 4 deletions
diff --git a/src/intel/Makefile.sources b/src/intel/Makefile.sources
index d7bc09ef7a8b..0d446614c622 100644
--- a/src/intel/Makefile.sources
+++ b/src/intel/Makefile.sources
@@ -46,7 +46,7 @@ COMPILER_FILES = \
compiler/brw_fs.h \
compiler/brw_fs_live_variables.cpp \
compiler/brw_fs_live_variables.h \
- compiler/brw_fs_lower_d2x.cpp \
+ compiler/brw_fs_lower_conversions.cpp \
compiler/brw_fs_lower_pack.cpp \
compiler/brw_fs_nir.cpp \
compiler/brw_fs_reg_allocate.cpp \
diff --git a/src/intel/compiler/brw_fs.cpp b/src/intel/compiler/brw_fs.cpp
index 8eb8789905ca..f96e0a39899d 100644
--- a/src/intel/compiler/brw_fs.cpp
+++ b/src/intel/compiler/brw_fs.cpp
@@ -5740,7 +5740,7 @@ fs_visitor::optimize()
OPT(dead_code_eliminate);
}
- if (OPT(lower_d2x)) {
+ if (OPT(lower_conversions)) {
OPT(opt_copy_propagation);
OPT(dead_code_eliminate);
OPT(lower_simd_width);
diff --git a/src/intel/compiler/brw_fs.h b/src/intel/compiler/brw_fs.h
index 8a5525b786ec..e230b5e0dd92 100644
--- a/src/intel/compiler/brw_fs.h
+++ b/src/intel/compiler/brw_fs.h
@@ -161,7 +161,7 @@ public:
void lower_uniform_pull_constant_loads();
bool lower_load_payload();
bool lower_pack();
- bool lower_d2x();
+ bool lower_conversions();
bool lower_logical_sends();
bool lower_integer_multiplication();
bool lower_minmax();
diff --git a/src/intel/compiler/brw_fs_lower_d2x.cpp b/src/intel/compiler/brw_fs_lower_conversions.cpp
index bc316360d053..663c9674c494 100644
--- a/src/intel/compiler/brw_fs_lower_d2x.cpp
+++ b/src/intel/compiler/brw_fs_lower_conversions.cpp
@@ -44,7 +44,7 @@ supports_type_conversion(const fs_inst *inst) {
}
bool
-fs_visitor::lower_d2x()
+fs_visitor::lower_conversions()
{
bool progress = false;