mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-01 19:50:25 +01:00
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 <robclark@freedesktop.org>
This commit is contained in:
parent
a3f90ef0a6
commit
58efff89a2
1 changed files with 2 additions and 2 deletions
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue