gpu: add ComputePassDescriptor

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-07-16 20:43:58 -07:00 committed by Stephen Gutekanst
parent 04fd1c14d3
commit 7a8f1b0cf9
2 changed files with 7 additions and 7 deletions

View file

@ -78,6 +78,13 @@ pub const RequestAdapterOptions = extern struct {
force_fallback_adapter: bool,
};
pub const ComputePassDescriptor = extern struct {
next_in_chain: *const ChainedStruct,
label: ?[*:0]const u8 = null,
timestamp_write_count: u32,
timestamp_writes: [*]const ComputePassTimestampWrite,
};
test {
refAllDecls(@import("adapter.zig"));
refAllDecls(@import("bind_group.zig"));