blob: 6015c2ecce2e0831d01be8364f37aca321230f93 [file] [log] [blame]
# Copyright 2017 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# Features used by targets inside and outside of |gpu/vulkan|.
# For details see declare_args() in build/config/
declare_args() {
# Enable experimental vulkan backend.
enable_vulkan = is_linux || is_android || is_fuchsia
# Enable swiftshader vulkan. Disabling it can save build time, however
# --use-vulkan=swiftshader and some tests which use swiftshader vulkan will
# not work.
enable_swiftshader_vulkan = true