mesa/src
Rhys Perry 3d228b6926 nir/gcm: pin some instructions which require uniform sources
fossil-db (Sienna Cichlid, GCM enabled):
Totals from 6192 (4.12% of 150170) affected shaders:
VGPRs: 548392 -> 542040 (-1.16%)
SpillSGPRs: 3702 -> 3990 (+7.78%); split: -0.54%, +8.32%
CodeSize: 62418488 -> 62481516 (+0.10%); split: -0.07%, +0.17%
MaxWaves: 70582 -> 71718 (+1.61%)
Instrs: 11768497 -> 11795079 (+0.23%); split: -0.07%, +0.30%
Latency: 445891848 -> 523561297 (+17.42%); split: -0.07%, +17.49%
InvThroughput: 115675481 -> 121494913 (+5.03%); split: -0.09%, +5.12%
VClause: 164914 -> 164934 (+0.01%); split: -0.05%, +0.06%
SClause: 405991 -> 395302 (-2.63%); split: -2.64%, +0.00%
Copies: 907216 -> 926429 (+2.12%); split: -1.11%, +3.23%
Branches: 456373 -> 457478 (+0.24%); split: -0.13%, +0.38%
PreSGPRs: 648030 -> 642953 (-0.78%); split: -0.88%, +0.10%
PreVGPRs: 522425 -> 516355 (-1.16%); split: -1.16%, +0.00%

Seems to affect Detroit: Become Human and Cyberpunk 2077. The Cyberpunk
2077 changes look like a fixed bug. At least some of the Detroit: Become
Human changes could probably be removed with better divergence analysis.

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12444>
2021-08-24 16:52:31 +00:00
..
amd radv: call nir_lower_flrp() after the first radv_optimize_nir() 2021-08-24 16:10:30 +00:00
android_stub egl/android: refactor to use the legit vndk/window.h header 2021-06-09 21:07:54 +00:00
asahi nir: add indirect loop unrolling to compiler options 2021-08-03 10:54:50 +00:00
broadcom broadcom/compiler: Fix qpu.flags.muf typo. 2021-08-24 08:30:59 +00:00
compiler nir/gcm: pin some instructions which require uniform sources 2021-08-24 16:52:31 +00:00
drm-shim drm-shim: Support kernels with >4k pages 2021-08-13 23:33:52 +00:00
egl python: explicitly require python3 2021-08-14 21:44:31 +00:00
etnaviv android: Drop the Android.mk build system 2021-07-08 14:44:02 -05:00
freedreno tu: Enable VK_KHR_uniform_buffer_standard_layout 2021-08-23 18:30:22 +00:00
gallium gallium: change pipe_draw_info::mode to uint8_t on MSVC to make it 1 byte large 2021-08-24 10:43:44 -04:00
gbm gbm: add GBM_FORMAT_R16 2021-08-06 13:38:00 +00:00
getopt
glx glx: Simplify context API profile computation 2021-08-18 21:11:02 +00:00
gtest
hgl
imgui
intel intel/compiler: Add unified barrier support for CS 2021-08-24 01:31:48 +00:00
loader driconfig: Add support for device specific config 2021-08-02 16:37:24 -07:00
mapi glthread: implement glGetUniformLocation without syncing 2021-08-24 15:24:07 +00:00
mesa glthread: implement glGetUniformLocation without syncing 2021-08-24 15:24:07 +00:00
microsoft nir: Move phi src setup to a helper. 2021-08-13 16:11:57 +00:00
nouveau
panfrost panfrost: Port v5 blend shader issue to blitter 2021-08-23 20:54:34 +00:00
tool pps: Panfrost pps driver 2021-07-13 11:03:55 +00:00
util gallium: use a packed enum to make pipe_prim_mode 1-byte large with __GNUC__ 2021-08-24 10:43:44 -04:00
virtio venus: use uint32_t in vn_ring_submit 2021-08-24 08:56:16 -07:00
vulkan vulkan/wsi/sw: wait for image fence before submitting to queue 2021-08-24 03:30:17 +10:00
meson.build meson: Build panfrost with tools=panfrost 2021-07-22 17:55:49 +00:00