metal: Fix stray '\' prefix on MSL shaders

Seems harmless, but I'm assuming it was not intentional.

Change-Id: I86875f8bbe5923435b4c02cd224197ec2dc6f3a1
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/60924
Reviewed-by: Ben Clayton <bclayton@google.com>
Reviewed-by: Austin Eng <enga@chromium.org>
Auto-Submit: Ben Clayton <bclayton@google.com>
Commit-Queue: Austin Eng <enga@chromium.org>
This commit is contained in:
Ben Clayton 2021-08-04 20:44:18 +00:00 committed by Dawn LUCI CQ
parent 616bfb832e
commit 5c19bf25e3
1 changed files with 1 additions and 1 deletions

View File

@ -317,7 +317,7 @@ namespace dawn_native { namespace metal {
// category. -Wunused-variable in particular comes up a lot in generated code, and some
// (old?) Metal drivers accidentally treat it as a MTLLibraryErrorCompileError instead
// of a warning.
msl = R"(\
msl = R"(
#ifdef __clang__
#pragma clang diagnostic ignored "-Wall"
#endif