mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-23 08:38:08 +02:00
It really isn't that hard. This drops the roundmode optimization but otherwise should be at parity to what there was before, and it's massively more competent at it anyway. total instructions in shared programs: 1514477 -> 1508444 (-0.40%) instructions in affected programs: 645848 -> 639815 (-0.93%) helped: 2712 HURT: 187 Instructions are helped. total bundles in shared programs: 645069 -> 642999 (-0.32%) bundles in affected programs: 136233 -> 134163 (-1.52%) helped: 1242 HURT: 319 Bundles are helped. total quadwords in shared programs: 1130469 -> 1125969 (-0.40%) quadwords in affected programs: 379780 -> 375280 (-1.18%) helped: 1878 HURT: 376 Quadwords are helped. total registers in shared programs: 90577 -> 90633 (0.06%) registers in affected programs: 5627 -> 5683 (1.00%) helped: 309 HURT: 294 Inconclusive result (value mean confidence interval includes 0). total threads in shared programs: 55594 -> 55607 (0.02%) threads in affected programs: 118 -> 131 (11.02%) helped: 43 HURT: 33 Inconclusive result (value mean confidence interval includes 0). total spills in shared programs: 1399 -> 1371 (-2.00%) spills in affected programs: 345 -> 317 (-8.12%) helped: 10 HURT: 4 total fills in shared programs: 5273 -> 5133 (-2.66%) fills in affected programs: 1035 -> 895 (-13.53%) helped: 12 HURT: 4 Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Reviewed-by: Italo Nicola <italonicola@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23769>
46 lines
1.7 KiB
Meson
46 lines
1.7 KiB
Meson
# Copyright © 2018 Rob Clark
|
|
# Copyright © 2019 Collabora
|
|
|
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
# of this software and associated documentation files (the "Software"), to deal
|
|
# in the Software without restriction, including without limitation the rights
|
|
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
# copies of the Software, and to permit persons to whom the Software is
|
|
# furnished to do so, subject to the following conditions:
|
|
|
|
# The above copyright notice and this permission notice shall be included in
|
|
# all copies or substantial portions of the Software.
|
|
|
|
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
# SOFTWARE.
|
|
|
|
libpanfrost_util_files = files(
|
|
'lcra.c',
|
|
'lcra.h',
|
|
'pan_collect_varyings.c',
|
|
'pan_ir.c',
|
|
'pan_ir.h',
|
|
'pan_liveness.c',
|
|
'pan_lower_framebuffer.c',
|
|
'pan_lower_helper_invocation.c',
|
|
'pan_lower_sample_position.c',
|
|
'pan_lower_store_component.c',
|
|
'pan_lower_writeout.c',
|
|
'pan_lower_xfb.c',
|
|
'pan_lower_64bit_intrin.c',
|
|
)
|
|
|
|
libpanfrost_util = static_library(
|
|
'panfrost_util',
|
|
[libpanfrost_util_files],
|
|
include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux, inc_panfrost_hw],
|
|
dependencies: [idep_nir],
|
|
c_args : [no_override_init_args],
|
|
gnu_symbol_visibility : 'hidden',
|
|
build_by_default : false,
|
|
)
|