This commit is contained in:
2025-04-13 20:31:43 +02:00
parent 34d5b9a921
commit 9b71757a44
8 changed files with 547 additions and 13 deletions

View File

@@ -5,6 +5,10 @@
#include <Pulse.h>
#include "../../PulseInternal.h"
#ifdef __STDC_NO_ATOMICS__
#error "Atomic support is not present"
#endif
#include "WebGPU.h"
#include "WebGPUDevice.h"

View File

@@ -9,10 +9,6 @@
#ifndef PULSE_WEBGPU_H_
#define PULSE_WEBGPU_H_
#ifdef __STDC_NO_ATOMICS__
#error "Atomic support is not present"
#endif
#include <webgpu/webgpu.h>
#define WEBGPU_RETRIEVE_DRIVER_DATA_AS(handle, cast) ((cast)handle->driver_data)