gpu: implement Dawn computePipelineReference
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
abe4f6b094
commit
babe2ed373
1 changed files with 2 additions and 4 deletions
|
|
@ -397,13 +397,11 @@ pub const Interface = gpu.Interface(struct {
|
|||
}
|
||||
|
||||
pub inline fn computePipelineReference(compute_pipeline: *gpu.ComputePipeline) void {
|
||||
_ = compute_pipeline;
|
||||
unreachable;
|
||||
procs.computePipelineReference.?(@ptrCast(c.WGPUComputePipeline, compute_pipeline));
|
||||
}
|
||||
|
||||
pub inline fn computePipelineRelease(compute_pipeline: *gpu.ComputePipeline) void {
|
||||
_ = compute_pipeline;
|
||||
unreachable;
|
||||
procs.computePipelineRelease.?(@ptrCast(c.WGPUComputePipeline, compute_pipeline));
|
||||
}
|
||||
|
||||
pub inline fn deviceCreateBindGroup(device: *gpu.Device, descriptor: *const gpu.BindGroup.Descriptor) *gpu.BindGroup {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue