gpu: convert *opaque -> opaque for RenderPipeline
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
508ba37e7e
commit
397f2eb1c9
4 changed files with 7 additions and 7 deletions
|
|
@ -9,19 +9,19 @@ const BindGroupLayout = @import("bind_group_layout.zig").BindGroupLayout;
|
|||
const Impl = @import("interface.zig").Impl;
|
||||
|
||||
pub const RenderPipeline = *opaque {
|
||||
pub inline fn getBindGroupLayout(render_pipeline: RenderPipeline, group_index: u32) *BindGroupLayout {
|
||||
pub inline fn getBindGroupLayout(render_pipeline: *RenderPipeline, group_index: u32) *BindGroupLayout {
|
||||
return Impl.renderPipelineGetBindGroupLayout(render_pipeline, group_index);
|
||||
}
|
||||
|
||||
pub inline fn setLabel(render_pipeline: RenderPipeline, label: [*:0]const u8) void {
|
||||
pub inline fn setLabel(render_pipeline: *RenderPipeline, label: [*:0]const u8) void {
|
||||
Impl.renderPipelineSetLabel(render_pipeline, label);
|
||||
}
|
||||
|
||||
pub inline fn reference(render_pipeline: RenderPipeline) void {
|
||||
pub inline fn reference(render_pipeline: *RenderPipeline) void {
|
||||
Impl.renderPipelineReference(render_pipeline);
|
||||
}
|
||||
|
||||
pub inline fn release(render_pipeline: RenderPipeline) void {
|
||||
pub inline fn release(render_pipeline: *RenderPipeline) void {
|
||||
Impl.renderPipelineRelease(render_pipeline);
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue