gpu: convert *opaque -> opaque for PipelineLayout
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
8f8bbd25bc
commit
ca0fa7f045
3 changed files with 7 additions and 7 deletions
|
|
@ -2,16 +2,16 @@ const ChainedStruct = @import("types.zig").ChainedStruct;
|
|||
const BindGroupLayout = @import("bind_group_layout.zig").BindGroupLayout;
|
||||
const Impl = @import("interface.zig").Impl;
|
||||
|
||||
pub const PipelineLayout = *opaque {
|
||||
pub inline fn setLabel(pipeline_layout: PipelineLayout, label: [*:0]const u8) void {
|
||||
pub const PipelineLayout = opaque {
|
||||
pub inline fn setLabel(pipeline_layout: *PipelineLayout, label: [*:0]const u8) void {
|
||||
Impl.pipelineLayoutSetLabel(pipeline_layout, label);
|
||||
}
|
||||
|
||||
pub inline fn reference(pipeline_layout: PipelineLayout) void {
|
||||
pub inline fn reference(pipeline_layout: *PipelineLayout) void {
|
||||
Impl.pipelineLayoutReference(pipeline_layout);
|
||||
}
|
||||
|
||||
pub inline fn release(pipeline_layout: PipelineLayout) void {
|
||||
pub inline fn release(pipeline_layout: *PipelineLayout) void {
|
||||
Impl.pipelineLayoutRelease(pipeline_layout);
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue