gpu: add RequestAdapterOptions

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-07-16 20:03:47 -07:00 committed by Stephen Gutekanst
parent a91186c2c9
commit b90658aba8
3 changed files with 13 additions and 12 deletions

View file

@ -482,6 +482,11 @@ pub const PrimitiveState = extern struct {
cull_mode: CullMode,
};
pub const RenderPassDescriptorMaxDrawCount = extern struct {
chain: ChainedStruct,
max_draw_count: u64,
};
test "BackendType name" {
try testing.expectEqualStrings("Vulkan", BackendType.vulkan.name());
}