gpu: add RenderPassColorAttachment

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-03-11 17:12:05 -07:00 committed by Stephen Gutekanst
parent b505c5aecf
commit 48a3103bb9
3 changed files with 10 additions and 9 deletions

View file

@ -102,6 +102,14 @@ pub const RenderPassDepthStencilAttachment = struct {
stencil_read_only: bool,
};
pub const RenderPassColorAttachment = struct {
view: TextureView,
resolve_target: TextureView,
load_op: LoadOp,
store_op: StoreOp,
clear_value: Color,
};
test "syntax" {
_ = CompilationMessage;
_ = CompilationInfo;
@ -114,4 +122,5 @@ test "syntax" {
_ = ComputePassTimestampWrite;
_ = RenderPassTimestampWrite;
_ = RenderPassDepthStencilAttachment;
_ = RenderPassColorAttachment;
}