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
|
|
@ -1,9 +1,3 @@
|
|||
pub const WGPUShaderModuleSPIRVDescriptor = extern struct {
|
||||
chain: ChainedStruct,
|
||||
code_size: u32,
|
||||
code: [*]const u32,
|
||||
};
|
||||
|
||||
pub const WGPUShaderModuleWGSLDescriptor = extern struct {
|
||||
chain: ChainedStruct,
|
||||
source: [*:0]const u8,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue