freedreno/rnn: split out helper to find files
authorRob Clark <robdclark@chromium.org>
Tue, 28 Jul 2020 15:30:13 +0000 (08:30 -0700)
committerMarge Bot <eric+marge@anholt.net>
Wed, 29 Jul 2020 14:30:35 +0000 (14:30 +0000)
commit3a910839bafbd07aeae67d682d70926dd6fa549e
tree5f1d6d250f5c854c0b8796cf2d4b50d759e590d0
parent751af16e1d4d21fdc26b65adfe84975fb2f8d699
freedreno/rnn: split out helper to find files

So we can re-use it to locate the schema file.

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