Module: Mesa Branch: master Commit: 47de5532836d795cf5f0363eb339385c83fdb00b URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=47de5532836d795cf5f0363eb339385c83fdb00b
Author: Tony Wasserka <[email protected]> Date: Thu Sep 3 12:36:58 2020 +0200 aco/isel: Move context initialization code to a dedicated file aco_instruction_selection_setup.cpp (previously used as a header) has been split into a header and an implementation file. The latter "only" implements init_context and setup_isel_context, but since these files carry a long trail of helper functions, this cleans up the isel header a lot. Reduces library size by 3.1% due to more functions being compiled with static linkage. Makes aco_instruction_selection.cpp compile 3% faster. Reviewed-by: Daniel Schürmann <[email protected]> Reviewed-by: Timur Kristóf <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6504> --- src/amd/compiler/aco_instruction_selection.cpp | 7 +- src/amd/compiler/aco_instruction_selection.h | 271 ++++ .../compiler/aco_instruction_selection_setup.cpp | 1408 ++++++++------------ src/amd/compiler/meson.build | 1 + 4 files changed, 866 insertions(+), 821 deletions(-) Diff: http://cgit.freedesktop.org/mesa/mesa/diff/?id=47de5532836d795cf5f0363eb339385c83fdb00b _______________________________________________ mesa-commit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-commit
