gpu: add RenderPassDescriptorMaxDrawCount

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-07-16 20:00:29 -07:00 committed by Stephen Gutekanst
parent 1f9bb8078f
commit eead8fd29c
2 changed files with 5 additions and 5 deletions

View file

@ -1,8 +1,3 @@
pub const WGPURenderPassDescriptorMaxDrawCount = extern struct {
chain: ChainedStruct,
max_draw_count: u64,
};
pub const WGPURenderPassTimestampWrite = extern struct {
query_set: QuerySet,
query_index: u32,

View file

@ -63,6 +63,11 @@ pub const RenderPassDepthStencilAttachment = extern struct {
stencil_read_only: bool,
};
pub const RenderPassDescriptorMaxDrawCount = extern struct {
chain: ChainedStruct,
max_draw_count: u64,
};
test {
refAllDecls(@import("adapter.zig"));
refAllDecls(@import("bind_group.zig"));