summaryrefslogtreecommitdiffstats
path: root/src/intel/tools
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2018-10-14 22:20:17 -0500
committerJason Ekstrand <[email protected]>2018-10-19 11:52:00 -0500
commit0d380af8097cf85122596041af1a611a8139de18 (patch)
treec4576e62a1e955f9836e81c1becb50970492014e /src/intel/tools
parentf8e789d2acf32166d359f1b1d8db1e8859b2b11a (diff)
anv: Define trampolines as the weak functions
Instead of having weak references to the anv functions and separate trampoline functions with their own dispatch table, just make the trampoline functions weak. This gets rid of a dispatch table and potentially lets the compiler delete the unused weak function. The end result is a reduction in the .text section of 5.7K and a reduction in the .data section of 1.4K. Before: text data bss dec hex filename 3190329 282232 8960 3481521 351fb1 _install/lib64/libvulkan_intel.so After: text data bss dec hex filename 3184548 280792 8960 3474300 35037c _install/lib64/libvulkan_intel.so Reviewed-by: Lionel Landwerlin <[email protected]>
Diffstat (limited to 'src/intel/tools')
0 files changed, 0 insertions, 0 deletions