nir,ac/llvm,radv: add stream id index to nir_load_ring_gsvs_amd
authorQiang Yu <yuq825@gmail.com>
Mon, 5 Dec 2022 11:03:15 +0000 (19:03 +0800)
committerQiang Yu <yuq825@gmail.com>
Tue, 13 Dec 2022 03:43:45 +0000 (11:43 +0800)
commit9a6416b3746cb90b544518643677a4b53666b1dc
treebfbbcab05cd46c2426c0fe80d89f8a71461415f4
parent0ea589ec69ff2872bef738d2a14890531c7f90f2
nir,ac/llvm,radv: add stream id index to nir_load_ring_gsvs_amd

For used by legacy GS to store output to different ring according
to stream id.

Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Signed-off-by: Qiang Yu <yuq825@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20158>
src/amd/vulkan/radv_nir_to_llvm.c
src/compiler/nir/nir_intrinsics.py