gpu: add ShaderModule.SPIRVDescriptor

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-07-16 20:07:34 -07:00 committed by Stephen Gutekanst
parent efae1c2b91
commit 25ac58ebc8
2 changed files with 6 additions and 6 deletions

View file

@ -10,4 +10,10 @@ pub const ShaderModule = enum(usize) {
next_in_chain: *const ChainedStruct,
label: ?[*:0]const u8 = null,
};
pub const SPIRVDescriptor = extern struct {
chain: ChainedStruct,
code_size: u32,
code: [*]const u32,
};
};