This reverts commit a1f5d9412cf7cacb3534635f6c2409fafbe6574e. We no longer needed to sort - it was meant only to ease compare against the old generated files. --- src/mapi/new/genCommon.py | 3 --- 1 file changed, 3 deletions(-)
diff --git a/src/mapi/new/genCommon.py b/src/mapi/new/genCommon.py index a9fdbcdc9ee..bf71de14891 100644 --- a/src/mapi/new/genCommon.py +++ b/src/mapi/new/genCommon.py @@ -92,9 +92,6 @@ def getFunctionsFromRoots(roots): functions[i] = functions[i]._replace(slot=next_slot) next_slot += 1 - # Sort the function list by slot.... to simplify the diff - functions = sorted(functions, key=lambda f: f.slot) - return functions def getExportNamesFromRoots(target, roots): -- 2.19.2 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev