freedreno/afuc: Add missing rnn_prepdb()
authorConnor Abbott <cwabbott0@gmail.com>
Fri, 31 Jul 2020 10:11:16 +0000 (12:11 +0200)
committerMarge Bot <eric+marge@anholt.net>
Sat, 1 Aug 2020 17:51:01 +0000 (17:51 +0000)
commita5daaed587caba51cd485791d75a2aaa30409b9f
treee251386ff188d84bb30842f2750d3d9f100375a1
parent8d0e5e062667fa995779575ce1015fb8d34eef9a
freedreno/afuc: Add missing rnn_prepdb()

It's totally not obvious, but this runs extra error checking and is
necessary for correct variant handling, and variant handling will
silently not work if it's not enabled. Add it asm.c even though it's not
strictly necessary, to prevent anyone from missing this in the future.

Missing this really should be an error.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6140>
src/freedreno/afuc/asm.c
src/freedreno/afuc/disasm.c