panfrost: Compile tiling routines with -O3

These are major hot spots for panfrost and lima; better let the compiler
do its thing even on debug builds.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Reviewed-by: Vasily Khoruzhick <anarsoul@gmail.com>
Tested-by: Vasily Khoruzhick <anarsoul@gmail.com> #lima on Mali400
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3414>
This commit is contained in:
Alyssa Rosenzweig
2020-01-14 12:27:47 -05:00
parent bd4380c63c
commit 0ca7ab1c97

View File

@@ -28,7 +28,7 @@ libpanfrost_shared = static_library(
'panfrost_shared',
[libpanfrost_shared_files],
include_directories : [inc_common],
c_args : [c_vis_args, no_override_init_args],
c_args : [c_vis_args, no_override_init_args, '-O3'],
cpp_args : [cpp_vis_args],
build_by_default : false,
)