Skip to content

Releases: mxpv/rules_vulkan

v0.9.0

03 Jun 22:09

Choose a tag to compare

Using Bzlmod with Bazel 6 or greater

  1. (Bazel 6 only) Enable with common --enable_bzlmod in .bazelrc.
  2. Add to your MODULE.bazel file:
bazel_dep(name = "rules_vulkan", version = "0.9.0")

Using WORKSPACE

Paste this snippet into your WORKSPACE.bazel file:

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
    name = "rules_vulkan",
    sha256 = "f2f8606a6c7b372a76e7b23c4f6f3845ea9830912de6318f2a3a95bcac480f1d",
    strip_prefix = "rules_vulkan-0.9.0",
    url = "https://github.com/myorg/rules_vulkan/releases/download/v0.9.0/rules_vulkan-v0.9.0.tar.gz",
)

What's Changed

  • Bump protobuf from 29.0 to 34.0.bcr.1 by @dependabot[bot] in #96
  • Expose validation layers by @mxpv in #97
  • Expose MOLTENVK_ICD and validate Instance creation on CI by @mxpv in #98
  • Capture app.exe output on CI by @mxpv in #99
  • Expose volk by @mxpv in #100
  • Decouple volk from vulkan_lib by @mxpv in #101
  • Expose VMA headers by @mxpv in #102
  • Remove vulkan_lib alias (use vulkan directly) by @mxpv in #103
  • Make volk and VMA targets conditional on installer components by @mxpv in #104
  • Bump bazel-contrib/setup-bazel from 0.18.0 to 0.19.0 by @dependabot[bot] in #106
  • Add e2e/smoke to dependabot by @mxpv in #107
  • Bump rules_cc from 0.1.1 to 0.2.17 in /e2e/smoke by @dependabot[bot] in #111
  • Bump rules_pkg from 1.1.0 to 1.2.0 in /e2e/smoke by @dependabot[bot] in #110
  • Bump bazel_skylib from 1.8.1 to 1.9.0 in /e2e/smoke by @dependabot[bot] in #109
  • Bump rules_vulkan from 0.1 to 0.8.0 in /e2e/smoke by @dependabot[bot] in #108
  • Rename download to install SDK by @mxpv in #112
  • Bump gazelle from 0.47.0 to 0.48.0 by @dependabot[bot] in #113
  • Bump bazel-contrib/publish-to-bcr/.github/workflows/publish.yaml from 1.1.0 to 1.2.0 by @dependabot[bot] in #115
  • [slang] Make the profile and target options nonmandatory by @0xbeefd1ed in #116
  • Bump buildifier_prebuilt from 8.5.1 to 8.5.1.2 by @dependabot[bot] in #117
  • Bump gazelle from 0.48.0 to 0.49.0 by @dependabot[bot] in #118
  • Bump gazelle from 0.49.0 to 0.50.0 by @dependabot[bot] in #119
  • Fix Windows SDK installation and runtime fallback for dot releases by @0xbeefd1ed in #120
  • Remove spirv and hlsl attributes from hlsl_shader; pass via opts instead by @mxpv in #121
  • Make running installer more reliable by @mxpv in #122
  • Bump rules_cc from 0.2.17 to 0.2.18 by @dependabot[bot] in #123
  • Bump rules_cc from 0.2.17 to 0.2.18 in /e2e/smoke by @dependabot[bot] in #124
  • Bump platforms from 1.0.0 to 1.1.0 by @dependabot[bot] in #126
  • Bump platforms from 1.0.0 to 1.1.0 in /e2e/smoke by @dependabot[bot] in #127
  • Bump gazelle from 0.50.0 to 0.51.0 by @dependabot[bot] in #129
  • Bump bazel-contrib/.github/.github/workflows/release_ruleset.yaml from 7.4.0 to 7.5.0 by @dependabot[bot] in #131
  • Update Vulkan SDK versions by @github-actions[bot] in #130
  • Bump bazel-contrib/.github/.github/workflows/release_ruleset.yaml from 7.5.0 to 7.6.0 by @dependabot[bot] in #132
  • Update Vulkan SDK versions by @github-actions[bot] in #134
  • Bump rules_cc from 0.2.18 to 0.2.19 in /e2e/smoke by @dependabot[bot] in #138
  • Bump rules_go from 0.60.0 to 0.61.0 by @dependabot[bot] in #137
  • Bump rules_cc from 0.2.18 to 0.2.19 by @dependabot[bot] in #135
  • Bump gazelle from 0.51.0 to 0.51.1 by @dependabot[bot] in #136

New Contributors

Full Changelog: v0.8.0...v0.9.0

