summaryrefslogtreecommitdiff
path: root/hk21/vulkan/sync/BUILD.bazel
diff options
context:
space:
mode:
authorSteven Le Rouzic <steven.lerouzic@gmail.com>2025-05-09 00:32:33 +0200
committerSteven Le Rouzic <steven.lerouzic@gmail.com>2025-05-09 00:37:56 +0200
commit7ec394db8961009e6ac23fea909f8353d865f7a3 (patch)
tree6104b92652953ee84c3d6c4386a7cfd6f133bcd9 /hk21/vulkan/sync/BUILD.bazel
parent69d33476b825a1f2deb4f9fb38a199c59d356701 (diff)
Add and use Vulkan synchronization library
Diffstat (limited to 'hk21/vulkan/sync/BUILD.bazel')
-rw-r--r--hk21/vulkan/sync/BUILD.bazel33
1 files changed, 33 insertions, 0 deletions
diff --git a/hk21/vulkan/sync/BUILD.bazel b/hk21/vulkan/sync/BUILD.bazel
new file mode 100644
index 0000000..fc74cad
--- /dev/null
+++ b/hk21/vulkan/sync/BUILD.bazel
@@ -0,0 +1,33 @@
+# Copyright 2025 Steven Le Rouzic
+#
+# SPDX-License-Identifier: BSD-3-Clause
+
+cc_library(
+ name = "sync",
+ hdrs = [
+ "sync.hpp",
+ ],
+ srcs = [
+ "sync.cpp",
+ ],
+ deps = [
+ "//vendor/vulkan",
+ "@asl//asl/base",
+ "@asl//asl/types:option",
+ "@asl//asl/types:span",
+ ],
+ visibility = ["//:__subpackages__"],
+ applicable_licenses = ["//:license"],
+)
+
+cc_test(
+ name = "tests",
+ srcs = [
+ "sync_tests.cpp",
+ ],
+ deps = [
+ ":sync",
+ "@asl//asl/containers:buffer",
+ "@asl//asl/testing",
+ ],
+)