diff options
author | Samuel Iglesias Gonsálvez <siglesias@igalia.com> | 2017-03-14 08:17:36 +0100 |
---|---|---|
committer | Francisco Jerez <currojerez@riseup.net> | 2017-04-14 14:56:07 -0700 |
commit | af6fc3a8ea27368ba70338437e27e3c2b522b27b (patch) | |
tree | edfab3684ffc823d4139cb87be1d7d8ada4fa8f7 /src | |
parent | dee31311eb024a636466e359b43d3a67b0135f32 (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')
-rw-r--r-- | src/intel/Makefile.sources | 2 | ||||
-rw-r--r-- | src/intel/compiler/brw_fs.cpp | 2 | ||||
-rw-r--r-- | src/intel/compiler/brw_fs.h | 2 | ||||
-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 d7bc09ef7a..0d446614c6 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 8eb8789905..f96e0a3989 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 8a5525b786..e230b5e0dd 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 bc316360d0..663c9674c4 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; |