gpu: add PrimitiveDepthClampingState
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
26c75d5687
commit
76b9f26f39
2 changed files with 5 additions and 6 deletions
|
|
@ -1,9 +1,3 @@
|
|||
|
||||
pub const PrimitiveDepthClampingState = extern struct {
|
||||
chain: ChainedStruct,
|
||||
clamp_depth: bool,
|
||||
};
|
||||
|
||||
pub const PrimitiveDepthClipControl = extern struct {
|
||||
chain: ChainedStruct,
|
||||
unclipped_depth: bool,
|
||||
|
|
|
|||
|
|
@ -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());
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue