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

@@ -16,6 +16,13 @@
typedef struct WebGPUComputePass
{
WGPUComputePassEncoder encoder;
WGPUBindGroup read_only_bind_group;
WGPUBindGroup read_write_bind_group;
WGPUBindGroup uniform_bind_group;
bool should_recreate_read_only_bind_group;
bool should_recreate_write_bind_group;
bool should_recreate_uniform_bind_group;
} WebGPUComputePass;
PulseComputePass WebGPUCreateComputePass(PulseDevice device, PulseCommandList cmd);