v0.8.0

15 Mar 19:29
3fe664f

Choose a tag to compare

Using Bzlmod with Bazel 6 or greater

  1. (Bazel 6 only) Enable with common --enable_bzlmod in .bazelrc.
  2. Add to your MODULE.bazel file:
bazel_dep(name = "rules_vulkan", version = "0.8.0")

Using WORKSPACE

Paste this snippet into your WORKSPACE.bazel file:

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
    name = "rules_vulkan",
    sha256 = "b0d704f5995ed8fbdc5d2715a0c1980e15ffbd09e00e104ae8c8e3e9d82295b5",
    strip_prefix = "rules_vulkan-0.8.0",
    url = "https://github.com/myorg/rules_vulkan/releases/download/v0.8.0/rules_vulkan-v0.8.0.tar.gz",
)

What's Changed

  • Update Vulkan SDK versions to 1.4.335.0 by @github-actions[bot] in #64
  • Bump rules_pkg from 1.1.0 to 1.2.0 by @dependabot[bot] in #74
  • Bump bazel_skylib_gazelle_plugin from 1.8.2 to 1.9.0 by @dependabot[bot] in #67
  • Bump rules_cc from 0.2.14 to 0.2.16 by @dependabot[bot] in #72
  • Bump bazel-contrib/publish-to-bcr/.github/workflows/publish.yaml from 1.0.0 to 1.1.0 by @dependabot[bot] in #65
  • Bump bazel-contrib/.github/.github/workflows/release_ruleset.yaml from 7.2.3 to 7.3.0 by @dependabot[bot] in #77
  • Bump bazel-contrib/setup-bazel from 0.15.0 to 0.18.0 by @dependabot[bot] in #76
  • Bump aspect_bazel_lib from 2.22.0 to 2.22.2 by @dependabot[bot] in #75
  • Bump bazel_skylib from 1.8.2 to 1.9.0 by @dependabot[bot] in #70
  • Switch to Bazel 9 by @mxpv in #78
  • Bump buildifier_prebuilt from 8.2.1.1 to 8.2.1.2 by @dependabot[bot] in #81
  • Make updater script incremental by @mxpv in #85
  • Bump stardoc from 0.8.0 to 0.8.1 by @dependabot[bot] in #82
  • Bump rules_go from 0.59.0 to 0.60.0 by @dependabot[bot] in #86
  • Bump rules_cc from 0.2.16 to 0.2.17 by @dependabot[bot] in #87
  • Bump bazel-contrib/.github/.github/workflows/release_ruleset.yaml from 7.3.0 to 7.4.0 by @dependabot[bot] in #88
  • Bump buildifier_prebuilt from 8.2.1.2 to 8.5.1 by @dependabot[bot] in #89
  • Remove stale entries from "Installed apps" by @mxpv in #90
  • Allow selecting optional SDK components by @mxpv in #91
  • Use prebuilt protoc to speed up docs job by @mxpv in #92
  • Simplify BUILD template by @mxpv in #93
  • Export all SDK files by @mxpv in #94

Full Changelog: v0.7.0...v0.8.0

v0.7.0

05 Dec 19:53
4987014

Choose a tag to compare

Using Bzlmod with Bazel 6 or greater

  1. (Bazel 6 only) Enable with common --enable_bzlmod in .bazelrc.
  2. Add to your MODULE.bazel file:
bazel_dep(name = "rules_vulkan", version = "0.7.0")

Using WORKSPACE

Paste this snippet into your WORKSPACE.bazel file:

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
    name = "rules_vulkan",
    sha256 = "45e2d817d98271c204b320648c95c60a370c97339db2d633bd4d7ca083a627dc",
    strip_prefix = "rules_vulkan-0.7.0",
    url = "https://github.com/myorg/rules_vulkan/releases/download/v0.7.0/rules_vulkan-v0.7.0.tar.gz",
)

What's Changed

  • Update Vulkan SDK versions to 1.4.328.0 by @github-actions[bot] in #52
  • Fix shader rule inconsistencies and broken error message by @mxpv in #54
  • Bump Bazel versions on CI, add 9.x by @mxpv in #55
  • Bump actions/checkout from 2 to 6 by @dependabot[bot] in #56
  • Bump bazel_skylib from 1.8.1 to 1.8.2 by @dependabot[bot] in #57
  • Bump bazel-contrib/.github/.github/workflows/release_ruleset.yaml from 7.2.2 to 7.2.3 by @dependabot[bot] in #60
  • Bump bazel-contrib/publish-to-bcr/.github/workflows/publish.yaml from 0.1.0 to 1.0.0 by @dependabot[bot] in #58
  • Bump buildifier_prebuilt from 8.2.0.2 to 8.2.1.1 by @dependabot[bot] in #62
  • Bump aspect_bazel_lib from 2.20.0 to 2.22.0 by @dependabot[bot] in #61
  • Bump bazel_skylib_gazelle_plugin from 1.8.1 to 1.8.2 by @dependabot[bot] in #63
  • Bump rules_cc from 0.1.1 to 0.2.14 by @dependabot[bot] in #59

