glapi: Remove handling of mesa_name XML attribute.

Previously, we used the mesa_name XML attribute to make the code
generation scripts aware of any instances where the Mesa
implementation of a function had a different function name suffix than
the primary name in the XML.  Now that all of the Mesa implementation
functions have been renamed to match the XML, this attribute is no
longer necessary.

Acked-by: Brian Paul <brianp@vmware.com>
This commit is contained in:
Paul Berry
2012-11-07 09:29:20 -08:00
parent bb3db388d8
commit 55b81ff56b
3 changed files with 4 additions and 53 deletions

View File

@@ -189,7 +189,7 @@ class PrintCode(gl_XML.gl_print_base):
# dynamically.
continue
settings_by_condition[condition].append(
'SET_{0}(exec, {1}{2});'.format(f.name, prefix, f.mesa_name))
'SET_{0}(exec, {1}{0});'.format(f.name, prefix, f.name))
# Print out an if statement for each unique condition, with
# the SET_* calls nested inside it.
for condition in sorted(settings_by_condition.keys()):