gpu: add SupportedLimits
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
cb68331f6c
commit
7f8dedcbd5
2 changed files with 5 additions and 5 deletions
|
|
@ -1,8 +1,3 @@
|
||||||
pub const SupportedLimits = extern struct {
|
|
||||||
next_in_chain: *CHainedStructOut,
|
|
||||||
limits: Limits,
|
|
||||||
};
|
|
||||||
|
|
||||||
pub const WGPUTextureDescriptor = extern struct {
|
pub const WGPUTextureDescriptor = extern struct {
|
||||||
next_in_chain: *const ChainedStruct,
|
next_in_chain: *const ChainedStruct,
|
||||||
label: ?[*:0]const u8 = null,
|
label: ?[*:0]const u8 = null,
|
||||||
|
|
|
||||||
|
|
@ -572,6 +572,11 @@ pub const RequiredLimits = extern struct {
|
||||||
limits: Limits,
|
limits: Limits,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
pub const SupportedLimits = extern struct {
|
||||||
|
next_in_chain: *ChainedStructOut,
|
||||||
|
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