[PATCH vkd3d 7/7] vkd3d-compiler: Add support for specifying the entry point for HLSL shaders.

Henri Verbeet hverbeet at gmail.com
Tue Sep 29 09:44:30 CDT 2020


On Tue, 29 Sep 2020 at 07:12, Zebediah Figura <zfigura at codeweavers.com> wrote:
> @@ -161,6 +162,7 @@ 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"
> +        "  -e, --entry=<name>    Use <name> as the entry point (default is \"main\").\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"
This is fine, but note that the SPIR-V target also allows the entry
point to be specified.



More information about the wine-devel mailing list