pan/midgard: Hoist temporary coordinate for cubemaps
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Mon, 16 Dec 2019 22:02:36 +0000 (17:02 -0500)
committerMarge Bot <eric+marge@anholt.net>
Tue, 17 Dec 2019 17:42:57 +0000 (17:42 +0000)
commitd183f84585acc4f969ee3e713187b25ee88da1e9
treebbbae007263869a0b810e9395bb8bdc6d77d075d
parent96df5f1fbf3511be88adb1f9efa5eddd40fa9868
pan/midgard: Hoist temporary coordinate for cubemaps

We'll reuse some of this code for shadow samplers, which are represented
by a distinct source in NIR.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Reviewed-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3125>
src/panfrost/midgard/midgard_compile.c