gpu: add StencilFaceState

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-07-16 20:08:25 -07:00 committed by Stephen Gutekanst
parent cd14f1a195
commit 19ced8efc6
2 changed files with 7 additions and 7 deletions

View file

@ -1,10 +1,3 @@
pub const StencilFaceState = extern struct {
compare: CompareFunction,
fail_op: StencilOperation,
depth_fail_op: StencilOperation,
pass_op: StencilOperation,
};
pub const StorageTextureBindingLayout = extern struct {
next_in_chain: *const ChainedStruct,
access: StorageTextureAccess,

View file

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