gpu: implement Dawn renderPipelineRelease

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-07-30 15:26:32 -07:00 committed by Stephen Gutekanst
parent a557aac6c5
commit 5c1f71834d

View file

@ -1035,8 +1035,7 @@ pub const Interface = gpu.Interface(struct {
}
pub inline fn renderPipelineRelease(render_pipeline: *gpu.RenderPipeline) void {
_ = render_pipeline;
unreachable;
procs.renderPipelineRelease.?(@ptrCast(c.WGPURenderPipeline, render_pipeline));
}
pub inline fn samplerSetLabel(sampler: *gpu.Sampler, label: [*:0]const u8) void {