pan/midgard: Extract nir_ssa_index helper
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Thu, 27 Feb 2020 14:35:12 +0000 (09:35 -0500)
committerMarge Bot <eric+marge@anholt.net>
Thu, 27 Feb 2020 21:02:35 +0000 (21:02 +0000)
commit1a2bb78840face41e4329c3180c041ffef64a4e4
treebad5decbdf563ab27d808d4857d06b86aca39b7e
parent4e60dc8f486554656d51d541e10911b7a82a5e80
pan/midgard: Extract nir_ssa_index helper

In case we don't have a nir_src.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3978>
src/panfrost/midgard/compiler.h