gpu: implement PipelineLayout methods
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
bb6caef090
commit
c5af43f8bd
1 changed files with 10 additions and 6 deletions
|
|
@ -1,15 +1,19 @@
|
||||||
const ChainedStruct = @import("types.zig").ChainedStruct;
|
const ChainedStruct = @import("types.zig").ChainedStruct;
|
||||||
const BindGroupLayout = @import("bind_group_layout.zig").BindGroupLayout;
|
const BindGroupLayout = @import("bind_group_layout.zig").BindGroupLayout;
|
||||||
|
const impl = @import("interface.zig").impl;
|
||||||
|
|
||||||
pub const PipelineLayout = *opaque {
|
pub const PipelineLayout = *opaque {
|
||||||
// TODO
|
pub inline fn setLabel(pipeline_layout: PipelineLayout, label: [*:0]const u8) void {
|
||||||
// pub inline fn pipelineLayoutSetLabel(pipeline_layout: gpu.PipelineLayout, label: [*:0]const u8) void {
|
impl.pipelineLayoutSetLabel(pipeline_layout, label);
|
||||||
|
}
|
||||||
|
|
||||||
// TODO
|
pub inline fn reference(pipeline_layout: PipelineLayout) void {
|
||||||
// pub inline fn pipelineLayoutReference(pipeline_layout: gpu.PipelineLayout) void {
|
impl.pipelineLayoutReference(pipeline_layout);
|
||||||
|
}
|
||||||
|
|
||||||
// TODO
|
pub inline fn release(pipeline_layout: PipelineLayout) void {
|
||||||
// pub inline fn pipelineLayoutRelease(pipeline_layout: gpu.PipelineLayout) void {
|
impl.pipelineLayoutRelease(pipeline_layout);
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
pub const PipelineLayoutDescriptor = extern struct {
|
pub const PipelineLayoutDescriptor = extern struct {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue