You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On Android, enabled an option to select whether the host SDK Vulkan headers should be used or those provided by the NDK.
Configuration in the WORKSPACE file.
load("@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository")
git_repository(
name="rules_vulkan",
remote="https://github.com/jadarve/rules_vulkan.git",
tag="v0.0.8"
)
load("@rules_vulkan//vulkan:repositories.bzl", "vulkan_repositories")
vulkan_repositories(
sdk_path='OPTIONAL: path to the host Vulkan SDK, otherwise use VULKAN_SDK env variable',
android_use_host_vulkan_sdk=True, # For android, whether or not use the Vulkan headers provided by the NDK.
)
Make the header files .glsl used in glsl_header_library targets available as runfiles. This enables other rules to use the library files as data dependencies.