summaryrefslogtreecommitdiffstats
path: root/src/mesa/program/register_allocate.h
Commit message (Collapse)AuthorAgeFilesLines
* ra: Add q_values parameter to ra_set_finalize()Tom Stellard2012-09-191-1/+3
| | | | | | This allows the user to pass precomputed q values to the allocator. Reviewed-by: Kenneth Graunke <[email protected]>
* mesa: Make the register allocator allocation take a ralloc context.Eric Anholt2012-01-181-1/+1
| | | | | | This fixes a memory leak on i965 context destruction. NOTE: This is a candidate for the 8.0 branch.
* mesa: Add a convenience interface for register allocator conflicts setup.Eric Anholt2011-08-101-0/+2
|
* ra: Add ra_set_node_reg()Tom Stellard2011-04-301-0/+1
| | | | | | | | This function can be used to avoid creating single register classes for input/payload registers. This makes optimistic coloring less likely to fail. Reviewed-by: Eric Anholt <[email protected]>
* i965: Add support for register spilling.Eric Anholt2010-10-211-0/+2
| | | | | It can be tested with if (0) replaced with if (1) to force spilling for all virtual GRFs. Some simple tests work, but large texturing tests fail.
* ra: First cut at a graph-coloring register allocator for mesa.Eric Anholt2010-09-291-0/+69
Notably missing is choice of registers to spill.