mesa/src/amd
Timur Kristóf 7c4dd3194a aco/optimizer_postRA: Mark a register overwritten when predecessors disagree.
Affects blocks whose some (but not all) predecessors overwrite a register.
This commit fixes glitches in some games which regressed because of the
improved SCC no-compare optimization.

Fossil DB stats on Navi 21:

Totals from 2816 (2.09% of 134906) affected shaders:
CodeSize: 24224276 -> 24241580 (+0.07%)
Instrs: 4570595 -> 4574921 (+0.09%)
Latency: 53680256 -> 53693655 (+0.02%); split: -0.00%, +0.02%
InvThroughput: 9829289 -> 9830573 (+0.01%)

Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/7257
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/7305
Fixes: 2e56e23420
Signed-off-by: Timur Kristóf <timur.kristof@gmail.com>
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18488>
(cherry picked from commit 63063dd5ce)
2022-09-26 13:11:10 -07:00
..
addrlib amd/addrlib: fix 3D texture allocation failures on gfx11 2022-08-03 00:57:16 +00:00
ci radv: fix cleaning the meta query state if an error occured 2022-08-12 10:42:23 -07:00
common meson,amd: Remove Windows libelf wrap 2022-09-25 03:13:14 +08:00
compiler aco/optimizer_postRA: Mark a register overwritten when predecessors disagree. 2022-09-26 13:11:10 -07:00
drm-shim Use proper types for meson objects 2022-04-18 13:03:08 +03:00
llvm ac/llvm: Implement GDS atomic add NIR intrinsic. 2022-07-27 09:06:24 +00:00
registers radeonsi: follow shader_info.float_controls_execution_mode (mostly) 2022-08-03 00:57:16 +00:00
vulkan meson,amd: Remove Windows libelf wrap 2022-09-25 03:13:14 +08:00
.clang-format radv: allow holes in inline push constants 2022-04-12 11:44:30 +00:00
meson.build r300/r600: Add drm-shim support. 2022-02-02 00:59:08 +00:00