gpu: add ComputePassDescriptor
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
04fd1c14d3
commit
7a8f1b0cf9
2 changed files with 7 additions and 7 deletions
|
|
@ -1,10 +1,3 @@
|
|||
pub const WGPUComputePassDescriptor = extern struct {
|
||||
next_in_chain: *const ChainedStruct,
|
||||
label: ?[*:0]const u8 = null,
|
||||
timestamp_write_count: u32,
|
||||
timestamp_writes: [*]const ComputePassTimestampWrite,
|
||||
};
|
||||
|
||||
pub const DepthStencilState = extern struct {
|
||||
next_in_chain: *const ChainedStruct,
|
||||
format: TextureFormat,
|
||||
|
|
|
|||
|
|
@ -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"));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue