Get the latest tech news
Mesa Lands A Shader Statistics Framework For More Unification Across Drivers
The latest bit of increased driver code unification and decreasing code duplication among Mesa's OpenGL and Vulkan drivers is finally introducing a common shader statistic framework.
Rosenzweig explains in the merge that was accepted this week for Mesa 25.1:"All mature drivers report shader statistics in various places. Many drivers also have a magic env var to dump the stats to stdout/stderr in addition to these standard forms.Implementing any of these 3 reports requires doing brittle string processing in C (GL, stdout) or piles of boilerplate (VK). Turnip is also added partially - it's not plumbed into ir3/gallium yet but just using the XML reduces boilerplate a ton for Vulkan statistics."
Or read this on Phoronix