gpu: correct implementation invocations

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-07-26 23:03:54 -07:00 committed by Stephen Gutekanst
parent 4f91682bc2
commit 39ed9b5822
25 changed files with 638 additions and 638 deletions

View file

@ -2,19 +2,19 @@ const ChainedStruct = @import("types.zig").ChainedStruct;
const Texture = @import("texture.zig").Texture;
const TextureFormat = @import("texture.zig").TextureFormat;
const TextureAspect = @import("texture.zig").TextureAspect;
const impl = @import("interface.zig").impl;
const Impl = @import("interface.zig").Impl;
pub const TextureView = *opaque {
pub inline fn setLabel(texture_view: TextureView, label: [*:0]const u8) void {
impl.textureViewSetLabel(texture_view, label);
Impl.textureViewSetLabel(texture_view, label);
}
pub inline fn reference(texture_view: TextureView) void {
impl.textureViewReference(texture_view);
Impl.textureViewReference(texture_view);
}
pub inline fn release(texture_view: TextureView) void {
impl.textureViewRelease(texture_view);
Impl.textureViewRelease(texture_view);
}
};