radeonsi: rename DBG_NO_TGSI -> DBG_NO_NIR
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
This commit is contained in:
@@ -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" },
|
||||
|
||||
|
||||
@@ -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,
|
||||
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user