New Contributors

Full Changelog: v0.6.1...v0.7.0

v0.6.1

15 Aug 01:20

Choose a tag to compare

Using Bzlmod with Bazel 6 or greater

  1. (Bazel 6 only) Enable with common --enable_bzlmod in .bazelrc.
  2. Add to your MODULE.bazel file:
bazel_dep(name = "rules_vulkan", version = "0.6.1")

Using WORKSPACE

Paste this snippet into your WORKSPACE.bazel file:

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
    name = "rules_vulkan",
    sha256 = "b91702b8b5cf4226f5aea03904ad5851ea3b0abddafecca4a259874a2caa5aa5",
    strip_prefix = "rules_vulkan-0.6.1",
    url = "https://github.com/myorg/rules_vulkan/releases/download/v0.6.1/rules_vulkan-v0.6.1.tar.gz",
)

What's Changed

  • Update dependencies by @mxpv in #50
  • Update skylib to fix BCR publish by @mxpv in #51

Full Changelog: v0.6.0...v0.6.1

v0.6.0

15 Aug 00:11

Choose a tag to compare

Using Bzlmod with Bazel 6 or greater

  1. (Bazel 6 only) Enable with common --enable_bzlmod in .bazelrc.
  2. Add to your MODULE.bazel file:
bazel_dep(name = "rules_vulkan", version = "0.6.0")

Using WORKSPACE

Paste this snippet into your WORKSPACE.bazel file:

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
    name = "rules_vulkan",
    sha256 = "23d29de97bc76c156100cace1453592baca34ce2d1ba676d1c44f3b059265f62",
    strip_prefix = "rules_vulkan-0.6.0",
    url = "https://github.com/myorg/rules_vulkan/releases/download/v0.6.0/rules_vulkan-v0.6.0.tar.gz",
)

What's Changed

  • Update Vulkan SDK versions to 1.4.321.1 by @github-actions[bot] in #38
  • Update ShaderInfo to use File objects instead of paths by @mxpv in #39
  • Refactor platform detection to use aspect_bazel_lib repo_utils by @mxpv in #40
  • Enable direct binary invocation with environment variables by @mxpv in #42
  • Update shader group docs by @mxpv in #43
  • Add binary field to ShaderInfo provider by @mxpv in #44
  • Integrate Gazelle for automatic bzl_library generation by @mxpv in #45
  • Fix permissions when extracting bundle on MacOS by @mxpv in #46
  • Update Bazel on CI by @mxpv in #49

Full Changelog: v0.5.0...v0.6.0

v0.5.0

16 Jul 22:37
25ba35d

Choose a tag to compare

Using Bzlmod with Bazel 6 or greater

  1. (Bazel 6 only) Enable with common --enable_bzlmod in .bazelrc.
  2. Add to your MODULE.bazel file:
bazel_dep(name = "rules_vulkan", version = "0.5.0")

Using WORKSPACE

Paste this snippet into your WORKSPACE.bazel file:

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
    name = "rules_vulkan",
    sha256 = "f1bc1281a406897ead2eff70b86975b35b12f83d0ccaf71ea7abf3a55541c8de",
    strip_prefix = "rules_vulkan-0.5.0",
    url = "https://github.com/myorg/rules_vulkan/releases/download/v0.5.0/rules_vulkan-v0.5.0.tar.gz",
)

What's Changed

  • Fix minor spelling mistakes by @Vertexwahn in #14
  • Specify custom download URLs for all platforms by @mxpv in #15
  • Allow multiple shader inputs in Slang by @mxpv in #19
  • Simplify BUILD template by @mxpv in #20
  • Allow repository aliases by @mxpv in #21
  • Export SDK binaries by @mxpv in #22
  • [HLSL] Use .spv extension when targeting spirv by @mxpv in #23
  • Use OutputGroupInfo to output metadata files by @mxpv in #24
  • Unify Vulkan SDK toolchain and refactor project structure by @mxpv in #25
  • Add spirv-cross build target by @mxpv in #26
  • Fix imports in the documentation by @mxpv in #27
  • Rename download to toolchain by @mxpv in #28
  • [slang] Specify output file names by @mxpv in #29
  • Add CLAUDE.md by @mxpv in #31
  • Add Claude Code GitHub Workflow by @mxpv in #30
  • Remove requests dependency from update_versions.py by @mxpv in #32
  • Fix typos in documentation and error messages by @mxpv in #33
  • Update HLSL shader rule to support custom output file names by @mxpv in #34
  • Replace generic outs field with specific file type fields in ShaderInfo by @mxpv in #35
  • Update the update script to output properly formatted Starlark code by @mxpv in #36
  • Update Vulkan SDK versions to 1.4.321.0 by @github-actions[bot] in #37

