gpu: add ShaderModule.SPIRVDescriptor

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

View file

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