vc4: Add better debug of NIR->QIR control flow graph failure
authorRhys Kidd <rhyskidd@gmail.com>
Sat, 12 Mar 2016 23:34:01 +0000 (18:34 -0500)
committerEric Anholt <eric@anholt.net>
Sat, 9 Apr 2016 01:28:43 +0000 (18:28 -0700)
commite5997778bcafedd0d32b2399cb621a736051c4c2
tree6f16ba052648d04f86c942622d59cc030b5e63d7
parente529dd179f3f4bcc069239e9c2710ea23616a513
vc4: Add better debug of NIR->QIR control flow graph failure

Ensure NIR control flow graph nodes that are unhandled in QIR
are reported with sufficient verbosity to aid debugging.

This improves piglit outputs, amongst other tools.

There are no other remaining uses of assert(0) as a blunt tool
within vc4.

Signed-off-by: Rhys Kidd <rhyskidd@gmail.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/gallium/drivers/vc4/vc4_program.c