gpu: add RequiredLimits

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

View file

@ -1,8 +1,3 @@
pub const RequiredLimits = extern struct {
next_in_chain: *const ChainedStruct,
limits: Limits,
};
pub const SupportedLimits = extern struct {
next_in_chain: *CHainedStructOut,
limits: Limits,

View file

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