mach/gpu/src/pipeline_layout.zig
Stephen Gutekanst d50bc3527b gpu: convert PipelineLayout from enum(usize) to *opaque
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-08-12 00:43:43 -07:00

11 lines
388 B
Zig

const ChainedStruct = @import("types.zig").ChainedStruct;
const BindGroupLayout = @import("bind_group_layout.zig").BindGroupLayout;
pub const PipelineLayout = *opaque {};
pub const PipelineLayoutDescriptor = extern struct {
next_in_chain: *const ChainedStruct,
label: ?[*:0]const u8 = null,
bind_group_layout_count: u32,
bind_group_layouts: [*]const BindGroupLayout,
};