gpu: implement Dawn computePipelineSetLabel

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

View file

@ -378,9 +378,7 @@ pub const Interface = gpu.Interface(struct {
}
pub inline fn computePipelineSetLabel(compute_pipeline: *gpu.ComputePipeline, label: [*:0]const u8) void {
_ = compute_pipeline;
_ = label;
unreachable;
procs.computePipelineSetLabel.?(@ptrCast(c.WGPUComputePipeline, compute_pipeline), label);
}
pub inline fn computePipelineReference(compute_pipeline: *gpu.ComputePipeline) void {