panfrost: Move varying linking to cmdstream
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Wed, 8 Apr 2020 17:54:17 +0000 (13:54 -0400)
committerTomeu Vizoso <tomeu.vizoso@collabora.com>
Fri, 10 Apr 2020 14:53:51 +0000 (16:53 +0200)
commitd10423989ebace442cdbd8016188b44c663883c3
tree708d60212b75c653ec74e74cbbb1063f9ffa4fd1
parent776697dd349e4d5644a72fd293d8e7e436e6184c
panfrost: Move varying linking to cmdstream

This isn't ISA/compiler specific, it's just looking at the NIR. So let's
move it from midgard to pan_assemble.c so it runs for Bifrost too.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4505>
src/gallium/drivers/panfrost/pan_assemble.c
src/panfrost/midgard/midgard_compile.c
src/panfrost/util/pan_ir.h