gpu: add ShaderModule.WGSLDescriptor

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

View file

@ -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,
};
};