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
|
|
@ -1,8 +1,3 @@
|
|||
pub const WGPUShaderModuleWGSLDescriptor = extern struct {
|
||||
chain: ChainedStruct,
|
||||
source: [*:0]const u8,
|
||||
};
|
||||
|
||||
pub const StencilFaceState = extern struct {
|
||||
compare: CompareFunction,
|
||||
fail_op: StencilOperation,
|
||||
|
|
|
|||
|
|
@ -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