pub const MAX_VERTEX_TEXTURE_WIDTH: usize = 1024;
This must be known at build-time as the shaders depend on it.