turnip: Populate tu_pipeline.active_stages
authorBrian Ho <brian@brkho.com>
Mon, 6 Apr 2020 20:38:04 +0000 (13:38 -0700)
committerMarge Bot <eric+marge@anholt.net>
Tue, 7 Apr 2020 14:13:20 +0000 (14:13 +0000)
commitb80dc4f5a6e7a43f86f6c7f8f56a26b348f92382
tree8856aefc2eb1bce0b876e1c6865f1d0cec66e4ef
parent8eb009631217e415869709faadaf18dbeca8f8b0
turnip: Populate tu_pipeline.active_stages

This can be used to determine if the pipeline has a specific shader
stage (e.g. geometry shader).

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4436>
src/freedreno/vulkan/tu_pipeline.c