gpu: add Adapter.release

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-07-25 21:40:37 -07:00 committed by Stephen Gutekanst
parent 6a3e011809
commit 8453b0d2a6
3 changed files with 14 additions and 12 deletions

View file

@ -1,14 +1,3 @@
// WGPU_EXPORT void wgpuAdapterRelease(WGPUAdapter adapter);
export fn wgpuAdapterRelease(adapter: gpu.Adapter) void {
impl.adapterRelease(adapter);
}
pub inline fn adapterRelease(adapter: gpu.Adapter) void {
_ = adapter;
}
pub inline fn release(adapter: Adapter) void {
impl.adapterRelease(adapter);
}
// WGPU_EXPORT void wgpuBindGroupSetLabel(WGPUBindGroup bindGroup, char const * label);
export fn wgpuBindGroupSetLabel(bind_group: gpu.BindGroup, label: [*:0]const u8) void {