i965/fs: Rename demote_pull_constants to lower_constant_loads
authorJason Ekstrand <jason.ekstrand@intel.com>
Wed, 9 Dec 2015 01:14:49 +0000 (17:14 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Thu, 14 Apr 2016 22:59:33 +0000 (15:59 -0700)
Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_fs.cpp
src/mesa/drivers/dri/i965/brw_fs.h

index e2a31aeeaf4fc256b755489c7c895839ccc726b3..136b2f1c45c733ecd8f9042f2d472b914e58111b 100644 (file)
@@ -2031,7 +2031,7 @@ fs_visitor::assign_constant_locations()
  * or VARYING_PULL_CONSTANT_LOAD instructions which load values into VGRFs.
  */
 void
-fs_visitor::demote_pull_constants()
+fs_visitor::lower_constant_loads()
 {
    const unsigned index = stage_prog_data->binding_table.pull_constants_start;
 
@@ -5098,7 +5098,7 @@ fs_visitor::optimize()
    bld = fs_builder(this, 64);
 
    assign_constant_locations();
-   demote_pull_constants();
+   lower_constant_loads();
 
    validate();
 
index 8c412f56bc4d2d0a1319af9fbf343cbe2b99ad97..6afb9b6c8a63f1823b5e36e6bc97d88552c4e81a 100644 (file)
@@ -139,7 +139,7 @@ public:
    void split_virtual_grfs();
    bool compact_virtual_grfs();
    void assign_constant_locations();
-   void demote_pull_constants();
+   void lower_constant_loads();
    void invalidate_live_intervals();
    void calculate_live_intervals();
    void calculate_register_pressure();