summaryrefslogtreecommitdiffstats
path: root/src/panfrost/shared
diff options
context:
space:
mode:
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>2020-01-14 12:27:47 -0500
committerAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>2020-01-21 08:35:01 -0500
commit0ca7ab1c972843057ff622c1edb31c86872102dd (patch)
tree9f1904606386d44d565b74494c4cfe83df9300f7 /src/panfrost/shared
parentbd4380c63c3b8b8b5f60dc840809dbe96a222fd7 (diff)
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>
Diffstat (limited to 'src/panfrost/shared')
-rw-r--r--src/panfrost/shared/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/panfrost/shared/meson.build b/src/panfrost/shared/meson.build
index 0bf09dbbbf8..9aae8e89a78 100644
--- a/src/panfrost/shared/meson.build
+++ b/src/panfrost/shared/meson.build
@@ -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,
)