add higher-level app library

Fixes hexops/mach#190

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-04-04 22:47:31 -07:00 committed by Stephen Gutekanst
parent 38095942d9
commit 49f80de6ab
7 changed files with 586 additions and 10 deletions

3
examples/frag.wgsl Normal file
View file

@ -0,0 +1,3 @@
@stage(fragment) fn main() -> @location(0) vec4<f32> {
return vec4<f32>(1.0, 0.0, 0.0, 1.0);
}