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

@@ -13,8 +13,12 @@
typedef struct WebGPUComputePipeline
{
WGPUComputePipeline pipeline;
WGPUShaderModule shader;
WGPUPipelineLayout layout;
WGPUComputePipeline pipeline;
WGPUBindGroupLayout readonly_group;
WGPUBindGroupLayout readwrite_group;
WGPUBindGroupLayout uniform_group;
} WebGPUComputePipeline;
PulseComputePipeline WebGPUCreateComputePipeline(PulseDevice device, const PulseComputePipelineCreateInfo* info);