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 { pub inline fn pipelineLayoutReference(pipeline_layout: *gpu.PipelineLayout) void {
_ = pipeline_layout; procs.pipelineLayoutReference.?(@ptrCast(c.WGPUPipelineLayout, pipeline_layout));
unreachable;
} }
pub inline fn pipelineLayoutRelease(pipeline_layout: *gpu.PipelineLayout) void { pub inline fn pipelineLayoutRelease(pipeline_layout: *gpu.PipelineLayout) void {
_ = pipeline_layout; procs.pipelineLayoutRelease.?(@ptrCast(c.WGPUPipelineLayout, pipeline_layout));
unreachable;
} }
pub inline fn querySetDestroy(query_set: *gpu.QuerySet) void { pub inline fn querySetDestroy(query_set: *gpu.QuerySet) void {