gpu: add RequiredLimits
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
ad6d037d8f
commit
cb68331f6c
2 changed files with 5 additions and 5 deletions
|
|
@ -1,8 +1,3 @@
|
||||||
pub const RequiredLimits = extern struct {
|
|
||||||
next_in_chain: *const ChainedStruct,
|
|
||||||
limits: Limits,
|
|
||||||
};
|
|
||||||
|
|
||||||
pub const SupportedLimits = extern struct {
|
pub const SupportedLimits = extern struct {
|
||||||
next_in_chain: *CHainedStructOut,
|
next_in_chain: *CHainedStructOut,
|
||||||
limits: Limits,
|
limits: Limits,
|
||||||
|
|
|
||||||
|
|
@ -567,6 +567,11 @@ pub const RenderPassColorAttachment = extern struct {
|
||||||
clear_value: Color,
|
clear_value: Color,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
pub const RequiredLimits = extern struct {
|
||||||
|
next_in_chain: *const ChainedStruct,
|
||||||
|
limits: Limits,
|
||||||
|
};
|
||||||
|
|
||||||
test "BackendType name" {
|
test "BackendType name" {
|
||||||
try testing.expectEqualStrings("Vulkan", BackendType.vulkan.name());
|
try testing.expectEqualStrings("Vulkan", BackendType.vulkan.name());
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue