From 6d6f28b158bef50a31d3a74f73a5ae11e697155e Mon Sep 17 00:00:00 2001 From: feserr Date: Wed, 17 Apr 2019 09:59:18 +0200 Subject: [PATCH] Show all profile modes in the usage of shaderc. --- tools/shaderc/shaderc.cpp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/tools/shaderc/shaderc.cpp b/tools/shaderc/shaderc.cpp index 3299e4939..e6f291011 100644 --- a/tools/shaderc/shaderc.cpp +++ b/tools/shaderc/shaderc.cpp @@ -892,6 +892,14 @@ namespace bgfx " orbis\n" " osx\n" " windows\n" + " -p, --profile Shader model (default GLSL).\n" + " s_3\n" + " s_4\n" + " s_4_0_level\n" + " s_5\n" + " metal\n" + " pssl\n" + " spirv\n" " --preprocess Preprocess only.\n" " --define Add defines to preprocessor (semicolon separated).\n" " --raw Do not process shader. No preprocessor, and no glsl-optimizer (GLSL only).\n" @@ -905,7 +913,6 @@ namespace bgfx "\n" " --debug Debug information.\n" " --disasm Disassemble compiled shader.\n" - " -p, --profile Shader model (f.e. ps_3_0).\n" " -O Optimization level (0, 1, 2, 3).\n" " --Werror Treat warnings as errors.\n"