mirror of
https://github.com/Kbz-8/Pulse.git
synced 2026-01-11 23:43:34 +00:00
fences
This commit is contained in:
@@ -8,9 +8,15 @@
|
||||
#define PULSE_WEBGPU_FENCE_H_
|
||||
|
||||
#include <webgpu/webgpu.h>
|
||||
#include <stdatomic.h>
|
||||
|
||||
#include <Pulse.h>
|
||||
|
||||
typedef struct WebGPUFence
|
||||
{
|
||||
atomic_bool signal;
|
||||
} WebGPUFence;
|
||||
|
||||
PulseFence WebGPUCreateFence(PulseDevice device);
|
||||
void WebGPUDestroyFence(PulseDevice device, PulseFence fence);
|
||||
bool WebGPUIsFenceReady(PulseDevice device, PulseFence fence);
|
||||
|
||||
Reference in New Issue
Block a user