mesa/extensions: Replace extension::api_set with ::version
authorNanley Chery <nanley.g.chery@intel.com>
Mon, 21 Sep 2015 18:23:33 +0000 (11:23 -0700)
committerNanley Chery <nanley.g.chery@intel.com>
Thu, 12 Nov 2015 21:10:37 +0000 (13:10 -0800)
commiteda15abd84af575d3bde432e2163e30d743a7c87
treea81b65c3c35dcf87fb4f9566b795f536d3f4309b
parenta82bc779af37334ebc874d38951324f5f0b651cd
mesa/extensions: Replace extension::api_set with ::version

The api_set field has no users outside of _mesa_extension_supported().
Remove it and allow the version field to take its place.

The brunt of the transformation was performed with the following vim commands:
s/\(GL [^,]\+\),\s*\d*,\s*\d*\(,\s*\d*\)\(,\s*\d*\)/\1, GLL, GLC\2\3/g
s/\(GLL [^,]\+\)\,\s*\d*/\1, GLL/g
s/\(GLC [^,]\+\)\(,\s*\d*\),\s*\d*\(,\s*\d*\)\(,\s*\d*\)/\1\2, GLC\3\4/g
s/\( ES1[^,]*\)\(,\s*\(\w\|\d\)\+\)\(,\s*\(\w\|\d\)\+\),\s*\d*/\1\2\4, ES1/g
s/\( ES2[^,]*\)\(,\s*\(\w\|\d\)\+\)\(,\s*\(\w\|\d\)\+\)\(,\s*\(\w\|\d\)\+\),\s*\d*/\1\2\4\6, ES2/g

Signed-off-by: Nanley Chery <nanley.g.chery@intel.com>
Reviewed-by: Chad Versace <chad.versace@intel.com>
src/mesa/main/extensions.c
src/mesa/main/extensions_table.h