gpu: implement Dawn externalTextureReference
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
981ebae5c0
commit
62e839520c
1 changed files with 2 additions and 4 deletions
|
|
@ -620,13 +620,11 @@ pub const Interface = gpu.Interface(struct {
|
|||
}
|
||||
|
||||
pub inline fn externalTextureReference(external_texture: *gpu.ExternalTexture) void {
|
||||
_ = external_texture;
|
||||
unreachable;
|
||||
procs.externalTextureReference.?(@ptrCast(c.WGPUExternalTexture, external_texture));
|
||||
}
|
||||
|
||||
pub inline fn externalTextureRelease(external_texture: *gpu.ExternalTexture) void {
|
||||
_ = external_texture;
|
||||
unreachable;
|
||||
procs.externalTextureRelease.?(@ptrCast(c.WGPUExternalTexture, external_texture));
|
||||
}
|
||||
|
||||
pub inline fn instanceCreateSurface(instance: *gpu.Instance, descriptor: *const gpu.Surface.Descriptor) *gpu.Surface {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue