gpu: add ShaderModule.SPIRVDescriptor
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
efae1c2b91
commit
25ac58ebc8
2 changed files with 6 additions and 6 deletions
|
|
@ -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,
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue