gpu: translate ChainedStruct/ChainedStructOut
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
6d84e7d2a6
commit
14ff1f684b
2 changed files with 10 additions and 10 deletions
|
|
@ -364,6 +364,16 @@ pub const ShaderStage = packed struct {
|
|||
}
|
||||
};
|
||||
|
||||
pub const ChainedStruct = extern struct {
|
||||
next: *const ChainedStruct,
|
||||
s_type: SType,
|
||||
};
|
||||
|
||||
pub const ChainedStructOut = extern struct {
|
||||
next: *ChainedStructOut,
|
||||
s_type: SType,
|
||||
};
|
||||
|
||||
test "BackendType name" {
|
||||
try testing.expectEqualStrings("Vulkan", BackendType.vulkan.name());
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue