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>
Mon, 14 Dec 2015 23:58:10 +0000 (15:58 -0800)
src/mesa/drivers/dri/i965/brw_fs.cpp
src/mesa/drivers/dri/i965/brw_fs.h

index dc0bdba72c1d2e64ac013ab7b4984556c2cbeec9..7124ee3905baa7d66f46ffa062ac070abbb4a5ec 100644 (file)
@@ -2016,7 +2016,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;
 
@@ -5033,7 +5033,7 @@ fs_visitor::optimize()
    bld = fs_builder(this, 64);
 
    assign_constant_locations();
-   demote_pull_constants();
+   lower_constant_loads();
 
    validate();
 
index 7bed21795315d9adaf5122698487f3b282c018cc..d09f2e4242573fa4fdf6c3ac53dd061abe3bf4fc 100644 (file)
@@ -136,7 +136,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();