Disable OpenGLES in uwp compilation.
Bug: dawn:766 Change-Id: I0e6910edbb1ee794487ed7132484e445779f6cf7 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/52660 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Commit-Queue: 陈俊嘉 <cjj19970505@live.cn>
This commit is contained in:
parent
2e660b38ec
commit
16201e64c4
|
@ -66,7 +66,9 @@ declare_args() {
|
|||
|
||||
# Enables the compilation of Dawn's OpenGLES backend
|
||||
# (WebGPU/Compat subset)
|
||||
dawn_enable_opengles = (is_linux && !is_chromeos) || is_win
|
||||
# Disables OpenGLES when compiling for UWP, since UWP only supports d3d
|
||||
dawn_enable_opengles =
|
||||
(is_linux && !is_chromeos) || (is_win && !dawn_is_winuwp)
|
||||
|
||||
# Enables the compilation of Dawn's Vulkan backend
|
||||
# Disables vulkan when compiling for UWP, since UWP only supports d3d
|
||||
|
|
Loading…
Reference in New Issue