From ea435faf1f7f26a084367095910cf3872ffe00f3 Mon Sep 17 00:00:00 2001 From: myT Date: Fri, 4 Nov 2022 23:16:33 +0100 Subject: [PATCH] added a legend to clarify the output of /shaderlist --- code/renderer/tr_shader.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/code/renderer/tr_shader.cpp b/code/renderer/tr_shader.cpp index 6a5b176..edb56aa 100644 --- a/code/renderer/tr_shader.cpp +++ b/code/renderer/tr_shader.cpp @@ -2822,6 +2822,13 @@ void R_ShaderList_f( void ) { const char* const match = Cmd_Argc() > 1 ? Cmd_Argv( 1 ) : NULL; + ri.Printf( PRINT_ALL, "S : Stage count\n" ); + ri.Printf( PRINT_ALL, "P : Pass count (collapsed stages)\n" ); + ri.Printf( PRINT_ALL, "L : Lightmap index\n" ); + ri.Printf( PRINT_ALL, "E : Explicitly defined (i.e. defined by code)\n" ); + ri.Printf( PRINT_ALL, "func: 'sky' if it's a sky shader, empty otherwise\n" ); + ri.Printf( PRINT_ALL, "\n" ); + ri.Printf( PRINT_ALL, "S P L E func order name \n" ); int count = 0;