I assume this will be kicked out of the branch before we merge? I mean,
either works, it just seems a bit pointless to keep patches to aid
comparisons in our tree.

On Fri, 2018-12-14 at 14:04 +0000, Emil Velikov wrote:
> From: Emil Velikov <emil.veli...@collabora.com>
> 
> Makes it easier to compare the newly generated header against the old
> one. Will be reverted after the transition.
> ---
>  src/mapi/new/genCommon.py | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/src/mapi/new/genCommon.py b/src/mapi/new/genCommon.py
> index b0925d80151..ec48d522c05 100644
> --- a/src/mapi/new/genCommon.py
> +++ b/src/mapi/new/genCommon.py
> @@ -74,6 +74,9 @@ def getFunctionsFromRoots(roots):
>      for i in range(len(functions)):
>          functions[i] = functions[i]._replace(slot=i)
>  
> +    # Sort the function list by slot.... to simplify the diff
> +    functions = sorted(functions, key=lambda f: f.slot)
> +
>      return functions
>  
>  def getExportNamesFromRoots(target, roots):

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to