Re: [Mesa-dev] [PATCH] anv: Split dispatch tables into device and instance

2018-10-14 Thread Lionel Landwerlin
Nice! Reviewed-by: Lionel Landwerlin On 13/10/2018 19:35, Jason Ekstrand wrote: There's no reason why we need generate trampoline functions for instance functions or carry N copies of the instance dispatch table around for every hardware generation. Splitting the tables and being more conserv

[Mesa-dev] [PATCH] anv: Split dispatch tables into device and instance

2018-10-13 Thread Jason Ekstrand
There's no reason why we need generate trampoline functions for instance functions or carry N copies of the instance dispatch table around for every hardware generation. Splitting the tables and being more conservative shaves about 34K off .text and about 4K off .data when built with clang. Befor