gpu: add SupportedLimits

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-07-16 20:49:45 -07:00 committed by Stephen Gutekanst
parent cb68331f6c
commit 7f8dedcbd5
2 changed files with 5 additions and 5 deletions

View file

@ -1,8 +1,3 @@
pub const SupportedLimits = extern struct {
next_in_chain: *CHainedStructOut,
limits: Limits,
};
pub const WGPUTextureDescriptor = extern struct {
next_in_chain: *const ChainedStruct,
label: ?[*:0]const u8 = null,

View file

@ -572,6 +572,11 @@ pub const RequiredLimits = extern struct {
limits: Limits,
};
pub const SupportedLimits = extern struct {
next_in_chain: *ChainedStructOut,
limits: Limits,
};
test "BackendType name" {
try testing.expectEqualStrings("Vulkan", BackendType.vulkan.name());
}