gpu: add PrimitiveDepthClipControl

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-07-16 19:47:40 -07:00 committed by Stephen Gutekanst
parent 76b9f26f39
commit 242b224f96
2 changed files with 5 additions and 5 deletions

View file

@ -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,

View file

@ -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());
}