Module: Mesa Branch: master Commit: 58efff89a2af1d3996255f76cda510f2c2d9bda0 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=58efff89a2af1d3996255f76cda510f2c2d9bda0
Author: Rob Clark <robcl...@freedesktop.org> Date: Sat Dec 5 08:46:40 2015 -0500 freedreno/ir3: nir shader prints with 'disasm' debug option Move these to 'disasm' instead of the more verbose 'optmsgs' since, like the tgsi dumps, it is useful without the more verbose compiler logging enabled. Signed-off-by: Rob Clark <robcl...@freedesktop.org> --- src/gallium/drivers/freedreno/ir3/ir3_compiler_nir.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gallium/drivers/freedreno/ir3/ir3_compiler_nir.c b/src/gallium/drivers/freedreno/ir3/ir3_compiler_nir.c index 4278b0b..2723959 100644 --- a/src/gallium/drivers/freedreno/ir3/ir3_compiler_nir.c +++ b/src/gallium/drivers/freedreno/ir3/ir3_compiler_nir.c @@ -163,7 +163,7 @@ static struct nir_shader *to_nir(struct ir3_compile *ctx, struct nir_shader *s = tgsi_to_nir(tokens, &options); - if (fd_mesa_debug & FD_DBG_OPTMSGS) { + if (fd_mesa_debug & FD_DBG_DISASM) { debug_printf("----------------------\n"); nir_print_shader(s, stdout); debug_printf("----------------------\n"); @@ -201,7 +201,7 @@ static struct nir_shader *to_nir(struct ir3_compile *ctx, nir_remove_dead_variables(s); nir_validate_shader(s); - if (fd_mesa_debug & FD_DBG_OPTMSGS) { + if (fd_mesa_debug & FD_DBG_DISASM) { debug_printf("----------------------\n"); nir_print_shader(s, stdout); debug_printf("----------------------\n"); _______________________________________________ mesa-commit mailing list mesa-commit@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-commit