glsl/nir: Include early glsl-to-nir output in NIR_DEBUG=print.
authorEmma Anholt <emma@anholt.net>
Tue, 7 Mar 2023 00:15:16 +0000 (16:15 -0800)
committerMarge Bot <emma+marge@anholt.net>
Wed, 15 Mar 2023 03:29:19 +0000 (03:29 +0000)
commitdccbecbef5bb216052c4796227b09f8517c8e4be
tree6632e72b51af4afcabb9dadb98c3dead7ed377e2
parenta10388224d65bf3025e91d254a0fd549180ee499
glsl/nir: Include early glsl-to-nir output in NIR_DEBUG=print.

These passes were missing the macros to handle debug output and extra
validation.  But also, for working on GLSL, it's nice to see the raw
output of glsl-to-nir before you move on.

Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21751>
src/compiler/glsl/glsl_to_nir.cpp