RadeonSI Primitive Culling Lands In Mesa 19.2

Written by Michael Larabel in Mesa on 20 May 2019 at 08:19 AM EDT. 25 Comments
MESA
The past few months AMD's Marek Olšák has been working on primitive culling support for the RadeonSI Gallium3D driver and last week that code was merged into the Mesa 19.2 development code.

Marek has been working on primitive culling via asynchronous compute prior to the vertex shader process to eliminate geometry that ends up being invisible. Marek found that this functionality helps in workloads like the workstation ParaView software we use as part of our OpenGL test suite.

Benchmarks we did back in February did see big gains in ParaView but for common Linux OpenGL games there wasn't much of a difference. However, with this latest code now in Mesa 19.2-devel, I'll be running more benchmarks soon.

The code for culling primitives with async compute for large draw calls ends up being more than two thousand lines of new code. The primitive discard functionality can be toggled with AMD_DEBUG= and values of alwayspd/pd/nopd.
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