mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-06-05 06:03:34 +00:00
Disabled Swiftshader for Android Builds.
Currently fails to build with the following error: ../../third_party/swiftshader/src/Vulkan/VkImage.hpp:24:11: fatal error: 'vulkan/vk_android_native_buffer.h' file not found Bug: dawn:286 Change-Id: I7daa992ba775621524ae936e9fa6ed4ee8a5727a Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/100940 Reviewed-by: Austin Eng <enga@chromium.org> Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Brandon Jones <bajones@chromium.org> Reviewed-by: Kai Ninomiya <kainino@chromium.org>
This commit is contained in:
parent
0c7c23b9c4
commit
0df4e4aea3
@ -30,7 +30,8 @@ if (enable_vulkan_validation_layers) {
|
||||
use_angle = dawn_use_angle && defined(dawn_angle_dir)
|
||||
|
||||
# Swiftshader is an optional dependency, only use it if the path has been set.
|
||||
use_swiftshader = dawn_use_swiftshader && dawn_swiftshader_dir != ""
|
||||
use_swiftshader =
|
||||
dawn_use_swiftshader && dawn_swiftshader_dir != "" && !is_android
|
||||
if (use_swiftshader) {
|
||||
assert(dawn_enable_vulkan,
|
||||
"dawn_use_swiftshader requires dawn_enable_vulkan=true")
|
||||
|
Loading…
x
Reference in New Issue
Block a user