Explorar o código

Merge pull request #1730 from feserr/master

Show all profile modes in the usage of shaderc.
Бранимир Караџић %!s(int64=6) %!d(string=hai) anos
pai
achega
9d1a1300d9
Modificáronse 1 ficheiros con 8 adicións e 1 borrados
  1. 8 1
      tools/shaderc/shaderc.cpp

+ 8 - 1
tools/shaderc/shaderc.cpp

@@ -892,6 +892,14 @@ namespace bgfx
 			  "           orbis\n"
 			  "           osx\n"
 			  "           windows\n"
+				"      -p, --profile <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 <defines>        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 <profile>       Shader model (f.e. ps_3_0).\n"
 			  "  -O <level>                    Optimization level (0, 1, 2, 3).\n"
 			  "      --Werror                  Treat warnings as errors.\n"