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

@ -1,17 +1,17 @@
const ChainedStruct = @import("types.zig").ChainedStruct;
const impl = @import("interface.zig").impl;
const Impl = @import("interface.zig").Impl;
pub const CommandBuffer = *opaque {
pub inline fn setLabel(command_buffer: CommandBuffer, label: [*:0]const u8) void {
impl.commandBufferSetLabel(command_buffer, label);
Impl.commandBufferSetLabel(command_buffer, label);
}
pub inline fn reference(command_buffer: CommandBuffer) void {
impl.commandBufferReference(command_buffer);
Impl.commandBufferReference(command_buffer);
}
pub inline fn release(command_buffer: CommandBuffer) void {
impl.commandBufferRelease(command_buffer);
Impl.commandBufferRelease(command_buffer);
}
};