gpu: implement RenderPassColorAttachment

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-03-11 22:03:22 -07:00 committed by Stephen Gutekanst
parent 510c7de9f2
commit f5a5c7eaa7
3 changed files with 61 additions and 20 deletions

View file

@ -110,7 +110,7 @@ pub const RenderPassDepthStencilAttachment = struct {
pub const RenderPassColorAttachment = struct {
view: TextureView,
resolve_target: TextureView,
resolve_target: ?TextureView,
load_op: LoadOp,
store_op: StoreOp,
clear_value: Color,