panfrost: Add helper to determine if we are capturing
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Wed, 10 Jun 2020 19:13:12 +0000 (15:13 -0400)
committerMarge Bot <eric+marge@anholt.net>
Fri, 12 Jun 2020 14:45:50 +0000 (14:45 +0000)
commite9e9b2b39b6680d92e3856ee5509c03de9452147
tree694754939a821ddcd3ac7092c6ce236d81f5465a
parentc31af6fbca036ee45875884518ae772acfd6e63f
panfrost: Add helper to determine if we are capturing

That is, is the varying setup for xfb *and* is there a buffer for it?

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