mesa/src/amd
Rhys Perry 5912c7d3fa aco: only add vscnt wait when visiting VMEM/DS
This prevents issues where we insert a s_waitcnt_vscnt(0) at the start of
a block or very end of the shader because we're joining two blocks (for
example, one with has_VMEM=true and the other with
has_branch_after_DS=true).

fossil-db (navi10):
Totals from 2441 (1.51% of 161220) affected shaders:
Instrs: 1383964 -> 1384094 (+0.01%); split: -0.07%, +0.08%
CodeSize: 7438212 -> 7438760 (+0.01%); split: -0.05%, +0.06%
Latency: 13780665 -> 13679664 (-0.73%); split: -1.53%, +0.80%
InvThroughput: 2950835 -> 2921511 (-0.99%); split: -1.06%, +0.07%

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Timur Kristóf <timur.kristof@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17697>
2022-08-08 13:59:17 +00:00
..
addrlib amd/addrlib: fix 3D texture allocation failures on gfx11 2022-08-03 00:57:16 +00:00
ci radv: Use NIR-based NGG lowering with LLVM. 2022-07-27 09:06:24 +00:00
common ac/nir/cull: Fix typo in bounding box culling. 2022-08-08 11:16:04 +00:00
compiler aco: only add vscnt wait when visiting VMEM/DS 2022-08-08 13:59:17 +00:00
drm-shim Use proper types for meson objects 2022-04-18 13:03:08 +03:00
llvm ac/llvm: remove all resinfo code now that it's lowered 2022-08-03 17:44:15 +00:00
registers radeonsi: follow shader_info.float_controls_execution_mode (mostly) 2022-08-03 00:57:16 +00:00
vulkan radv: use ref counting for VS prologs and PS epilogs 2022-08-08 10:52:31 +00: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