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."

Get the Android app

Or read this on Phoronix

Read more on:

Photo of drivers

drivers

Photo of Unification

Unification

Photo of mesa lands

mesa lands

Related news:

News photo

DoorDash Paying Drivers $17 Million For Stolen Tips

News photo

DoorDash Paying Drivers $17M for Stolen Tips | The payment is part of a settlement with the New York Attorney General.

News photo

Ads Popped Up on Drivers’ Screens. There May Be More on the Way