summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
diff options
context:
space:
mode:
authorRob Clark <[email protected]>2015-12-05 08:46:40 -0500
committerRob Clark <[email protected]>2015-12-05 08:48:19 -0500
commit58efff89a2af1d3996255f76cda510f2c2d9bda0 (patch)
tree2f81626fb7a3c1ffba388c196493fff39b1eb570 /src/gallium/drivers
parenta3f90ef0a6b47488171abb32c6471b7d92f5e0fa (diff)
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 <[email protected]>
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r--src/gallium/drivers/freedreno/ir3/ir3_compiler_nir.c4
1 files 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");