freedreno/ir3/cp: extract valid_flags
authorRob Clark <robdclark@chromium.org>
Thu, 14 May 2020 16:31:32 +0000 (09:31 -0700)
committerMarge Bot <eric+marge@anholt.net>
Tue, 16 Jun 2020 20:56:15 +0000 (20:56 +0000)
commita60d48a863d8e9d459562b874c463cd798f47a87
tree76161e3cb1885df8f36fdf3b340e0c00d1363b00
parent5f1f8f7b172166c95b51473e3af3d72777c21dfc
freedreno/ir3/cp: extract valid_flags

We'll also need this in the postsched-cp pass.

Signed-off-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5280>
src/freedreno/ir3/ir3.c
src/freedreno/ir3/ir3.h
src/freedreno/ir3/ir3_cp.c