panfrost: Introduce bitfields for tracking varyings
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Mon, 8 Jun 2020 16:56:33 +0000 (12:56 -0400)
committerMarge Bot <eric+marge@anholt.net>
Fri, 12 Jun 2020 14:45:50 +0000 (14:45 +0000)
commit258b80b6ebd15f6d1d3c3ffd4af2f1e8e95b73ae
tree6f072e535130d3f871ef7758d4cfeaad8835debc
parente26ac2e165c0c313df74266763b3dd0755354a98
panfrost: Introduce bitfields for tracking varyings

Rather than having all sorts of random state flyng about with varying
emission, we can use a simple present mask and general stride to encode
everything we need for non-XFB cases, and layer XFB on top easily
enough.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5423>
src/gallium/drivers/panfrost/pan_cmdstream.c