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:
@@ -28,7 +28,7 @@ libpanfrost_shared = static_library(
|
|||||||
'panfrost_shared',
|
'panfrost_shared',
|
||||||
[libpanfrost_shared_files],
|
[libpanfrost_shared_files],
|
||||||
include_directories : [inc_common],
|
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],
|
cpp_args : [cpp_vis_args],
|
||||||
build_by_default : false,
|
build_by_default : false,
|
||||||
)
|
)
|
||||||
|
Reference in New Issue
Block a user