adding storage buffer management to webgpu

This commit is contained in:
2025-03-02 18:15:54 +01:00
parent e0d77f76b5
commit 93a69d37e9
10 changed files with 391 additions and 27 deletions

View File

@@ -46,6 +46,7 @@ bool WebGPUWaitForFences(PulseDevice device, const PulseFence* fences, uint32_t
uint32_t fences_to_wait = fences_count;
while(fences_to_wait != 0)
{
WebGPUDeviceTick(device);
for(uint32_t i = 0; i < fences_count; i++)
{
if(WebGPUIsFenceReady(device, fences[i]))