mesa/src
Konstantin Seurer af375c6756 radv: Optimize fs builtins using static gfx state
The values of some builtins are known at compile time when the
application creates pipelines with static state.

Stats for graphics pipelines:

Totals from 568 (0.71% of 80536) affected shaders:
MaxWaves: 12364 -> 12502 (+1.12%); split: +1.26%, -0.15%
Instrs: 515696 -> 501182 (-2.81%); split: -2.85%, +0.04%
CodeSize: 2815736 -> 2741464 (-2.64%); split: -2.69%, +0.05%
VGPRs: 29528 -> 29160 (-1.25%); split: -1.71%, +0.46%
SpillSGPRs: 212 -> 215 (+1.42%)
Latency: 5515421 -> 5409125 (-1.93%); split: -2.05%, +0.13%
InvThroughput: 1293512 -> 1277913 (-1.21%); split: -1.27%, +0.06%
VClause: 10570 -> 10295 (-2.60%); split: -2.74%, +0.14%
SClause: 19040 -> 18531 (-2.67%); split: -2.83%, +0.16%
Copies: 37189 -> 35431 (-4.73%); split: -5.31%, +0.58%
Branches: 11391 -> 11070 (-2.82%); split: -2.92%, +0.11%
PreSGPRs: 27848 -> 27313 (-1.92%); split: -1.95%, +0.03%
PreVGPRs: 24847 -> 24106 (-2.98%); split: -3.00%, +0.02%
VALU: 359356 -> 348779 (-2.94%); split: -2.97%, +0.03%
SALU: 59135 -> 57448 (-2.85%); split: -3.11%, +0.26%
VMEM: 14674 -> 14313 (-2.46%)
SMEM: 30901 -> 30342 (-1.81%); split: -1.84%, +0.03%

Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32793>
2025-02-17 09:45:15 +00:00
..
amd radv: Optimize fs builtins using static gfx state 2025-02-17 09:45:15 +00:00
android_stub
asahi hk: Don't include full nir.h in hk_shader.h 2025-02-12 22:33:07 +01:00
broadcom v3dv: VK_EXT_acquire_drm_display doesn't require a DRM master fd 2025-02-13 11:28:42 +00:00
c11 c11: use SPDX-License-Identifier header 2025-01-08 20:37:51 +00:00
compiler glsl: Fix typos 2025-02-15 17:43:44 +00:00
drm-shim
egl dri,egl,glx: remove redundant usage of HAVE_X11_DRM 2025-02-17 02:50:15 +00:00
etnaviv etnaviv/ci: opt-in the new mars setup command 2025-02-15 14:22:24 +02:00
freedreno turnip/ci: Add a nightly ANGLE job on a750 2025-02-17 09:07:48 +00:00
gallium turnip/ci: Rename valve-freedreno-turnip-manual-rules 2025-02-17 09:07:48 +00:00
gbm gbm: fix get_back_bo() failure with gbm_surface and implicit modifiers 2025-02-14 16:41:07 +00:00
getopt
gfxstream gfxstream: Clean up the gfxstream_vk device and instance init 2025-02-14 15:38:35 +00:00
glx dri,egl,glx: remove redundant usage of HAVE_X11_DRM 2025-02-17 02:50:15 +00:00
gtest
imagination pvr: use vk_descriptor_type_is_dynamic 2024-12-19 15:12:58 +00:00
imgui
intel ci: Update expectations from latest nightly 2025-02-17 06:56:30 +00:00
loader loader/wayland: Fix missing timespec.h include 2025-02-06 10:39:25 +01:00
mapi mapi: Fix typos 2025-02-15 17:43:44 +00:00
mesa mesa/ffvs: Skip doing redundant stores of .xyz when doing lighting calculation. 2025-02-13 22:23:02 +00:00
microsoft ci: Update expectations from latest nightly 2025-02-17 06:56:30 +00:00
nouveau nvk: Respect VK_DESCRIPTOR_POOL_CREATE_HOST_ONLY_BIT_EXT 2025-02-17 00:41:36 +00:00
panfrost panvk: Use vk_image_can_be_aliased_to_yuv_plane() helper 2025-02-15 05:39:33 +00:00
tool panvk: add u_trace perfetto support 2024-12-17 23:14:26 +00:00
util anv: enable vertex fetching component packing 2025-02-13 14:36:15 +00:00
virtio ci: Update expectations from latest nightly 2025-02-17 06:56:30 +00:00
vulkan vulkan: Fix typos 2025-02-15 17:43:44 +00:00
x11 glx/egl/x11: fix x11_dri3_check_multibuffer 2025-02-17 02:50:15 +00:00
.clang-format freedreno: move ForEachMacros into freedreno 2025-01-24 12:15:31 +00:00
meson.build dri: put shared-glapi into libgallium.*.so 2025-01-23 00:49:05 +00:00