mesa/src
Rhys Perry 2d07bcad66 radv: lower load_local_invocation_index with 1D workgroups
For 1D workgroups, we can just load from an input VGPR.

fossil-db (Sienna Cichlid):
Totals from 226 (0.18% of 128647) affected shaders:
CodeSize: 1200476 -> 1195696 (-0.40%); split: -0.49%, +0.09%
Instrs: 223817 -> 223328 (-0.22%); split: -0.29%, +0.07%
Latency: 2552394 -> 2549606 (-0.11%); split: -0.15%, +0.04%
InvThroughput: 533989 -> 532670 (-0.25%); split: -0.27%, +0.02%
VClause: 5191 -> 5188 (-0.06%)
SClause: 7637 -> 7636 (-0.01%)
Copies: 18165 -> 18182 (+0.09%); split: -0.22%, +0.31%
Branches: 10446 -> 10442 (-0.04%)
PreSGPRs: 8049 -> 8041 (-0.10%); split: -0.17%, +0.07%
PreVGPRs: 7785 -> 7767 (-0.23%); split: -0.32%, +0.09%

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Daniel-schuermann <daniel@schuermann.dev>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13757>
2021-11-12 18:59:51 +00:00
..
amd radv: lower load_local_invocation_index with 1D workgroups 2021-11-12 18:59:51 +00:00
android_stub android_stub: update platform headers to include atrace 2021-10-09 00:42:32 +00:00
asahi nir: add indirect loop unrolling to compiler options 2021-08-03 10:54:50 +00:00
broadcom v3dv: don't use a global constant for default pipeline dynamic state 2021-11-12 11:04:07 +00:00
compiler nir/lower_system_values: replace local_invocation_id components with zero 2021-11-12 18:59:51 +00:00
drm-shim drm-shim: Support kernels with >4k pages 2021-08-13 23:33:52 +00:00
egl egl/wayland: Properly clear stale buffers on resize 2021-10-16 19:13:58 +00:00
etnaviv ci/etnaviv: no need to force nir anymore 2021-11-12 08:22:29 +00:00
freedreno tu: Expose Vulkan 1.2 2021-11-12 18:14:34 +00:00
gallium freedreno/a[345]xx: add R8/RG8 SRGB formats 2021-11-12 17:22:02 +00:00
gbm gbm: add GBM_FORMAT_GR1616 and RG1616 2021-10-27 02:53:05 +00:00
getopt
glx glx/drirc: add a force_direct_glx_context option 2021-11-04 13:59:00 +01:00
gtest gtest: Fix output of array ASSERT/EXPECT macros 2021-11-11 09:53:09 -08:00
hgl
imgui
intel anv: fix multiple wait/signal on same binary semaphore 2021-11-11 20:59:32 +00:00
loader gallium/dri: let the driver know if the imported image is DRI_PRIME buffer 2021-10-18 16:24:00 +02:00
mapi glthread: add an option to make glCheckFramebufferStatus a no-op 2021-10-27 01:24:03 +00:00
mesa mesa: add just a tiny bit of debug info to some _mesa_problem calls 2021-11-12 15:48:37 +00:00
microsoft microsoft/spirv_to_dxil: Fix non-Windows build. 2021-11-11 01:37:16 +00:00
nouveau
panfrost pan/mdg: Remove duplicate compiler option 2021-11-12 16:30:02 +00:00
tool pps: add an intel config file 2021-10-28 13:16:56 +03:00
util driconf: support META application 2021-11-12 09:01:58 +00:00
virtio virgl: obtain supported number of shader sampler views from host 2021-11-08 19:34:30 +00:00
vulkan vulkan/util: Handle depth-only formats in vk_att_ref_stencil_layout 2021-11-11 17:17:16 +00:00
meson.build meson: build freedreno tools when other parts of freedreno not enabled 2021-10-26 00:33:31 +00:00