From 58efff89a2af1d3996255f76cda510f2c2d9bda0 Mon Sep 17 00:00:00 2001 From: Rob Clark Date: Sat, 5 Dec 2015 08:46:40 -0500 Subject: [PATCH] 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 --- 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 4278b0b5b5c..2723959cb5f 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"); -- 2.30.2