Module: vkd3d
Branch: master
Commit: 375b3e0db3c87dbc261c15a51e32eed23399c0ed
URL: https://gitlab.winehq.org/wine/vkd3d/-/commit/375b3e0db3c87dbc261c15a51e32e…
Author: Henri Verbeet <hverbeet(a)codeweavers.com>
Date: Sun Nov 5 00:22:10 2023 +0100
vkd3d-compiler: Sort the options in the usage text.
---
programs/vkd3d-compiler/main.c | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/programs/vkd3d-compiler/main.c b/programs/vkd3d-compiler/main.c
index 51eb15e8..2d10baca 100644
--- a/programs/vkd3d-compiler/main.c
+++ b/programs/vkd3d-compiler/main.c
@@ -182,19 +182,19 @@ static void print_usage(const char *program_name)
" --buffer-uav=<type> Specify the buffer type to use for buffer UAV bindings.\n"
" Valid values are 'buffer-texture' (default) and\n"
" 'storage-buffer'.\n"
- " --matrix-storage-order=<order>\n"
- " Specify default matrix storage order. Valid values are\n"
- " 'column' (default) and 'row'.\n"
" -e, --entry=<name> Use <name> as the entry point (default is \"main\").\n"
" -E Preprocess the source code instead of compiling it.\n"
- " -o, --output=<file> Write the output to <file>. If <file> is '-' or no\n"
- " output file is specified, output will be written to\n"
- " standard output.\n"
" --formatting=<flags> Specify the formatting options for text output.\n"
" <flags> is a comma separated list of formatting flags,\n"
" optionally prefixed by '+' or '-'. Valid flags are\n"
" 'colour', 'indent', 'offsets', 'header', and 'raw-ids'.\n"
" The 'indent' and 'header' flags are enabled by default.\n"
+ " --matrix-storage-order=<order>\n"
+ " Specify the default matrix storage order. Valid values\n"
+ " are 'column' (default) and 'row'.\n"
+ " -o, --output=<file> Write the output to <file>. If <file> is '-' or no\n"
+ " output file is specified, output will be written to\n"
+ " standard output.\n"
" --print-source-types Display the supported source types and exit.\n"
" --print-target-types Display the supported target types for the specified\n"
" source type and exit.\n"
Module: vkd3d
Branch: master
Commit: 4c4843126e0a8f3d6c309554f4f53b01757ad277
URL: https://gitlab.winehq.org/wine/vkd3d/-/commit/4c4843126e0a8f3d6c309554f4f53…
Author: Henri Verbeet <hverbeet(a)codeweavers.com>
Date: Sun Nov 5 00:28:47 2023 +0100
vkd3d-compiler: Slightly reword the --semantic-compat-map usage text.
---
programs/vkd3d-compiler/main.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/programs/vkd3d-compiler/main.c b/programs/vkd3d-compiler/main.c
index 2e5f2b97..51eb15e8 100644
--- a/programs/vkd3d-compiler/main.c
+++ b/programs/vkd3d-compiler/main.c
@@ -185,8 +185,6 @@ static void print_usage(const char *program_name)
" --matrix-storage-order=<order>\n"
" Specify default matrix storage order. Valid values are\n"
" 'column' (default) and 'row'.\n"
- " --semantic-compat-map Enable semantic mapping compatibility mode to use SM4+ system values\n"
- " instead of SM1-3 style semantic names when compiling from HLSL sources.\n"
" -e, --entry=<name> Use <name> as the entry point (default is \"main\").\n"
" -E Preprocess the source code instead of compiling it.\n"
" -o, --output=<file> Write the output to <file>. If <file> is '-' or no\n"
@@ -201,6 +199,8 @@ static void print_usage(const char *program_name)
" --print-target-types Display the supported target types for the specified\n"
" source type and exit.\n"
" -p, --profile=<name> Specify the target shader profile for HLSL shaders.\n"
+ " --semantic-compat-map Map shader model 1-3 semantic names to shader model 4+\n"
+ " system values when compiling HLSL sources.\n"
" --strip-debug Strip debug information from the output.\n"
" -V, --version Display version information and exit.\n"
" -x <type> Specify the type of the source. Use --print-source-types\n"