Change some kNone to kUnknown.

Missed a couple kNone settings in the Tint executable when attempting
to determine the output format. This CL updates the to be kUnknown.

Change-Id: Ia0c4293fe69711cf1de878255bd18c6eeec4bffe
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/110502
Commit-Queue: Dan Sinclair <dsinclair@chromium.org>
Reviewed-by: Ben Clayton <bclayton@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
This commit is contained in:
dan sinclair 2022-11-17 18:42:39 +00:00 committed by Dawn LUCI CQ
parent 4d65fc91bb
commit 5fbce71eea
1 changed files with 2 additions and 2 deletions

View File

@ -95,7 +95,7 @@ struct Options {
std::unordered_set<uint32_t> skip_hash;
Format format = Format::kNone;
Format format = Format::kUnknown;
bool emit_single_entry_point = false;
std::string ep_name;
@ -246,7 +246,7 @@ Format infer_format(const std::string& filename) {
}
#endif // TINT_BUILD_HLSL_WRITER
return Format::kNone;
return Format::kUnknown;
}
std::vector<std::string> split_on_char(std::string list, char c) {