gpu: convert PipelineLayout from enum(usize) to *opaque

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-07-24 14:52:33 -07:00 committed by Stephen Gutekanst
parent 1d07d1784e
commit d50bc3527b
3 changed files with 8 additions and 13 deletions

View file

@ -7,6 +7,6 @@ pub const ComputePipeline = *opaque {};
pub const ComputePipelineDescriptor = extern struct {
next_in_chain: *const ChainedStruct,
label: ?[*:0]const u8 = null,
layout: PipelineLayout = PipelineLayout.none, // nullable
layout: ?PipelineLayout,
compute: ProgrammableStageDescriptor,
};