[Mesa-dev] Cut 2903 lines from the built-in profile madness.

Kenneth Graunke kenneth at whitecape.org
Tue Apr 17 11:45:18 PDT 2012


This series is inspired by Olivier's shading language include series,
which nuked a zillion lines from the built-in profiles.  However,
this one does it in 4 lines of Python and should reduce startup time
a little as well.

I was actually surprised it turned out this simple.  I'd originally
devised something far more complicated and couldn't get it to work.
Then I realized that all the infrastructure was already all in place,
deleted all the complexity, and everything worked...



More information about the mesa-dev mailing list