mesa/src
Timur Kristóf b03fbec4f1 aco: Keep live-though variables and constants spilled.
This noticably reduces the amount of dead code emitted by our
spiller, when eg. previously a constant was spilled then
rematerialized before a loop, but then spilled again inside the loop.

Fossil DB changes on Navi 10:
Totals from 263 (0.19% of 139391) affected shaders:
VGPRs: 30044 -> 30028 (-0.05%)
SpillSGPRs: 8800 -> 4948 (-43.77%)
CodeSize: 4496040 -> 4335448 (-3.57%); split: -3.57%, +0.00%
Instrs: 843942 -> 819219 (-2.93%); split: -2.93%, +0.00%
Cycles: 76485744 -> 73549080 (-3.84%); split: -4.04%, +0.20%
VMEM: 38204 -> 38147 (-0.15%); split: +0.08%, -0.23%
SMEM: 17872 -> 17959 (+0.49%)
SClause: 24298 -> 24012 (-1.18%)
Copies: 98023 -> 82960 (-15.37%); split: -15.38%, +0.01%
Branches: 29074 -> 27632 (-4.96%)
PreVGPRs: 25291 -> 25241 (-0.20%)

Co-authored-by: Daniel Schürmann <daniel@schuermann.dev>
Signed-off-by: Timur Kristóf <timur.kristof@gmail.com>
Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8026>
2021-01-11 12:25:29 +00:00
..
amd aco: Keep live-though variables and constants spilled. 2021-01-11 12:25:29 +00:00
android_stub egl/android: implement image cleanup callback 2020-12-15 06:05:27 +00:00
broadcom v3dv: use intrinsic builders 2021-01-06 14:34:41 +00:00
compiler nir/opt_vectorize: fix srcs_equal() with two different non-const 2021-01-09 11:14:05 +00:00
drm-shim drm-shim: Fix unused variable warnings from asserts in release build. 2020-08-28 22:45:08 +00:00
egl egl/dri2: fix image loaderPrivate type mixup 2020-12-24 00:05:15 +09:00
etnaviv etnaviv, v3d: Fix valgrind include paths. 2020-12-15 19:39:29 +00:00
freedreno nir/load_store_vectorize: add data as callback args 2021-01-07 16:34:53 +00:00
gallium ac/surf: Prepare for 64-bit flags. 2021-01-11 12:01:34 +00:00
gbm egl: implement EGL_EXT_protected_surface support 2020-11-02 10:15:47 +01:00
getopt
glx glx/tests: Fix leaks in the unit tests. 2020-12-15 19:39:29 +00:00
gtest
hgl hgl: Major refactor and cleanup 2021-01-09 20:51:35 -06:00
imgui
intel anv: Bump maxGeometryInputComponents to 128 on Gen8+ 2021-01-08 23:17:26 +00:00
loader loader: Print dlerror() output in the failure message 2020-11-04 21:45:37 +00:00
mapi glapi: fix unused-function warning 2020-12-01 16:51:01 +00:00
mesa vbo: fix a index buffer map failure with size = 0 in get_minmax_indices_gallium 2021-01-09 06:53:00 +00:00
microsoft microsoft/compiler: do not lower away 64-bit ffma 2021-01-08 15:09:23 +00:00
panfrost pan: use intrinsic builders 2021-01-06 14:34:41 +00:00
util dri: enable glthread + radeonsi workaround for CS:GO 2021-01-11 10:28:06 +00:00
virtio virgl: Enable GL_EXT_texture_sRGB_RG8 2021-01-04 21:19:35 +00:00
vulkan wsi/x11: Treat IMMEDIATE present mode the same as MAILBOX for Xwayland 2021-01-07 15:00:45 +01:00
meson.build microsoft/compiler: Add dedicated spirv_to_dxil libraries 2020-12-22 13:28:21 -08:00
SConscript driconf: drop now unused translation facility 2020-06-22 21:50:12 +00:00