fixing synchronization issues, implementing missing entrypoints
Test / build_and_test (push) Successful in 2m13s
Build / build (push) Successful in 2m30s

This commit is contained in:
2026-06-30 14:36:20 +02:00
parent b83ddd52a4
commit 7933bea68a
15 changed files with 547 additions and 130 deletions
+10
View File
@@ -69,6 +69,16 @@ pub fn end(self: *Self, query: u32) VkError!void {
q.available = true;
}
pub fn writeTimestamp(self: *Self, query: u32, value: u64) VkError!void {
if (self.query_type != .timestamp)
return VkError.ValidationFailed;
const q = try self.queryAt(query);
q.value.store(value, .seq_cst);
q.available = true;
q.active = false;
}
pub fn addSamples(self: *Self, query: u32, samples: u64) VkError!void {
const q = try self.queryAt(query);
if (q.active)