Releases: jadarve/rules_vulkan
Releases · jadarve/rules_vulkan
v0.0.11
Removed @rules_vulkan//:linux
as config setting from the repo. Instead, using //conditions:default
for linux-specific configuration.
See jadarve/lluvia#147
v0.0.10
For Android builds, added vk_video
includes to the list of includes when using the host SDK.
v0.0.9
- Fix how the GLSLC compiler is made available through the repository rules and how it is used by the GLSL rules.
- On Android, the
use_host_vulkan_sdk
attribute also selects whether the glslc
compiler shipped with the NDK is used or not.
v0.0.8
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.
)
v0.0.7
Experimental support to the vulkan libraries packed with the Android NDK. To use it, add --define RULES_VULKAN_ANDROID=1
to the bazel command.
v0.0.6
Support building for RaspberryPi4
v0.0.4
Used shader extension (.vert
, .frag
, .tesc
, .tese
, .geom
, .comp
) as part of the generated SPV file.
For instance, my_shader.comp
will be compiled to my_shader.comp.spv
.
v0.0.2
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.