ac/nir/ngg: fix emitting streamout output by using packed location
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 27 Oct 2022 14:07:43 +0000 (16:07 +0200)
committerMarge Bot <emma+marge@anholt.net>
Fri, 28 Oct 2022 07:49:32 +0000 (07:49 +0000)
commitcf687e88ce78ec104354404dab50bb9c084d6223
treeb27d78108ed975cca9f7a8b9b4915a48164a4dc3
parent920aed2121162adfecf205cdc0134c99e0bd4277
ac/nir/ngg: fix emitting streamout output by using packed location

In RadeonSI, they are packed but not in RADV, so don't rely on driver
locations.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Qiang Yu <yuq825@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19365>
src/amd/common/ac_nir_lower_ngg.c