{ "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" },
 
 
        /* 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);
        }