gpu: correct implementation invocations
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
4f91682bc2
commit
39ed9b5822
25 changed files with 638 additions and 638 deletions
|
|
@ -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);
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue