gpu: implement Dawn instanceReference
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
62e839520c
commit
dba68c2457
1 changed files with 2 additions and 4 deletions
|
|
@ -642,13 +642,11 @@ pub const Interface = gpu.Interface(struct {
|
|||
}
|
||||
|
||||
pub inline fn instanceReference(instance: *gpu.Instance) void {
|
||||
_ = instance;
|
||||
unreachable;
|
||||
procs.instanceReference.?(@ptrCast(c.WGPUInstance, instance));
|
||||
}
|
||||
|
||||
pub inline fn instanceRelease(instance: *gpu.Instance) void {
|
||||
_ = instance;
|
||||
unreachable;
|
||||
procs.instanceRelease.?(@ptrCast(c.WGPUInstance, instance));
|
||||
}
|
||||
|
||||
pub inline fn pipelineLayoutSetLabel(pipeline_layout: *gpu.PipelineLayout, label: [*:0]const u8) void {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue