gpu: add ShaderModule.WGSLDescriptor
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
25ac58ebc8
commit
cd14f1a195
2 changed files with 5 additions and 5 deletions
|
|
@ -16,4 +16,9 @@ pub const ShaderModule = enum(usize) {
|
|||
code_size: u32,
|
||||
code: [*]const u32,
|
||||
};
|
||||
|
||||
pub const WGSLDescriptor = extern struct {
|
||||
chain: ChainedStruct,
|
||||
source: [*:0]const u8,
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue