Remove unsupported sampler1DShadow from shaders-msl/frag/texture-proj-shadow.frag. Improve error message response from unsupported depth texture formats. Fix several integer cast warnings in unrelated code. Run ./format_all.sh on unrelated files.