pan/midgard: Localize `visited` tracking
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Wed, 11 Mar 2020 12:03:28 +0000 (08:03 -0400)
committerMarge Bot <eric+marge@anholt.net>
Wed, 11 Mar 2020 20:28:20 +0000 (20:28 +0000)
commit3bbec3bc64378c25f03c841c443b7e7c4222cd83
tree2af85d26e32100ef8e40ea7a3c5e77d8709ff016
parent218785c4a95319145b194db4ca9fe9fbc0713461
pan/midgard: Localize `visited` tracking

Instead of a property on the block, just track it within the function to
minimize IR dependencies.

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