mesa/src
Alyssa Rosenzweig b7f2d480da agx: optimize scratch access
so we can use designated initializers and other fun features.

all affected shaders are in gfxbench:

total instructions in shared programs: 2750549 -> 2750497 (<.01%)
instructions in affected programs: 10832 -> 10780 (-0.48%)
helped: 4
HURT: 2
Inconclusive result (value mean confidence interval includes 0).

total alu in shared programs: 2278478 -> 2278760 (0.01%)
alu in affected programs: 7040 -> 7322 (4.01%)
helped: 2
HURT: 4
Alu are HURT.

total fscib in shared programs: 2276985 -> 2277267 (0.01%)
fscib in affected programs: 7040 -> 7322 (4.01%)
helped: 2
HURT: 4
Fscib are HURT.

total bytes in shared programs: 19922466 -> 19922734 (<.01%)
bytes in affected programs: 71412 -> 71680 (0.38%)
helped: 4
HURT: 2
Inconclusive result (value mean confidence interval includes 0).

total regs in shared programs: 865070 -> 865086 (<.01%)
regs in affected programs: 142 -> 158 (11.27%)
helped: 0
HURT: 2

total uniforms in shared programs: 2120930 -> 2121034 (<.01%)
uniforms in affected programs: 244 -> 348 (42.62%)
helped: 0
HURT: 2

total scratch in shared programs: 11576 -> 11600 (0.21%)
scratch in affected programs: 2744 -> 2768 (0.87%)
helped: 0
HURT: 2

total spills in shared programs: 958 -> 868 (-9.39%)
spills in affected programs: 958 -> 868 (-9.39%)
helped: 6
HURT: 0

total fills in shared programs: 732 -> 626 (-14.48%)
fills in affected programs: 732 -> 626 (-14.48%)
helped: 4
HURT: 2

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Reviewed-by: Mary Guillemard <mary.guillemard@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32529>
2024-12-12 21:16:13 +00:00
..
amd radv: add radv_lower_terminate_to_discard and enable for Indiana Jones 2024-12-12 19:54:39 +00:00
android_stub
asahi agx: optimize scratch access 2024-12-12 21:16:13 +00:00
broadcom vulkan: rename depth bias graphics states 2024-12-06 13:48:26 -05:00
c11 build: pass licensing information in SPDX form 2024-06-29 12:42:49 -07:00
compiler compiler/glsl_types: add glsl_get_word_size_align_bytes 2024-12-12 21:16:13 +00:00
drm-shim drm-shim: stub synobj_timeline_wait and query ioctl 2024-07-16 11:17:59 +02:00
egl meson: drop unused variables 2024-11-26 20:45:41 +00:00
etnaviv etnaviv/ml: Add support for tensor split and concatenation operations 2024-12-06 13:29:11 +00:00
freedreno ir3/cp: add support for swapping srcs of sad 2024-12-11 16:45:13 +00:00
gallium asahi: use mesa_prim_has_adjacency 2024-12-12 21:16:13 +00:00
gbm Revert "gbm: mark surface buffers as explicit flushed" 2024-11-27 22:48:04 +00:00
getopt build: pass licensing information in SPDX form 2024-06-29 12:42:49 -07:00
gfxstream gfxstream: fix issues with VK1.4 build 2024-12-03 20:35:44 +00:00
glx glx: return BadMatch for invalid reset notification strategy 2024-11-27 19:00:20 +00:00
gtest build: pass licensing information in SPDX form 2024-06-29 12:42:49 -07:00
imagination vulkan: rename depth bias graphics states 2024-12-06 13:48:26 -05:00
imgui
intel brw: don't read past the end of old_src buffer in resize_sources() 2024-12-12 20:33:13 +00:00
loader loader: Fix typo in __DRI_IMAGE_FORMAT_XBGR16161616 definition 2024-10-25 14:18:24 +00:00
mapi meson: remove selinux option 2024-10-21 01:14:35 +00:00
mesa mesa: when blitting between formats clear any unused components 2024-12-05 18:27:37 +00:00
microsoft microsoft/clc: Initialize printf buffer for tests 2024-12-10 19:13:07 +00:00
nouveau nvk/ci: update the ga106 expectations 2024-12-11 04:24:35 +00:00
panfrost panvk: do not require opt-in for panvk on v10 2024-12-12 19:32:06 +00:00
tool perfetto: Add Panfrost data sources to system.cfg 2024-08-22 18:33:45 +00:00
util util/bitpack_helpers: make partially CL safe 2024-12-12 21:16:12 +00:00
virtio treewide: Stop putting enum in front of Vulkan enum types 2024-12-02 17:22:49 +00:00
vulkan vulkan: Fix the argument order of update_as 2024-12-12 11:15:08 +00:00
x11 meson: require dri3 modifiers 2024-09-06 17:34:17 +00:00
.clang-format nir: add helpers for precompiled shaders 2024-11-28 17:34:12 +00:00
meson.build meson: simplify logic a bit 2024-11-26 20:45:41 +00:00