Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion wgpu/buffer.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ static inline void gowebgpu_buffer_unmap(WGPUBuffer buffer, WGPUDevice device, v
}

static inline void gowebgpu_buffer_release(WGPUBuffer buffer, WGPUDevice device) {
wgpuDeviceRelease(device);
wgpuBufferRelease(buffer);
}

Expand Down
1 change: 0 additions & 1 deletion wgpu/command_encoder.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ static inline void gowebgpu_command_encoder_write_timestamp(WGPUCommandEncoder c
}

static inline void gowebgpu_command_encoder_release(WGPUCommandEncoder commandEncoder, WGPUDevice device) {
wgpuDeviceRelease(device);
wgpuCommandEncoderRelease(commandEncoder);
}

Expand Down
1 change: 0 additions & 1 deletion wgpu/compute_pass_encoder.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ static inline void gowebgpu_compute_pass_encoder_end(WGPUComputePassEncoder comp
}

static inline void gowebgpu_compute_pass_encoder_release(WGPUComputePassEncoder computePassEncoder, WGPUDevice device) {
wgpuDeviceRelease(device);
wgpuComputePassEncoderRelease(computePassEncoder);
}

Expand Down
1 change: 0 additions & 1 deletion wgpu/queue.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ static inline void gowebgpu_queue_write_texture(WGPUQueue queue, WGPUImageCopyTe
}

static inline void gowebgpu_queue_release(WGPUQueue queue, WGPUDevice device) {
wgpuDeviceRelease(device);
wgpuQueueRelease(queue);
}

Expand Down
1 change: 0 additions & 1 deletion wgpu/render_pass_encoder.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ static inline void gowebgpu_render_pass_encoder_end(WGPURenderPassEncoder render
}

static inline void gowebgpu_render_pass_encoder_release(WGPURenderPassEncoder renderPassEncoder, WGPUDevice device) {
wgpuDeviceRelease(device);
wgpuRenderPassEncoderRelease(renderPassEncoder);
}

Expand Down
1 change: 0 additions & 1 deletion wgpu/texture.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ static inline WGPUTextureView gowebgpu_texture_create_view(WGPUTexture texture,
}

static inline void gowebgpu_texture_release(WGPUTexture texture, WGPUDevice device) {
wgpuDeviceRelease(device);
wgpuTextureRelease(texture);
}

Expand Down
Loading