]> git.nega.tv - josh/narcissus/commitdiff
vulkan-sys: Add wrapper for `get_fence_status`
authorJoshua Simmons <josh@nega.tv>
Fri, 5 Apr 2024 22:21:41 +0000 (00:21 +0200)
committerJoshua Simmons <josh@nega.tv>
Fri, 5 Apr 2024 22:21:41 +0000 (00:21 +0200)
external/vulkan-sys/src/lib.rs

index 6b47f64e6f0aace8d004b5b0bf8bf36876dcc85d..260f6597be300ef8c88476ab104155a1724a4bc1 100644 (file)
@@ -1393,6 +1393,11 @@ impl DeviceFunctions {
         (self.reset_fences)(device, fences.len() as u32, fences.as_ptr())
     }
 
+    #[inline]
+    pub unsafe fn get_fence_status(&self, device: Device, fence: Fence) -> Result {
+        (self.get_fence_status)(device, fence)
+    }
+
     #[inline]
     pub unsafe fn wait_for_fences(
         &self,