New Contributors

  • @Vertexwahn made their first contribution in #14
  • @github-actions[bot] made their first contribution in #37

Full Changelog: v0.4.0...v0.5.0

v0.4.0

19 Jun 19:33
0d2561a

Choose a tag to compare

Using Bzlmod with Bazel 6 or greater

  1. (Bazel 6 only) Enable with common --enable_bzlmod in .bazelrc.
  2. Add to your MODULE.bazel file:
bazel_dep(name = "rules_vulkan", version = "0.4.0")

Using WORKSPACE

Paste this snippet into your WORKSPACE.bazel file:

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
    name = "rules_vulkan",
    sha256 = "e825607a3e10f3d4fbe0425e3daebc2b658a2ace5799502b73a2751c722a680b",
    strip_prefix = "rules_vulkan-0.4.0",
    url = "https://github.com/myorg/rules_vulkan/releases/download/v0.4.0/rules_vulkan-v0.4.0.tar.gz",
)

What's Changed

  • Use prebuilt buildifier on CI by @mxpv in #10
  • Add shader group by @mxpv in #11
  • Integrate with rules_pkg by @mxpv in #12

Full Changelog: v0.3.0...v0.4.0

v0.3.0

12 Jun 20:43
e93ee4a

Choose a tag to compare

Using Bzlmod with Bazel 6 or greater

  1. (Bazel 6 only) Enable with common --enable_bzlmod in .bazelrc.
  2. Add to your MODULE.bazel file:
bazel_dep(name = "rules_vulkan", version = "0.3.0")

Using WORKSPACE

Paste this snippet into your WORKSPACE.bazel file:

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
    name = "rules_vulkan",
    sha256 = "7ed50d949feadc6ef28fb50ffd431086e100c66e0ea3a7bf84af81955700124f",
    strip_prefix = "rules_vulkan-0.3.0",
    url = "https://github.com/myorg/rules_vulkan/releases/download/v0.3.0/rules_vulkan-v0.3.0.tar.gz",
)

What's Changed

Full Changelog: v0.2.0...v0.3.0

v0.2.0

11 Jun 23:02
55f2fc8

Choose a tag to compare

Using Bzlmod with Bazel 6 or greater

  1. (Bazel 6 only) Enable with common --enable_bzlmod in .bazelrc.
  2. Add to your MODULE.bazel file:
bazel_dep(name = "rules_vulkan", version = "0.2.0")

Using WORKSPACE

Paste this snippet into your WORKSPACE.bazel file:

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
    name = "rules_vulkan",
    sha256 = "f442fd68c84eddbc0f3a58a52f5868ec986c82280caf48233ad0d94d515e2698",
    strip_prefix = "rules_vulkan-0.2.0",
    url = "https://github.com/myorg/rules_vulkan/releases/download/v0.2.0/rules_vulkan-v0.2.0.tar.gz",
)

What's Changed

  • Fix Slang on Linux by @mxpv in #6
  • Verify docs are up to date on CI by @mxpv in #7
  • Fix SDK on Windows by @mxpv in #8

New Contributors

  • @mxpv made their first contribution in #6

Full Changelog: v0.1.1...v0.2.0

v0.1.1

10 Jun 20:43
3f19b3f

Choose a tag to compare

Using Bzlmod with Bazel 6 or greater

  1. (Bazel 6 only) Enable with common --enable_bzlmod in .bazelrc.
  2. Add to your MODULE.bazel file:
bazel_dep(name = "rules_vulkan", version = "0.1.1")

Using WORKSPACE

Paste this snippet into your WORKSPACE.bazel file:

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
    name = "rules_vulkan",
    sha256 = "88506b9cf6ea2cb7db915da4954e60a3263e99dff7649d53bc528d360285865a",
    strip_prefix = "rules_vulkan-0.1.1",
    url = "https://github.com/myorg/rules_vulkan/releases/download/v0.1.1/rules_vulkan-v0.1.1.tar.gz",
)

Changelog

  • Fixes to publish on BCR.

Full Changelog: v0.1...v0.1.1