gpu: add BlendComponent type

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-07-15 00:39:10 -07:00 committed by Stephen Gutekanst
parent a6eab5ef18
commit 2ec3496478
2 changed files with 6 additions and 6 deletions

View file

@ -374,6 +374,12 @@ pub const ChainedStructOut = extern struct {
s_type: SType,
};
pub const BlendComponent = extern struct {
operation: BlendOperation = .add,
src_factor: BlendFactor = .one,
dst_factor: BlendFactor = .zero,
};
test "BackendType name" {
try testing.expectEqualStrings("Vulkan", BackendType.vulkan.name());
}