diff options
author | Steven Le Rouzic <steven.lerouzic@gmail.com> | 2025-05-09 00:32:33 +0200 |
---|---|---|
committer | Steven Le Rouzic <steven.lerouzic@gmail.com> | 2025-05-09 00:37:56 +0200 |
commit | 7ec394db8961009e6ac23fea909f8353d865f7a3 (patch) | |
tree | 6104b92652953ee84c3d6c4386a7cfd6f133bcd9 /hk21/vulkan/sync/BUILD.bazel | |
parent | 69d33476b825a1f2deb4f9fb38a199c59d356701 (diff) |
Add and use Vulkan synchronization library
Diffstat (limited to 'hk21/vulkan/sync/BUILD.bazel')
-rw-r--r-- | hk21/vulkan/sync/BUILD.bazel | 33 |
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",
+ ],
+)
|