gpu: add ProgrammableStageDescriptor

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-07-16 20:48:03 -07:00 committed by Stephen Gutekanst
parent 74b7e66793
commit 8683fa8aa9
2 changed files with 9 additions and 8 deletions

View file

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