amd/llvm,aco,radv: implement NGG streamout with GDS_STRMOUT registers on GFX11
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 19 Sep 2023 12:14:07 +0000 (14:14 +0200)
committerMarge Bot <emma+marge@anholt.net>
Thu, 12 Oct 2023 16:58:22 +0000 (16:58 +0000)
commitf0abdaea9f75ab483460c137c1b65863d2694a0f
tree3f214257c900fbd2f0f420af61f69ba0077a74e2
parent7a3981b9a7cc455532edf07059d94320565e5c54
amd/llvm,aco,radv: implement NGG streamout with GDS_STRMOUT registers on GFX11

According to RadeonSI, this is required for preemption, user queues,
and we only have to wait for VS after streamout which should be more
performant.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25284>
src/amd/compiler/aco_instruction_selection.cpp
src/amd/llvm/ac_nir_to_llvm.c
src/amd/vulkan/radv_cmd_buffer.c