[Mesa-dev] [PATCH] gallium: remove enum numbers from shader cap queries

Michel Dänzer michel at daenzer.net
Sat May 3 06:43:47 PDT 2014


On 03.05.2014 22:29, Brian Paul wrote:
> The enum numbers were just cruft.

I disagree. Nothing's changed about the reason I added them in the first
place: When a driver is queried for a cap it doesn't know about, it
prints an error message containing only the numeric value of the cap.
These explicit numbers make it easy to find out which cap the driver is
complaining about.


-- 
Earthling Michel Dänzer            |                  http://www.amd.com
Libre software enthusiast          |                Mesa and X developer


More information about the mesa-dev mailing list