This commit is contained in:
2025-04-08 17:38:11 +02:00
parent 221d1a82bf
commit 5470779d4c
4 changed files with 78 additions and 17 deletions

View File

@@ -16,6 +16,8 @@ typedef struct WebGPUBuffer
WGPUBuffer buffer;
void* map;
PulseMapMode current_map_mode;
PulseBuffer upload_staging;
bool needs_staging_upload;
} WebGPUBuffer;
PulseBuffer WebGPUCreateBuffer(PulseDevice device, const PulseBufferCreateInfo* create_infos);