ac/nir: Use sendmsg in legacy GS lowering.
authorTimur Kristóf <timur.kristof@gmail.com>
Tue, 25 Apr 2023 16:15:03 +0000 (18:15 +0200)
committerMarge Bot <emma+marge@anholt.net>
Thu, 4 May 2023 19:08:58 +0000 (19:08 +0000)
commitfffb2b33af5c51def6c32496cd5585d25d482379
tree123c7c602b2f0c74fb697e30830ce5b8e22d5dda
parent009f0623ff4ccd57fcac9c563006018f2e3d706c
ac/nir: Use sendmsg in legacy GS lowering.

Remove the GS intrinsics completely and emit the sendmsg here
instead of in the backend. This is done to simplify backend code.

Signed-off-by: Timur Kristóf <timur.kristof@gmail.com>
Reviewed-by: Qiang Yu <yuq825@gmail.com>
Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22690>
src/amd/common/ac_nir.c