mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-01-28 13:05:02 -08:00
vkd3d-compiler: Do not validate the target type when preprocessing.
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com> Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
9a4a5ba63e
commit
b40b191498
@ -483,7 +483,7 @@ static bool parse_command_line(int argc, char **argv, struct options *options)
|
||||
if (options->print_target_types)
|
||||
return true;
|
||||
|
||||
if (!validate_target_type(options->source_type, options->target_type))
|
||||
if (!options->preprocess_only && !validate_target_type(options->source_type, options->target_type))
|
||||
{
|
||||
fprintf(stderr, "Target type '%s' is invalid for source type '%s'.\n",
|
||||
get_target_type_info(options->target_type)->name,
|
||||
|
Loading…
x
Reference in New Issue
Block a user