pub const MAX_GRID: u32 = 1024;
The largest grid the loader accepts: a million cells, two 8-byte texels each across the ping-pong pair, 16 MB.