gpu: add PrimitiveDepthClipControl
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
76b9f26f39
commit
242b224f96
2 changed files with 5 additions and 5 deletions
|
|
@ -1,8 +1,3 @@
|
|||
pub const PrimitiveDepthClipControl = extern struct {
|
||||
chain: ChainedStruct,
|
||||
unclipped_depth: bool,
|
||||
};
|
||||
|
||||
pub const PrimitiveState = extern struct {
|
||||
next_in_chain: *const ChainedStruct,
|
||||
topology: PrimitiveTopology,
|
||||
|
|
|
|||
|
|
@ -469,6 +469,11 @@ pub const PrimitiveDepthClampingState = extern struct {
|
|||
clamp_depth: bool,
|
||||
};
|
||||
|
||||
pub const PrimitiveDepthClipControl = extern struct {
|
||||
chain: ChainedStruct,
|
||||
unclipped_depth: bool,
|
||||
};
|
||||
|
||||
test "BackendType name" {
|
||||
try testing.expectEqualStrings("Vulkan", BackendType.vulkan.name());
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue