From 7ec394db8961009e6ac23fea909f8353d865f7a3 Mon Sep 17 00:00:00 2001 From: Steven Le Rouzic Date: Fri, 9 May 2025 00:32:33 +0200 Subject: Add and use Vulkan synchronization library --- hk21/vulkan/sync/BUILD.bazel | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 hk21/vulkan/sync/BUILD.bazel (limited to 'hk21/vulkan/sync/BUILD.bazel') 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", + ], +) -- cgit