gpu: add RenderPassColorAttachment
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
8683fa8aa9
commit
ad6d037d8f
2 changed files with 9 additions and 9 deletions
|
|
@ -558,6 +558,15 @@ pub const ProgrammableStageDescriptor = extern struct {
|
|||
constants: [*]const ConstantEntry,
|
||||
};
|
||||
|
||||
pub const RenderPassColorAttachment = extern struct {
|
||||
view: TextureView = TextureView.none, // nullable
|
||||
resolve_target: TextureView = TextureView.none, // nullable
|
||||
load_op: LoadOp,
|
||||
store_op: StoreOp,
|
||||
clear_color: Color,
|
||||
clear_value: Color,
|
||||
};
|
||||
|
||||
test "BackendType name" {
|
||||
try testing.expectEqualStrings("Vulkan", BackendType.vulkan.name());
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue