On 27 July 2016 at 14:02, Emil Velikov <emil.l.veli...@gmail.com> wrote: > Hi all, > > A small series which covers the following: > - Don't build the internal validate layer for release builds. The only > validate function uses only asserts thus is no-op, yet cannot the > optimiser cannot drop the ~10KiB of unused code. > - Hide all* the symbols but vk_icdGetInstanceProcAddr from the export > list, (implied with v1 of the loader and mandatory with v2) > - Link with -Bsymbolic for safe measure (mentioned/suggested in v2) > - Remove VK_DEBUG_MARKER_EXT implementation - empty stubes, and > extension isn't mentioned in the json. > > This saves us ~60K in binary size and a range of issues - both build and > runtime. Tested OK against Dota2 (with overlay disabled). > Forgot to mention - those patches are not crucial material for stable. I'll let people weight in for/against including them.
-Emil _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev