gpu: implement Dawn pipelineLayoutReference

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-07-30 15:22:12 -07:00 committed by Stephen Gutekanst
parent dba68c2457
commit aa8209e708

View file

@ -656,13 +656,11 @@ pub const Interface = gpu.Interface(struct {
}
pub inline fn pipelineLayoutReference(pipeline_layout: *gpu.PipelineLayout) void {
_ = pipeline_layout;
unreachable;
procs.pipelineLayoutReference.?(@ptrCast(c.WGPUPipelineLayout, pipeline_layout));
}
pub inline fn pipelineLayoutRelease(pipeline_layout: *gpu.PipelineLayout) void {
_ = pipeline_layout;
unreachable;
procs.pipelineLayoutRelease.?(@ptrCast(c.WGPUPipelineLayout, pipeline_layout));
}
pub inline fn querySetDestroy(query_set: *gpu.QuerySet) void {