Intel's Linux Graphics Stack Is Close To Landing A Code-Generator Generator
![INTEL](/assets/categories/intel.webp)
Longtime open-source Intel Linux developer Ian Romanick spoke at FOSDEM 2020 this weekend in Brussels about the automatic, pattern-based code generation he's been working on for the Intel Mesa code. This comes after more than a decade of experimenting with the idea before of a code-generator generator only to hit roadblocks.
But with the evolution of their graphics software architecture as well as hardware advancements, the code-generator generator is now a possibility that is likely to be merged soon into mainline Mesa.
Watch the presentation (WebM/VP9) for those interested in the topic of graphics compiler topics. So far "a couple simple optimizations" have helped a couple hundred shaders by a couple percent, but still more possibilities of tuning this further lay at hand.
This merge request has been pending since the end of last year to introduce the Intel code-generator generator. It missed the Mesa 20.0 window but now with Mesa 20.1 at play, hopefully we'll see it land soon. The code-generator generator itself is written in Python and has been a work-in-progress by Ian for the past year.
4 Comments