diff options
author | Nicolai Hähnle <nicolai.haehnle@amd.com> | 2017-06-11 12:47:41 +0200 |
---|---|---|
committer | Nicolai Hähnle <nicolai.haehnle@amd.com> | 2017-07-13 13:27:39 +0200 |
commit | f4ecc92585d7e8c43e6b28b2ebba4c1b933192fa (patch) | |
tree | ed7b8cdee83b4c89c211f0089d4c709b6345a30a | |
parent | bd0b196a8986aca78fb79aeab8e8944183a3cc22 (diff) |
DBG mesa: print NIR shader after specialization
-rw-r--r-- | src/mesa/main/glspirv.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/main/glspirv.c b/src/mesa/main/glspirv.c index a789a20335..5d4834a332 100644 --- a/src/mesa/main/glspirv.c +++ b/src/mesa/main/glspirv.c @@ -172,6 +172,9 @@ _mesa_SpecializeShaderARB(GLuint shader, nir_validate_shader(nir); + nir_print_shader(nir, stdout); + fflush(stdout); + free(spec_entries); } |