diff options
author | Connor Abbott <[email protected]> | 2015-06-12 12:01:35 -0700 |
---|---|---|
committer | Connor Abbott <[email protected]> | 2015-10-30 02:19:33 -0400 |
commit | c1860299b807c6a7c237962977294580f9f17c86 (patch) | |
tree | bf07b4e31e6e2ae9accbfb611a61559977ef43a3 /src/mesa/drivers/dri/i965/brw_fs.h | |
parent | 45cd76e342d1e8ecea38e2048b96cf5be3a30fab (diff) |
i965/fs: split out calculation of payload live ranges
We'll need this for the scheduler too, since it wants to know when the
live ranges of payload registers end in order to model them in our
register pressure calculations.
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_fs.h')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_fs.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_fs.h b/src/mesa/drivers/dri/i965/brw_fs.h index d98769df4dc..8058b344b7a 100644 --- a/src/mesa/drivers/dri/i965/brw_fs.h +++ b/src/mesa/drivers/dri/i965/brw_fs.h @@ -145,6 +145,8 @@ public: void assign_vs_urb_setup(); bool assign_regs(bool allow_spilling); void assign_regs_trivial(); + void calculate_payload_ranges(int payload_node_count, + int *payload_last_use_ip); void setup_payload_interference(struct ra_graph *g, int payload_reg_count, int first_payload_node); int choose_spill_reg(struct ra_graph *g); |