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
|
|
@ -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 {
|
pub const StorageTextureBindingLayout = extern struct {
|
||||||
next_in_chain: *const ChainedStruct,
|
next_in_chain: *const ChainedStruct,
|
||||||
access: StorageTextureAccess,
|
access: StorageTextureAccess,
|
||||||
|
|
|
||||||
|
|
@ -487,6 +487,13 @@ pub const RenderPassDescriptorMaxDrawCount = extern struct {
|
||||||
max_draw_count: u64,
|
max_draw_count: u64,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
pub const StencilFaceState = extern struct {
|
||||||
|
compare: CompareFunction,
|
||||||
|
fail_op: StencilOperation,
|
||||||
|
depth_fail_op: StencilOperation,
|
||||||
|
pass_op: StencilOperation,
|
||||||
|
};
|
||||||
|
|
||||||
test "BackendType name" {
|
test "BackendType name" {
|
||||||
try testing.expectEqualStrings("Vulkan", BackendType.vulkan.name());
|
try testing.expectEqualStrings("Vulkan", BackendType.vulkan.name());
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue