From: Marek Olšák Date: Fri, 10 Jan 2020 21:50:41 +0000 (-0500) Subject: radeonsi: rename DBG_NO_TGSI -> DBG_NO_NIR X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b1badf4ad655001311995aa5deac76ffd5d55f5b;p=mesa.git radeonsi: rename DBG_NO_TGSI -> DBG_NO_NIR Reviewed-by: Timothy Arceri --- diff --git a/src/gallium/drivers/radeonsi/si_pipe.c b/src/gallium/drivers/radeonsi/si_pipe.c index 3120d4e0236..daba5bcd79a 100644 --- a/src/gallium/drivers/radeonsi/si_pipe.c +++ b/src/gallium/drivers/radeonsi/si_pipe.c @@ -59,7 +59,7 @@ static const struct debug_named_value debug_options[] = { { "tes", DBG(TES), "Print tessellation evaluation shaders" }, { "cs", DBG(CS), "Print compute shaders" }, { "noir", DBG(NO_IR), "Don't print the LLVM IR"}, - { "notgsi", DBG(NO_TGSI), "Don't print the TGSI"}, + { "nonir", DBG(NO_NIR), "Don't print NIR when printing shaders"}, { "noasm", DBG(NO_ASM), "Don't print disassembled shaders"}, { "preoptir", DBG(PREOPT_IR), "Print the LLVM IR before initial optimizations" }, diff --git a/src/gallium/drivers/radeonsi/si_pipe.h b/src/gallium/drivers/radeonsi/si_pipe.h index b0287688f9a..9f574368b01 100644 --- a/src/gallium/drivers/radeonsi/si_pipe.h +++ b/src/gallium/drivers/radeonsi/si_pipe.h @@ -144,7 +144,7 @@ enum { DBG_TES = PIPE_SHADER_TESS_EVAL, DBG_CS = PIPE_SHADER_COMPUTE, DBG_NO_IR, - DBG_NO_TGSI, + DBG_NO_NIR, DBG_NO_ASM, DBG_PREOPT_IR, diff --git a/src/gallium/drivers/radeonsi/si_shader.c b/src/gallium/drivers/radeonsi/si_shader.c index 07199a295d5..66065d41620 100644 --- a/src/gallium/drivers/radeonsi/si_shader.c +++ b/src/gallium/drivers/radeonsi/si_shader.c @@ -5762,7 +5762,7 @@ int si_compile_shader(struct si_screen *sscreen, /* Dump TGSI code before doing TGSI->LLVM conversion in case the * conversion fails. */ if (si_can_dump_shader(sscreen, sel->type) && - !(sscreen->debug_flags & DBG(NO_TGSI))) { + !(sscreen->debug_flags & DBG(NO_NIR))) { nir_print_shader(nir, stderr); si_dump_streamout(&sel->so); }