Fix Vulkan Swiftshader build on macOS

There was a typo in macro name used to do platform detection.

Bug:

Change-Id: I81958419b4283d1d0498f5edc48efc385a648e09
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/15440
Reviewed-by: Austin Eng <enga@chromium.org>
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
This commit is contained in:
Corentin Wallez 2020-01-24 15:36:59 +00:00 committed by Commit Bot service account
parent d87e676845
commit fa06dd0b62
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@
constexpr char kSwiftshaderLibName[] = "libvk_swiftshader.so"; constexpr char kSwiftshaderLibName[] = "libvk_swiftshader.so";
# elif defined(DAWN_PLATFORM_WINDOWS) # elif defined(DAWN_PLATFORM_WINDOWS)
constexpr char kSwiftshaderLibName[] = "vk_swiftshader.dll"; constexpr char kSwiftshaderLibName[] = "vk_swiftshader.dll";
# elif defined(DAWN_PLATFORM_MAC) # elif defined(DAWN_PLATFORM_MACOS)
constexpr char kSwiftshaderLibName[] = "libvk_swiftshader.dylib"; constexpr char kSwiftshaderLibName[] = "libvk_swiftshader.dylib";
# else # else
# error "Unimplemented Swiftshader Vulkan backend platform" # error "Unimplemented Swiftshader Vulkan backend platform"