gpu: add StencilFaceState
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
cd14f1a195
commit
19ced8efc6
2 changed files with 7 additions and 7 deletions
|
|
@ -487,6 +487,13 @@ pub const RenderPassDescriptorMaxDrawCount = extern struct {
|
|||
max_draw_count: u64,
|
||||
};
|
||||
|
||||
pub const StencilFaceState = extern struct {
|
||||
compare: CompareFunction,
|
||||
fail_op: StencilOperation,
|
||||
depth_fail_op: StencilOperation,
|
||||
pass_op: StencilOperation,
|
||||
};
|
||||
|
||||
test "BackendType name" {
|
||||
try testing.expectEqualStrings("Vulkan", BackendType.vulkan.name());
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue