gpu: add ProgrammableStageDescriptor
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
74b7e66793
commit
8683fa8aa9
2 changed files with 9 additions and 8 deletions
|
|
@ -1,11 +1,3 @@
|
|||
pub const WGPUProgrammableStageDescriptor = extern struct {
|
||||
next_in_chain: *const ChainedStruct,
|
||||
module: ShaderModule,
|
||||
entry_point: [*:0]const u8,
|
||||
constant_count: u32,
|
||||
constants: [*]const ConstantEntry,
|
||||
};
|
||||
|
||||
pub const WGPURenderPassColorAttachment = extern struct {
|
||||
view: TextureView = TextureView.none, // nullable
|
||||
resolve_target: TextureView = TextureView.none, // nullable
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue