pan/midgard: Add an enum to describe the render targets
authorBoris Brezillon <boris.brezillon@collabora.com>
Fri, 31 Jan 2020 07:58:22 +0000 (08:58 +0100)
committerMarge Bot <eric+marge@anholt.net>
Mon, 3 Feb 2020 12:53:47 +0000 (12:53 +0000)
commit25946be4c451fe1cc645a6fd3cb5d59160e93f25
treec5535fc0af74591a9244c0a9499748d2ee5098c9
parente62c3cf350a8b169e6401d5f1e1f17388cdc4b77
pan/midgard: Add an enum to describe the render targets

We are about to add a special ZS render target, let's add a enum so we
can easily know which render target we're dealing with.

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