gpu: implement Dawn renderPipelineReference

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

View file

@ -1031,8 +1031,7 @@ pub const Interface = gpu.Interface(struct {
}
pub inline fn renderPipelineReference(render_pipeline: *gpu.RenderPipeline) void {
_ = render_pipeline;
unreachable;
procs.renderPipelineReference.?(@ptrCast(c.WGPURenderPipeline, render_pipeline));
}
pub inline fn renderPipelineRelease(render_pipeline: *gpu.RenderPipeline) void {