Skip to content
Snippets Groups Projects
Commit b40b1914 authored by Elizabeth Figura's avatar Elizabeth Figura Committed by Alexandre Julliard
Browse files

vkd3d-compiler: Do not validate the target type when preprocessing.

parent 9a4a5ba6
No related branches found
No related tags found
No related merge requests found
......@@ -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,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment