This has caught a couple of bugs during loop development so far, and I should probably have written it long ago.
8e2d084 vc4: Add a small QIR validate pass.
src/gallium/drivers/vc4/Makefile.sources | 1 +
src/gallium/drivers/vc4/vc4_qir.c | 1 +
src/gallium/drivers/vc4/vc4_qir.h | 2 +
src/gallium/drivers/vc4/vc4_qir_validate.c | 123 ++++++++++++++++++++++++++++
4 files changed, 127 insertions(+)
Upstream: cgit.freedesktop.org