Don't enable SwiftShader on Linux platforms if X11 is not available
Compilation currently requires <xcb/xcb.h> Bug: chromium:1266550, b:209030951 Change-Id: I2d0b6a36fc252bc141aaac26059b4d8f3150f635 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/77300 Auto-Submit: Austin Eng <enga@chromium.org> Reviewed-by: Loko Kung <lokokung@google.com> Commit-Queue: Loko Kung <lokokung@google.com>
This commit is contained in:
parent
7c54a12ec0
commit
50e4140c11
|
@ -34,7 +34,9 @@ declare_args() {
|
|||
|
||||
# Enables SwiftShader as the fallback adapter. Requires dawn_swiftshader_dir
|
||||
# to be set to take effect.
|
||||
dawn_use_swiftshader = true
|
||||
# TODO(crbug.com/1266550): Enable on Linux platforms without X11 (e.g. ChromeOS).
|
||||
# Blocked on b/209030951
|
||||
dawn_use_swiftshader = !is_linux || dawn_use_x11
|
||||
}
|
||||
|
||||
declare_args() {
|
||||
|
|
Loading…
Reference in New Issue