gpu: add BlendState

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-07-16 20:40:41 -07:00 committed by Stephen Gutekanst
parent 4497f6dd69
commit cca71c4a2b
2 changed files with 5 additions and 5 deletions

View file

@ -1,8 +1,3 @@
pub const BlendState = extern struct {
color: BlendComponent,
alpha: BlendComponent,
};
pub const CompilationInfo = extern struct {
next_in_chain: *const ChainedStruct,
message_count: u32,

View file

@ -509,6 +509,11 @@ pub const VertexAttribute = extern struct {
shader_location: u32,
};
pub const BlendState = extern struct {
color: BlendComponent,
alpha: BlendComponent,
};
test "BackendType name" {
try testing.expectEqualStrings("Vulkan", BackendType.vulkan.name());
}