{gfx,examples}: improve sysgpu compatibility with higher-level examples

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2024-04-29 18:29:41 -07:00 committed by Stephen Gutekanst
parent 15fd2c3a64
commit cbf066ade5
3 changed files with 22 additions and 5 deletions

View file

@ -287,6 +287,7 @@ fn buildPipeline(
},
}),
);
defer bind_group.release();
const blend_state = opt_blend_state orelse gpu.BlendState{
.color = .{