freedreno/ir3: add assert
authorRob Clark <robdclark@chromium.org>
Fri, 28 Feb 2020 00:13:01 +0000 (16:13 -0800)
committerMarge Bot <eric+marge@anholt.net>
Fri, 28 Feb 2020 16:53:41 +0000 (16:53 +0000)
commit8cb9f79413105a8eea98eaf70725cc1e28ae041c
tree0fc37c5330ca8d1bc63b76fbba02c22d7b7e282b
parentac705edd82996b4176de6a991db38e76a11625a7
freedreno/ir3: add assert

Catch problems earlier when inputs are not setup correctly.

Signed-off-by: Rob Clark <robdclark@chromium.org>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3989>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3989>
src/freedreno/ir3/ir3_compiler_nir.c