examples: make map-async compatible with self-hosted compiler

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-08-20 13:17:52 -07:00
parent 1cc15e92a0
commit a4ddfb6bda

View file

@ -4,6 +4,9 @@ const gpu = @import("gpu");
pub const App = @This();
// TODO: without a field in this struct, stage3 seems to think `*App` is a `*const App`
unused: f32,
const workgroup_size = 64;
const buffer_size = 1000;