Intel Mesa Driver Now Handles Register Spilling

Posted by Michael Larabel on October 02, 2012

The Intel i965 Mesa DRI driver can now handle register spilling.

Register spilling is what happens when allocating variables but there are no longer enough registers available so some registers need to be placed (or "spilled") in RAM instead. Up to this point there hasn't been the support within the Intel Mesa driver so it would simply fail, while now it's able to use memory when out of registers. Update: Daniel Vetter has clarified that the Intel driver has had register spilling support for the fragment shader already but that this is just for the VS.

Kenneth Graunke provided the patch to implement register spilling on the Mesa-dev mailing list. This might also be back-ported to Mesa 9.0. "This is a candidate for the 9.0 branch. Even if it proves to have bugs, it's likely better than simply failing to compile."

Discuss this article in our forums, IRC channel, or email the author. You can also follow our content via RSS and on social networks like Facebook, Identi.ca, and Twitter (@Phoronix and @MichaelLarabel). Subscribe to Phoronix Premium to view our content without advertisements, view entire articles on a single page, and experience other benefits.
  1. Computers
  2. Display Drivers
  3. Graphics Cards
  4. Motherboards
  5. Peripherals
  6. Processors
  7. Software
  8. Operating Systems
  9. All Articles
  1. Linux Benchmarking
  2. OpenBenchmarking.org
  3. Phoronix Test Suite