GLSL Copy Propagation Optimizations For Mesa

Written by Michael Larabel in Mesa on 2 January 2017 at 09:30 AM EST. 3 Comments
MESA
A developer has published a set of 14 patches providing copy propagation optimizations for Mesa's GLSL/Nir code.

Thomas Helland on Sunday sent out the set of optimizations to lower the overhead of the copy propagation pass in GLSL. This code isn't yet ready to be merged but is at a "request for comments" stage.

In terms of the end result, compilation on an affected shader goes from 98 to 75 seconds so the series does have the potential to be quite beneficial for cutting down shader compilation times, which is an area Mesa still has much room to improve upon, beyond landing an on-disk shader cache.

More details on this early work for optimizing the copy propagation pass via this patch series and this bug report.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week