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:
@@ -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()):
|
||||
|
Reference in New Issue
Block a user