gpu: add PrimitiveDepthClampingState

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

View file

@ -1,9 +1,3 @@
pub const PrimitiveDepthClampingState = extern struct {
chain: ChainedStruct,
clamp_depth: bool,
};
pub const PrimitiveDepthClipControl = extern struct {
chain: ChainedStruct,
unclipped_depth: bool,

View file

@ -464,6 +464,11 @@ pub const MultisampleState = struct {
alpha_to_coverage_enabled: bool,
};
pub const PrimitiveDepthClampingState = extern struct {
chain: ChainedStruct,
clamp_depth: bool,
};
test "BackendType name" {
try testing.expectEqualStrings("Vulkan", BackendType.vulkan.name());
}