gpu: convert *opaque -> opaque for BindGroup

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-07-29 22:14:10 -07:00 committed by Stephen Gutekanst
parent b6eb989dfa
commit 13038afb28
4 changed files with 7 additions and 7 deletions

View file

@ -5,16 +5,16 @@ const ChainedStruct = @import("types.zig").ChainedStruct;
const BindGroupLayout = @import("bind_group_layout.zig").BindGroupLayout;
const Impl = @import("interface.zig").Impl;
pub const BindGroup = *opaque {
pub inline fn setLabel(bind_group: BindGroup, label: [*:0]const u8) void {
pub const BindGroup = opaque {
pub inline fn setLabel(bind_group: *BindGroup, label: [*:0]const u8) void {
Impl.bindGroupSetLabel(bind_group, label);
}
pub inline fn reference(bind_group: BindGroup) void {
pub inline fn reference(bind_group: *BindGroup) void {
Impl.bindGroupReference(bind_group);
}
pub inline fn release(bind_group: BindGroup) void {
pub inline fn release(bind_group: *BindGroup) void {
Impl.bindGroupRelease(bind_group);
}
};